-
Notifications
You must be signed in to change notification settings - Fork 254
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
🌱 Fixing ensure-go script to allow go versions greater than MINIMUM_GO_VERSION #1405
Conversation
/metal3-bmo-e2e-test |
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
3c7133a
to
bfc8633
Compare
/metal3-bmo-e2e-test |
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
Can you update the same code in CAPM3 @adilGhaffarDev ?
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kashifest, tuminoid 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 |
It would be great if we could outline how we are fixing the script in the commit message. |
/hold |
Come on now prow! /hold |
It sorts the local go version and MINIMUM_GO_VERSION in ascending order and then compares the first element in ascending order list with MINIMUM_GO_VERSION and if they are not equal, it returns an error. It is also checking that local go is not "devel" version. |
@kashifest updated description also answered @honza 's question. |
bfc8633
to
6ceb1c1
Compare
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
These are not relevant This one is |
@lentzi90: lentzi90 unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file. In response to this:
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. |
These are not relevant This one is |
@kashifest: Overrode contexts on behalf of kashifest: test-centos-e2e-integration-main, test-ubuntu-integration-main In response to this:
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. |
Thanks |
What this PR does / why we need it:
Right now ensure_go.sh gives an error while e2e tests locally even when the go version is greater than MINIMUM_GO_VERSION which is wrong. This PR is fixing it, we already have this script working in CAPM3, this PR is just taking code from there. Check here: https://github.com/metal3-io/baremetal-operator/blob/783eb742630067146b4b98173c32a3d96348778a/hack/e2e/ensure_go.sh#L25C12-L25C12