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

GC pinning #17

Open
srid opened this issue May 1, 2023 · 1 comment
Open

GC pinning #17

srid opened this issue May 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@srid
Copy link
Collaborator

srid commented May 1, 2023

Enable garbage collection, but first allow pinning certain builds (like master branch of repos).

Pretty much this idea but for Jenkins: hercules-ci/hercules-ci-agent#482

The nixCI feature can support this, for instance:

nixCI pinGcRoot: true

(Uses ${jobName}-${branchName} as name; overwriting previous pinned roots if any)


We are not far from exhausting free disk space on the CI machine,

[admin@jenkins-nix-ci:~]$ df -h /
Filesystem                                              Size  Used Avail Use% Mounted on
/dev/disk/by-uuid/63a89c69-bd66-45ff-9b97-5bb406424fa5  1.9T  1.2T  618G  66% /
@srid srid added the enhancement New feature or request label May 1, 2023
@srid srid mentioned this issue May 1, 2023
@srid
Copy link
Collaborator Author

srid commented May 24, 2023

Also consider this from the context of cachix (or any nix cache): https://docs.cachix.org/pins

@srid srid mentioned this issue May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant