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

fix: ignore resource requests for the docker runner #1403

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

imjasonh
Copy link
Member

We use the resources: block to tell us what resources to give it when we run the build in a K8s pod (via wolfictl)

It's been causing problems for the docker runner though, since some builds may request more resources than the local machine has, which fails the build.

This change drops support for resource requests in the docker runner, and as far as Melange is concerned, the resources block is now just informational. It's up to wolfictl build to make actual use of it.

Signed-off-by: Jason Hall <jason@chainguard.dev>
luhring
luhring previously approved these changes Jul 24, 2024
Signed-off-by: Jason Hall <jason@chainguard.dev>
@luhring luhring enabled auto-merge July 24, 2024 14:07
@luhring luhring merged commit 6eb987b into chainguard-dev:main Jul 24, 2024
26 checks passed
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.

2 participants