-
Notifications
You must be signed in to change notification settings - Fork 12
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
om health
: check access to private caches
#315
Comments
How do we do the verification? |
nix-health
: check access to private cachesom health
: check access to private caches
This is actually simple to do by checking the exit-code of running |
Note: Implementing the above would also mean we would be running more |
That makes sense. Currently, we only test trusted-substituters, and not if the cache is actually accessible (requires netrc for private cache). So the solution is to check for both trusted-substituters and whether the cache can be accessed. |
As of now we verify the presence of the cache in nix config’s substituters. But the presence alone is not enough to verify this for private caches.
The text was updated successfully, but these errors were encountered: