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:
Salt 2021-08-05 01:10:37 -05:00
parent 51b9ee745f
commit 0c1fab838f

View File

@ -55,7 +55,6 @@ Test:
interruptible: yes
except:
- pipelines
- schedules
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