You've already forked ansible-role-common
@@ -1,18 +0,0 @@
|
|||||||
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
|
|
||||||
17
.woodpecker/.1.test.yml
Normal file
17
.woodpecker/.1.test.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
steps:
|
||||||
|
ansible-lint:
|
||||||
|
group: test
|
||||||
|
name: "Lint: Ansible-lint"
|
||||||
|
image: guisea/ansible-molecule
|
||||||
|
commands:
|
||||||
|
- ansible-lint
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
yamllint:
|
||||||
|
group: test
|
||||||
|
name: "Lint: Yamllint"
|
||||||
|
image: guisea/ansible-molecule
|
||||||
|
commands:
|
||||||
|
- yamllint
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
19
.woodpecker/.2.build.yml
Normal file
19
.woodpecker/.2.build.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
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
|
||||||
|
depends_on: ['ansible-lint','yamllint']
|
||||||
Reference in New Issue
Block a user