Support fixed mirror being variable

This commit is contained in:
2023-10-13 09:19:21 +13:00
parent feee0f24c3
commit 7c4d2d446c
3 changed files with 7 additions and 4 deletions

View File

@@ -16,8 +16,8 @@ steps:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- molecule test -s ${MOLECULE_SCENARIO}
secrets: [ auth_duo_host, auth_duo_ikey, auth_duo_skey ]
- molecule test --scenario-name ${MOLECULE_SCENARIO}
secrets: [ auth_duo_host, auth_duo_ikey, auth_duo_skey, auth_duo_mirror_url ]
when:
event:
- push

View File

@@ -4,7 +4,7 @@ dependency:
driver:
name: docker
platforms:
- name: ${MOLECULE_DISTRO:-almalinux8}-role-auth-duo${MOLECULE_SCENARIO}
- name: ${MOLECULE_DISTRO:-almalinux8}-role-auth-duo-${MOLECULE_SCENARIO}
command: ${MOLECULE_DOCKER_COMMAND:-""}
image: "cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest"
tmpfs:

View File

@@ -4,9 +4,12 @@ dependency:
driver:
name: docker
platforms:
- name: ${MOLECULE_DISTRO:-almalinux8}-role-auth-duo
- name: ${MOLECULE_DISTRO:-almalinux8}-role-auth-duo-${MOLECULE_SCENARIO}
command: ${MOLECULE_DOCKER_COMMAND:-""}
image: "cybercinch/docker-${MOLECULE_DISTRO:-almalinux8}-ansible:latest"
tmpfs:
- /run
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
privileged: true