-
Notifications
You must be signed in to change notification settings - Fork 123
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
add flag to disable networking in build environment #145
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jason Hall <[email protected]>
Worth noting that this will still Should |
I would rather have the melange.yaml file declare the desired capabilities, rather than have a CLI option for this. We can sync on it if you want. |
I like that idea too, especially as we have more capabilities than just networking. But even if we had those we should have some way to invoke In the meantime, solving this isn't a huge blocker -- there's plenty to do to improve the build system, and even without disabling networking explicitly, I think we can attest we're building hermetically if we pre-cache. We can also disable networking at the Pod/K8s layer, instead of asking |
What about something like: pipelines/fetch.yaml: wants:
packages:
- wget
capabilities:
- net
... package.yaml: package: ...
wants:
capabilities:
- net
pipeline:
- wants:
capabilities:
- something-else
runs: ... And then having a |
That sounds good. The current direction we're going (not too late to change though) would be that If that's messy we can investigate some kind of |
Of note, by reusing the |
Intended to be used alongside #143 where dependencies are pre-fetched.
Signed-off-by: Jason Hall [email protected]