Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust caching in workflows #704

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

dc-mak
Copy link
Contributor

@dc-mak dc-mak commented Nov 6, 2024

It looks like the cache is shared across workflows, https://github.com/rems-project/cerberus/actions/caches and is specific to a branch (but accessible for the branches descendants).

I think that means the cache invalidation logic should really only be in one place, and the rest of the workflow files should just fail if the cache is empty (those jobs can be re-run after the cache is re-populated).

@dc-mak dc-mak requested a review from kmemarian November 6, 2024 19:10
@dc-mak dc-mak added the CI Related to CI infrastructure label Nov 6, 2024
@dc-mak dc-mak force-pushed the adjust-ci-caching branch from 1d69c40 to 0d0b383 Compare November 6, 2024 19:12
@dc-mak dc-mak marked this pull request as ready for review November 6, 2024 19:51
@dc-mak dc-mak merged commit 144eca1 into rems-project:master Nov 13, 2024
4 checks passed
@dc-mak dc-mak deleted the adjust-ci-caching branch December 14, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Related to CI infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant