-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
images/git: Build for arm64 #22450
images/git: Build for arm64 #22450
Conversation
Hi @LorbusChris. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
/ok-to-test
(but I can't speak for the correctness of the change itself)
If someone with knowledge of Google Cloud Build could take a look that'd be great :) |
/cc @BenTheElder |
looking at the file history, @fejta might be best suited for a review of these changes. |
/cc |
Testing without bazel or pushing to k8s-testimages
/hold
|
@spiffxp thank you for taking a look 🙏 |
Uses a custom arm64 rebuild of the git image TODO(lorbus): Use image build from kubernetes#22450 Requires: kubernetes#22450
Uses a custom arm64 rebuild of the git image TODO(lorbus): Use image build from kubernetes#22450 Requires: kubernetes#22450
I'm not sure cloudbuild can actually do what I'd like it to do here. In any case this would require #22444 to go in first as that's the base image for this one. |
Is |
@fejta I think it would be. Is there a builder base that has it? (It doesn't seem to be included in |
#22444 has merged, this should be ready to go now |
images/git/Dockerfile
Outdated
@@ -12,7 +12,7 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
FROM gcr.io/k8s-prow/alpine:v20200605-44f6c96 | |||
FROM gcr.io/k8s-prow/alpine:latest |
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.
Please use a tagged version. We automatically send PRs to upgrade to the latest tagged version when this changes. (this is specific behavior for gcr.io/k8s-prow images)
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.
That probably means I have to wait until alpine
is rebuilt with the changes from #22444, and the auto-PR changing the tag has merged?
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.
Hm looks like #22444 broke alpine postsubmit job :/
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.
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.
That issue seemed to be a transient one. Thanks for re-renunning it @fejta!
Thus, this PR here should be good to go now :)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fejta, LorbusChris 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 |
/hold |
This commit switches the builder base image used for building the git image to `gcr.io/k8s-testimages/gcb-docker-gcloud` in order to do multi-arch (amd64 and arm64) builds via `docker buildx build`, yielding a multi-arch manifest.
phew close call 😄 /hold cancel |
/lgtm
… |
This commit adds a Google Cloud Build definition for building git
arm64 images and pushing them as a manifest list together with their
amd64 counterparts.
This is a prereq for #16588 and #22362
Blocked on: #22599 #22444/cc @stevekuznetsov