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

Explicitly create and remove buildx builders for VPA components #5867

Merged

Conversation

voelzmo
Copy link
Contributor

@voelzmo voelzmo commented Jun 16, 2023

What type of PR is this?

/kind bug

What this PR does / why we need it:

Explicitly create a builder to be used with docker 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's output 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 explicit output 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?

NONE

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 16, 2023
@voelzmo voelzmo mentioned this pull request Jun 16, 2023
Copy link
Collaborator

@jbartosik jbartosik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Release has been delayed already. I'd consider rolling back #5746 and merging the fix after we've released 0.14 (to finish the release quicker)

@kgolab @voelzmo WDYT?

@kgolab
Copy link
Collaborator

kgolab commented Jun 16, 2023

Release has been delayed already. I'd consider rolling back #5746 and merging the fix after we've released 0.14 (to finish the release quicker)

@kgolab @voelzmo WDYT?

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.

@voelzmo voelzmo force-pushed the fix/create-and-remove-buildx-builders branch from 569daf1 to e84f770 Compare June 20, 2023 08:18
@kgolab
Copy link
Collaborator

kgolab commented Jun 20, 2023

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 20, 2023
@kgolab
Copy link
Collaborator

kgolab commented Jun 20, 2023

/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 20, 2023
@k8s-ci-robot k8s-ci-robot merged commit 7bc37f7 into kubernetes:master Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/vertical-pod-autoscaler cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants