Update CI
Some checks failed
ci/woodpecker/push/z.cron-ntfy Pipeline was successful
ci/woodpecker/push/z.failed-cron-ntfy Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status

This commit is contained in:
2023-10-16 21:42:53 +13:00
parent 83e5a49a28
commit 70c581f82e
5 changed files with 85 additions and 13 deletions

View File

@@ -1,7 +1,16 @@
matrix:
MOLECULE_DISTRO:
- centos7
- almalinux8
include:
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: almalinux8
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
submodule_update_remote: true
when:
event: [ push, manual ]
steps:
test:
@@ -9,15 +18,16 @@ steps:
image: guisea/ansible-molecule
pull: true
environment:
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/run/docker.sock:/var/run/docker.sock
commands:
- molecule test --all
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
secrets: []
when:
event: push
event:
- push
- manual
depends_on:
- lint