Disable lints and tests for pipelines
This commit is contained in:
parent
56d240706d
commit
ea38c0de82
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user