feat(tests): add requirement files to tests and prepare stages
This commit is contained in:
parent
9f42a1df42
commit
248c9726a3
17
molecule/default/prepare.yml
Normal file
17
molecule/default/prepare.yml
Normal 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
|
6
molecule/default/requirements.yml
Normal file
6
molecule/default/requirements.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
# requirements file for molecule
|
||||||
|
roles:
|
||||||
|
- name: ednxzu.manage_repositories
|
||||||
|
- name: ednxzu.manage_apt_packages
|
||||||
|
- name: mhutter.docker-systemd-service
|
@ -19,14 +19,7 @@ deploy_gitea_runner_config:
|
|||||||
insecure: false
|
insecure: false
|
||||||
fetch_timeout: 5s
|
fetch_timeout: 5s
|
||||||
fetch_interval: 15s
|
fetch_interval: 15s
|
||||||
labels:
|
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
|
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
dir: "/cache" # this HAS TO BE /cache if deploy_gitea_runner_deploy_method is docker
|
dir: "/cache" # this HAS TO BE /cache if deploy_gitea_runner_deploy_method is docker
|
||||||
|
6
molecule/with_docker_host/requirements.yml
Normal file
6
molecule/with_docker_host/requirements.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
# requirements file for molecule
|
||||||
|
roles:
|
||||||
|
- name: ednxzu.manage_repositories
|
||||||
|
- name: ednxzu.manage_apt_packages
|
||||||
|
- name: mhutter.docker-systemd-service
|
Loading…
Reference in New Issue
Block a user