2024-01-30 13:50:27 +13:00
|
|
|
labels:
|
2024-01-30 13:52:03 +13:00
|
|
|
location: local
|
2023-10-13 10:41:29 +13:00
|
|
|
matrix:
|
|
|
|
|
include:
|
|
|
|
|
- MOLECULE_DISTRO: centos7
|
|
|
|
|
- MOLECULE_DISTRO: almalinux8
|
|
|
|
|
- MOLECULE_DISTRO: centos7
|
|
|
|
|
MOLECULE_SCENARIO: fixed-mirror
|
|
|
|
|
- MOLECULE_DISTRO: almalinux8
|
|
|
|
|
MOLECULE_SCENARIO: fixed-mirror
|
2023-10-13 11:55:26 +13:00
|
|
|
|
|
|
|
|
clone:
|
|
|
|
|
git:
|
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
|
settings:
|
|
|
|
|
recursive: true
|
|
|
|
|
submodule_update_remote: true
|
|
|
|
|
when:
|
|
|
|
|
event: [ cron ]
|
|
|
|
|
|
2023-10-13 10:41:29 +13:00
|
|
|
steps:
|
|
|
|
|
test:
|
|
|
|
|
name: Test on ${MOLECULE_DISTRO}
|
|
|
|
|
image: guisea/ansible-molecule
|
|
|
|
|
pull: true
|
|
|
|
|
environment:
|
|
|
|
|
PY_COLORS: '1'
|
|
|
|
|
ANSIBLE_FORCE_COLOR: '1'
|
|
|
|
|
volumes:
|
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
commands:
|
|
|
|
|
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
|
|
|
|
|
secrets: [ auth_duo_host,
|
|
|
|
|
auth_duo_ikey,
|
|
|
|
|
auth_duo_skey,
|
|
|
|
|
auth_duo_mirror_url ]
|
|
|
|
|
when:
|
2023-10-13 10:54:05 +13:00
|
|
|
event: [ cron ]
|