-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Explicitly create and remove buildx builders for VPA components #5867
Explicitly create and remove buildx builders for VPA components #5867
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather merge this PR - we'll be able to verify the release process in a new (mine) environment then. If we hit trouble again, let's revert - but I can see a lot of value in independent verification by full release process in a previously-unused env. |
569daf1
to
e84f770
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kgolab, voelzmo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Explicitly create a
builder
to be used withdocker buildx
and configure it for use during the build. Previously, the build would take whichever builder was currently configured on the machine, which could lead to inconsistencies with the builder'soutput
behavior. See the discussion in the v0.14.0 release issue for more context.The builder created here is of type
docker-container
and needs and explicitoutput
configured – the flag--load
is a shorthand for--output=type=docker
.Special notes for your reviewer:
Additional make target were created, such that we can re-use the builder across the different platforms. Creating and tearing down a builder takes time, which we want to avoid doing too often.
Does this PR introduce a user-facing change?