You've already forked ansible-role-common
Update CI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user