-
Notifications
You must be signed in to change notification settings - Fork 38.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
Bug fix: ./hack/local-up-cluster.sh is not work on Arm64 platform #72804
Conversation
Hi @lubinsz. 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. |
/release-note-none |
/assign dixudx |
/sig cluster-lifecycle |
hack/lib/util.sh
Outdated
@@ -720,8 +720,24 @@ function kube::util::ensure-cfssl { | |||
cfssldir="${KUBE_TEMP}/cfssl" | |||
fi | |||
|
|||
mkdir -p "${cfssldir}" | |||
pushd "${cfssldir}" > /dev/null | |||
case "$(uname -m)" in |
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.
We'd better not add another exact same logic method (the same with that in #72772) in hack scripts.
I've created a PR to add a consistent environment. Your PR can rely on this.
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.
Done.
/ok-to-test |
hack/lib/util.sh
Outdated
if [[ "${host_arch}" != "amd64" ]]; then | ||
echo "Cannot download cfssl on non-amd64 hosts and cfssl does not appear to be installed." | ||
echo "Please install cfssl and cfssljson and verify they are in \$PATH:" | ||
echo "export PATH=\$PATH:\$GOPATH/bin; go get -u github.com/cloudflare/cfssl/cmd/..." |
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.
nit: should match the lines below (742-743), but doesn't
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.
Done.
/approve /hold (hold is for @BenTheElder to look at latest changes) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, lubinsz 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 |
Signed-off-by: Bin Lu <bin.lu@arm.com>
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.
/lgtm
Thank you!
/hold cancel |
/priority important-longterm |
/retest |
@lubinsz: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Signed-off-by: Bin Lu bin.lu@arm.com
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
We need to fix it so that we can run e2e test on Arm64 platform.
Which issue(s) this PR fixes:
Special notes for your reviewer:
We can use it to run a local k8s cluster on Arm64 platform.
Does this PR introduce a user-facing change?:
NONE