Skip to content

Optionally share CI cache with forks

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

CI cache has to be made from scratch in forked projects, even though there's potentially perfectly good cache in the upstream project that, at least in some cases, is safe to share (potentially as pull-only). This is particularly troublesome when the fork hasn't set an increased CI timeout, so can't actually build in time without the cache, and never populates it.

Specifically for OpenMW (https://gitlab.com/OpenMW/openmw) MR jobs keep failing when they run in forked projects.

Intended users

Software developers, especially open-source ones.

User experience goal

The user should be able to check a box in the project settings so forks of their project can use the project's CI cache.

Proposal

Add the checkbox, and change whatever other things need changing to make the cache shared.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by 🤖 GitLab Bot 🤖