teste die pipeline #1
@@ -1,33 +1,12 @@
|
|||||||
---
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
|
||||||
- lint
|
- lint
|
||||||
- test
|
|
||||||
- deploy
|
|
||||||
|
|
||||||
before_script:
|
yamllint:
|
||||||
- ansible --version
|
stage: lint
|
||||||
- ansible-lint --version
|
image: python:3.12-alpine
|
||||||
- yamllint --version
|
before_script:
|
||||||
- molecule --version
|
- pip install --no-cache-dir yamllint
|
||||||
|
|
||||||
lint:
|
|
||||||
script:
|
script:
|
||||||
echo "test test test"
|
- yamllint .
|
||||||
|
|
||||||
# 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