feat: initial commit
This commit is contained in:
commit
718146cd88
15 changed files with 293 additions and 0 deletions
26
.gitlab-ci.yml
Normal file
26
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
|
||||
stages:
|
||||
- lint
|
||||
- test
|
||||
|
||||
variables:
|
||||
ANSIBLE_FORCE_COLOR: "true"
|
||||
|
||||
ansible-lint:
|
||||
stage: lint
|
||||
image: "registry.gitlab.com/siempie/ansible-runner:latest"
|
||||
script:
|
||||
- "ansible-lint"
|
||||
rules:
|
||||
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
||||
- if: "$CI_COMMIT_BRANCH == 'main'"
|
||||
|
||||
molecule:
|
||||
stage: test
|
||||
image: "registry.gitlab.com/siempie/ansible-runner:latest"
|
||||
script:
|
||||
- "molecule test"
|
||||
rules:
|
||||
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
||||
- if: "$CI_COMMIT_BRANCH == 'main'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue