You've already forked ansible-role-auth-duo
Support Cron
This commit is contained in:
27
.woodpecker/cron.yml
Normal file
27
.woodpecker/cron.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
matrix:
|
||||
include:
|
||||
- MOLECULE_DISTRO: centos7
|
||||
- MOLECULE_DISTRO: almalinux8
|
||||
- MOLECULE_DISTRO: centos7
|
||||
MOLECULE_SCENARIO: fixed-mirror
|
||||
- MOLECULE_DISTRO: almalinux8
|
||||
MOLECULE_SCENARIO: fixed-mirror
|
||||
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:
|
||||
event:
|
||||
- cron
|
||||
@@ -1,13 +1,7 @@
|
||||
matrix:
|
||||
include:
|
||||
- MOLECULE_DISTRO: centos7
|
||||
MOLECULE_SCENARIO: default
|
||||
- MOLECULE_DISTRO: centos7
|
||||
MOLECULE_SCENARIO: fixed-mirror
|
||||
- MOLECULE_DISTRO: almalinux8
|
||||
MOLECULE_SCENARIO: default
|
||||
- MOLECULE_DISTRO: almalinux8
|
||||
MOLECULE_SCENARIO: fixed-mirror
|
||||
steps:
|
||||
test:
|
||||
name: Test on ${MOLECULE_DISTRO}
|
||||
|
||||
Reference in New Issue
Block a user