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:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: instance
|
- name: molecule-${MOLECULE_DISTRO:-centos7}
|
||||||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
image: "cybercinch/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
||||||
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
||||||
volumes:
|
volumes:
|
||||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user