diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 066904d7dd073fc48485db1316d54d449652a65f..cddcc6a080aa2488070d1766fabc9304d9d74925 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,7 @@ variables: ##### PLAYBOOK_NAME_FOR_ROLE_TEST: "playbook_example_01_test.yml" PLAYBOOK_NAME_FOR_ROLE_DEPENDENCIES: "playbook_example_02_dependencies.yml" - PLAYBOOK_NAME_FOR_ROLE_CLONE_REPOSITORIES: "playbook_example_03_clone_repositories.yml" + # PLAYBOOK_NAME_FOR_ROLE_CLONE_REPOSITORIES: "playbook_example_03_clone_repositories.yml" stages: - debug @@ -46,7 +46,7 @@ build: ### ### TESTS ### -ansible-lint-test: +role-test: stage: lint-tests before_script: - apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* @@ -56,7 +56,7 @@ ansible-lint-test: - ansible-lint $PLAYBOOK_NAME_FOR_ROLE_TEST allow_failure: false -ansible-lint-dependencies: +role-dependencies: stage: lint-tests before_script: - apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* @@ -66,12 +66,12 @@ ansible-lint-dependencies: - ansible-lint $PLAYBOOK_NAME_FOR_ROLE_DEPENDENCIES allow_failure: false -ansible-lint-clone-repositories: - stage: lint-tests - before_script: - - apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* - - pip3 install -r requirements.txt - script: - - echo "Running ansible-lint tests at the role-> 'clone_repositories'" - - ansible-lint $PLAYBOOK_NAME_FOR_ROLE_CLONE_REPOSITORIES - allow_failure: false +# role-clone-repositories: +# stage: lint-tests +# before_script: +# - apt-get update && apt-get install -y python3-pip && apt-get clean && rm -rf /var/lib/apt/lists/* +# - pip3 install -r requirements.txt +# script: +# - echo "Running ansible-lint tests at the role-> 'clone_repositories'" +# - ansible-lint $PLAYBOOK_NAME_FOR_ROLE_CLONE_REPOSITORIES +# allow_failure: false