From f0f0873d6e57573ea8a8b0a48bb5937c4f0b73dd Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Mon, 16 May 2022 15:56:02 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 735b580f1..7cc1823de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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