feat(tests): add requirement files to tests and prepare stages

This commit is contained in:
Bertrand Lanson 2023-12-09 11:32:43 +01:00
parent 9f42a1df42
commit 248c9726a3
4 changed files with 30 additions and 8 deletions

View File

@ -0,0 +1,17 @@
---
- name: Prepare
hosts: all
tasks:
- name: "Include ednxzu.install_docker"
ansible.builtin.include_role:
name: ednxzu.install_docker
vars:
install_docker_edition: ce
install_docker_start_service: true
install_docker_compose: false
install_docker_compose_version: latest
install_docker_python_packages: true
install_docker_python_packages_version: latest
install_docker_users: []
install_docker_daemon_options:
live-restore: true

View File

@ -0,0 +1,6 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_repositories
- name: ednxzu.manage_apt_packages
- name: mhutter.docker-systemd-service

View File

@ -19,14 +19,7 @@ deploy_gitea_runner_config:
insecure: false
fetch_timeout: 5s
fetch_interval: 15s
labels:
- alpine-latest:docker://node:16-alpine
- alpine-3.18:docker://node:16-alpine3.18
- alpine-3.17:docker://node:16-alpine3.17
- alpine-3.16:docker://node:16-alpine3.16
- ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest
- ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04
- ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04
labels: []
cache:
enabled: true
dir: "/cache" # this HAS TO BE /cache if deploy_gitea_runner_deploy_method is docker

View File

@ -0,0 +1,6 @@
---
# requirements file for molecule
roles:
- name: ednxzu.manage_repositories
- name: ednxzu.manage_apt_packages
- name: mhutter.docker-systemd-service