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