teste die pipeline
This commit is contained in:
33
.gitlab-ci.yml
Normal file
33
.gitlab-ci.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- lint
|
||||||
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- ansible --version
|
||||||
|
- ansible-lint --version
|
||||||
|
- yamllint --version
|
||||||
|
- molecule --version
|
||||||
|
|
||||||
|
lint:
|
||||||
|
script:
|
||||||
|
echo "test test test"
|
||||||
|
|
||||||
|
# lint:
|
||||||
|
|
||||||
|
# stage: lint
|
||||||
|
# image: quay.io/ansible/ansible-runner:latest
|
||||||
|
|
||||||
|
# before_script:
|
||||||
|
# - pip install ansible ansible-lint
|
||||||
|
|
||||||
|
# script:
|
||||||
|
# - ansible-lint playbooks/
|
||||||
|
# rules:
|
||||||
|
# - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
# - changes:
|
||||||
|
# - "**/*.yml"
|
||||||
|
# - "**/*.yaml"
|
||||||
|
# - "roles/**/*"
|
||||||
Reference in New Issue
Block a user