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

Use separate cache for apt #308

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

robin-reckmann
Copy link
Contributor

@robin-reckmann robin-reckmann commented Aug 13, 2024

Move apt stuff to separate docker cache. This cache is reusable even if the Docker cache of the step itself breaks.
Also reduces the size of the Docker image, as this cache folder is not included anymore.

@robin-reckmann
Copy link
Contributor Author

robin-reckmann commented Aug 13, 2024

apt install step does not have to download packages, but uses cache instead:

#10 73.20 0 upgraded, 457 newly installed, 1 to remove and 0 not upgraded.
#10 73.20 Need to get 0 B/166 MB of archives.
#10 73.20 After this operation, 727 MB of additional disk space will be used.

@robin-reckmann
Copy link
Contributor Author

robin-reckmann commented Aug 13, 2024

Runners lock each other. Probably not the way to go in CI.

@robin-reckmann
Copy link
Contributor Author

Go with this for local execution and use namespace cache volumes for CI instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant