diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 11506e8..fd953cc 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -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 diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index c4a1e2e..b9a1711 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -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: diff --git a/molecule/fixed-mirror/molecule.yml b/molecule/fixed-mirror/molecule.yml index 161d0ea..650ae91 100644 --- a/molecule/fixed-mirror/molecule.yml +++ b/molecule/fixed-mirror/molecule.yml @@ -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