From d963965b015215b1dddac7672b9d5f13a5b21a49 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Tue, 26 Oct 2021 20:34:21 +1100 Subject: [PATCH] always upload artifacts even if failing so we can analyse logs for failure --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5b123b04..bf69c56c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -104,6 +104,7 @@ build_infra: - python3 ../../scripts/make_inventory.py $CI_PROJECT_NAME-ci-$CI_COMMIT_REF_NAME > ../inventory.yml - cd .. artifacts: + when: always paths: - CICD/inventory.yml - CICD/tmp_key @@ -116,6 +117,7 @@ configure_cluster: tags: - ansible artifacts: + when: always paths: - CICD/inventory.yml - CICD/tmp_key -- GitLab