-
Notifications
You must be signed in to change notification settings - Fork 353
go.mod: pinning go version to use patch from build env #1282
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
Conversation
|
This issue is currently awaiting triage. If cloud-provider-aws contributors determine this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
|
DNS resolution while initializing build env of some doc tests, retrying individually: |
|
@mtulio: The specified target(s) for The following commands are available to trigger optional jobs: Use 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-sigs/prow repository. |
|
/test pull-cloud-provider-aws-e2e-kubetest2 |
|
Having unrelated issues in the e2e-kubetest2 (non build issues). This PR is ready for review. |
|
/lgtm |
|
/retest-required |
|
Do we need a retest here? |
|
/retest |
|
aws-e2e-kubetest2-quick is now passing. WRT the docs builds, looks like Netlify was suffering outage yesterday ( https://www.netlifystatus.com/ ) that would be related with the build issue reported (unable to setup env / install python). Unrelated with this change. The Hey @elmiko @JoelSpeed , would you mind taking a look here, please? |
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
Thanks!
|
@mtulio Any thoughts on how we can prevent this from being non-zero in the future? |
|
/approve |
|
Hold to answer Joel's question and try some experiment in CI step. |
Considering this is a kube practice, we could have something more broadly, maybe a shared test/lint inherited from k/k repo? For now, I would suggest, at least for in-project check, to validate the go.mod in a CI step. Considering Github Actions/workflows is enabled here, we could use something like this:
If you think it would be something to consider, please leave comments in the 1283. I am unblocking this for now. /hold cancel |
|
@JoelSpeed good question. In Cluster API Provider AWS/GCP we are adopting the approach recommended by k/k and core Cluster API (here and here). See:
I think we can adopt the same approach here. |
|
^ cc. @mtulio I think reusing something "standardized" by other projects could be more beneficial than rolling our own check |
Good idea, I updated the PR with this option. Keeping there as draft to hear more thoughts. |
|
I am investigating how to trigger rebuild in the Netlify jobs as those arent updating on PR changes. |
Pin Go patch version (`x.y.0`) to use the available in the build environment. This approach follows practice of kubernetes/kubernetes project, as well helps downstream projects to keep compatibility.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: elmiko, kmala 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 |
|
/test pull-cloud-provider-aws-e2e-kubetest2-quick |
|
@mtulio: The following tests 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-sigs/prow repository. I understand the commands that are listed here. |
|
/retest |
What type of PR is this?
/kind cleanup
/kind design
What this PR does / why we need it:
Pinning go patch version (
x.y.0) to use the available in the build environment.This approach follows practice of kubernetes/kubernetes project, as well contributes to downstream projects to keep compatibility when not following the same build environment used by this project.
This PR is intentionally not updating the Go image from
Dockerfileto prevent bumping dependencies with existing version.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
As per Slack discussion: https://kubernetes.slack.com/archives/C0LRMHZ1T/p1761150650682839
Does this PR introduce a user-facing change?: