Run test plays on scheduled jobs
It makes sense to skip the test on a pipeline since it just signifies an application update or a re-run and probably wants to complete quickly. It does not make sense to get rid of our safeguards on a job that runs at 1AM every night.
This commit is contained in:
parent
51b9ee745f
commit
0c1fab838f
@ -55,7 +55,6 @@ Test:
|
|||||||
interruptible: yes
|
interruptible: yes
|
||||||
except:
|
except:
|
||||||
- pipelines
|
- pipelines
|
||||||
- schedules
|
|
||||||
script:
|
script:
|
||||||
- ansible-playbook --skip-tags no-test -C site.yml --vault-password-file /vaultpw || error="$?"
|
- 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
|
- if [ "$error" -eq 4 ]; then echo "Some hosts were unreachable; masking error"; unset error; fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user