ci: run all scripts in after_script regarless of failure

We want to run all of the scripts in after_script even if some of them
fail. In aws we have rhui repos in the images and we don't use them on
GA RHEL so ci_details.sh fails there and cloud_cleaner does not run.
This commit is contained in:
Jakub Rusz 2022-05-16 15:56:02 +02:00 committed by Tomáš Hozza
parent 5983c295b3
commit f0f0873d6e

View file

@ -11,10 +11,10 @@ stages:
- schutzbot/ci_details.sh > ci-details-before-run
- cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null
after_script:
- schutzbot/ci_details.sh > ci-details-after-run
- schutzbot/update_github_status.sh update
- schutzbot/save_journal.sh
- schutzbot/run_cloud_cleaner.sh
- schutzbot/ci_details.sh > ci-details-after-run || true
- schutzbot/update_github_status.sh update || true
- schutzbot/save_journal.sh || true
- schutzbot/run_cloud_cleaner.sh || true
interruptible: true
tags:
- terraform