From 1112c9a340057a78251f36634ce4805fbf944fb5 Mon Sep 17 00:00:00 2001 From: smartika Date: Tue, 16 Dec 2025 08:01:04 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb014e9..e0c9d59 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,33 +1,12 @@ ---- stages: - - build - lint - - test - - deploy -before_script: - - ansible --version - - ansible-lint --version - - yamllint --version - - molecule --version - -lint: +yamllint: + stage: lint + image: python:3.12-alpine + before_script: + - pip install --no-cache-dir yamllint 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/**/*"