You've already forked ansible-role-common
Update CI
This commit is contained in:
18
.woodpecker.yml
Normal file
18
.woodpecker.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
matrix:
|
||||
MOLECULE_DISTRO:
|
||||
- centos7
|
||||
- almalinux8
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: guisea/ansible-molecule
|
||||
pull: true
|
||||
environment:
|
||||
ANSIBLE_CALLBACK_WHITELIST: profile_tasks
|
||||
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
- molecule test --all
|
||||
when:
|
||||
event: push
|
||||
@@ -4,8 +4,8 @@ dependency:
|
||||
driver:
|
||||
name: docker
|
||||
platforms:
|
||||
- name: instance
|
||||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
||||
- name: molecule-${MOLECULE_DISTRO:-centos7}
|
||||
image: "cybercinch/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
||||
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
|
||||
Reference in New Issue
Block a user