Allow runner to archive cache on failure
What does this MR do?
Allows the runner to archive a cache on failure when specified.
GitLab codebase MR: gitlab!41822 (merged)
Issue: gitlab#18969 (closed)
Why was this MR needed?
What's the best way to test this MR?
cd ~/gitlab/gdk_ci/
git checkout 18969-allow-optional-caching-in-failed-builds
Add the following config or any variations:
Runner the development runners, with minio configured:
DEBUG=true go run main.go run -c ~/gitlab/gdk_ci/gitlab-runner-config.toml
Observe the results:
description | screenshot |
---|---|
successful job | |
failing job | |
mino cache |
Repeat for variations of cache:when
.
What are the relevant issue numbers?
Edited by Allison Browne