You've already forked ansible-role-common
CHORE: Linting CI Pipeline
This commit is contained in:
@@ -3,7 +3,7 @@ steps:
|
||||
group: test
|
||||
name: "Lint: Ansible-lint"
|
||||
image: guisea/ansible-molecule
|
||||
commands:
|
||||
commands:
|
||||
- ansible-lint -c ".ansible-lint"
|
||||
when:
|
||||
event: push
|
||||
@@ -11,7 +11,7 @@ steps:
|
||||
group: test
|
||||
name: "Lint: Yamllint"
|
||||
image: guisea/ansible-molecule
|
||||
commands:
|
||||
commands:
|
||||
- yamllint .
|
||||
when:
|
||||
event: push
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
matrix:
|
||||
MOLECULE_DISTRO:
|
||||
MOLECULE_DISTRO:
|
||||
- centos7
|
||||
- almalinux8
|
||||
|
||||
|
||||
steps:
|
||||
test:
|
||||
name: Test on ${MOLECULE_DISTRO}
|
||||
@@ -13,9 +13,9 @@ steps:
|
||||
EPEL_MIRROR_URL: https://mirrors.guise.net.nz/epel
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
commands:
|
||||
- molecule test --all
|
||||
when:
|
||||
event: push
|
||||
depends_on:
|
||||
depends_on:
|
||||
- lint
|
||||
|
||||
Reference in New Issue
Block a user