From c8da42d7bd3dfcdd89d639db83adbb1ae656b437 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 1 Apr 2025 14:09:07 +0100 Subject: [PATCH] CI: always save the lockfile.yml in update-repos The update-repos job can "fail with warnings" if the reference repository fetch fails. This is intentionally a warning as the CI may have set KAS_PREMIRRORS and a stale cache is fine. However, by default artifacts are only saved on successful jobs, so if this happens the lockfile.yml isn't saved. Ensure the artifacts are always saved so the rest of the pipeline is successful. Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb485321..a6e603d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -114,6 +114,7 @@ update-repos: exit $exit_code artifacts: name: "lockfile" + when: always paths: - lockfile.yml