34 lines
539 B
YAML
34 lines
539 B
YAML
---
|
|
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/**/*"
|