From ea38c0de82fd586f30fbbc27a3804ba906c4d864 Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 1 Aug 2021 14:55:25 -0500 Subject: [PATCH] Disable lints and tests for pipelines --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4ab9386..1e696b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,16 +40,20 @@ after_script: zerotier-cli leave "$ZEROTIER_NETWORK_ID" Lint: + stage: lint allow_failure: yes interruptible: yes - stage: lint + except: + - pipelines script: - ansible-lint --version - ansible-lint site.yml Test: - interruptible: yes stage: test + interruptible: yes + except: + - pipelines script: - ansible-playbook --skip-tags no-test -C site.yml --vault-password-file /vaultpw || error="$?" - if [ "$error" -eq 4 ]; then echo "Some hosts were unreachable; masking error"; unset error; fi