Update .gitlab-ci.yml

This commit is contained in:
2025-12-16 08:01:04 +00:00
parent af3da06f8d
commit 1112c9a340

View File

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