Skip to content

Reduce artifacts lifetime

Stefan C requested to merge reduce_artifacts_lifetime into master

Background

We are using 28GB of GitLab Storage for build Artifacts (with gitlab ultimate we have 250GB in total). Currently, it is not necessarry to reduce the consumption, but on the other hand, i think we don't need the artifacts that long.

Artifacts are output from Jobs. E.g. the Build Results are transferred to the next stage as artifacts or theTest Results are stored to have a look at them.

What does this MR do?

This MR will reduce the lifetime of GitLab artifacts:

  • 1 day for build artifacts
  • 2 weeks for reports

I will open two threads to discuss the lifetime

How confident are you it won't break things if deployed?

Sure, if a tast doesn't fail, and we don't wait for more than 1 day to restart it.. ;)

Links to related issues

None

Checklist

  • CI Related
  • no unrelated changes
  • asked someone for a code review
  • set a "for:" label to indicate who will be affected by this change
  • added to the next milestone (see https://gitlab.com/foodsharing-dev/foodsharing/-/milestones, unless it has a "for:Dev" label)
  • added an entry to CHANGELOG.md
  • [Not needed] added a short text that can be used in the release notes
Edited by Stefan C

Merge request reports