Files
ansible-role-auth-duo/.woodpecker/test.yml

27 lines
654 B
YAML
Raw Normal View History

2023-10-10 23:25:49 +13:00
matrix:
2023-10-12 16:48:11 +13:00
include:
- MOLECULE_DISTRO: centos7
2023-10-12 16:49:48 +13:00
MOLECULE_SCENARIO: default
- MOLECULE_DISTRO: centos7
MOLECULE_SCENARIO: fixed-mirror
- MOLECULE_DISTRO: almalinux8
MOLECULE_SCENARIO: default
2023-10-12 16:48:11 +13:00
- MOLECULE_DISTRO: almalinux8
2023-10-12 16:49:48 +13:00
MOLECULE_SCENARIO: fixed-mirror
2023-10-10 23:25:49 +13:00
steps:
test:
name: Test on ${MOLECULE_DISTRO}
image: guisea/ansible-molecule
pull: true
volumes:
2023-10-12 16:34:26 +13:00
- /var/run/docker.sock:/var/run/docker.sock
2023-10-10 23:25:49 +13:00
commands:
2023-10-12 16:48:11 +13:00
- molecule test -s ${MOLECULE_SCENARIO}
2023-10-12 16:39:53 +13:00
secrets: [ auth_duo_host, auth_duo_ikey, auth_duo_skey ]
2023-10-10 23:25:49 +13:00
when:
2023-10-12 16:34:26 +13:00
event:
- push
- manual
2023-10-10 23:25:49 +13:00
depends_on:
- lint