Skip to content

Adding build support for archs other than amd64#4439

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Pensu:arch_neutral
Sep 6, 2019
Merged

Adding build support for archs other than amd64#4439
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Pensu:arch_neutral

Conversation

@Pensu
Copy link
Copy Markdown
Contributor

@Pensu Pensu commented Jul 19, 2019

This PR removed hardcoded amd64 and allows the golang images to be built for the architecture where the build is running.

@openshift-ci-robot openshift-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 19, 2019
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 19, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

Hi @Pensu. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@Pensu
Copy link
Copy Markdown
Contributor Author

Pensu commented Jul 23, 2019

Hi @smarterclayton @stevekuznetsov, can you please review this?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In line no. 44 also we need to remove reference for amd64 for dep command download

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do subshells work in a RUN? I think I might prefer to see a variable here like $VERSION for $ARCH

Copy link
Copy Markdown
Contributor Author

@Pensu Pensu Aug 14, 2019

Choose a reason for hiding this comment

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

@stevekuznetsov Yeah, subshells work in RUN. (Ref: https://github.com/docker-library/golang/blob/caca81426c40bd592bcfcde80485af80faedeb31/1.12/buster/Dockerfile#L17) However, I have updated the PR to store arch value in $ARCH variable and then use it for curl. Please let me know if that works. Will update other Dockerfiles as well. Thanks.

@stevekuznetsov
Copy link
Copy Markdown
Contributor

/ok-to-test

We should merge this when we've got someone around to revert it in case something is wrong, as it's a broad change that's hard to test.

@openshift-ci-robot openshift-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 3, 2019
@Pensu
Copy link
Copy Markdown
Contributor Author

Pensu commented Sep 4, 2019

Thanks @stevekuznetsov. Is there anyone whom we can talk to get this merged?

@stevekuznetsov
Copy link
Copy Markdown
Contributor

Right now my team is in a face-to-face all week so I don't have the bandwidth to monitor if things go wrong after the merge -- @smarterclayton could you? Otherwise we should do it next week when I can.

@smarterclayton
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 6, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Pensu, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 6, 2019
@openshift-merge-robot openshift-merge-robot merged commit 0cbcb2a into openshift:master Sep 6, 2019
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. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants