Update odo to use go 1.18#6166
Update odo to use go 1.18#6166openshift-merge-robot merged 5 commits intoredhat-developer:mainfrom dharmit:fix-6090
Conversation
✅ Deploy Preview for odo-docusaurus-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
@dharmit, just wanted to know if we have checked with EXD team if they have go 1.18 on rhel8, I remember we have go1.18 available for rhel7. |
pkg/odo/util/cmdutils.go
Outdated
| "github.com/redhat-developer/odo/pkg/machineoutput" | ||
| "golang.org/x/text/cases" | ||
| "golang.org/x/text/language" | ||
| "os" |
There was a problem hiding this comment.
stdlib imports ("os" here) should appear in the first block of imports
There was a problem hiding this comment.
IDE did something. I changed some settings, and hope it's not a problem any more. At least, I couldn't find any as far as I checked. Thanks for catching. 👍🏾
| "golang.org/x/text/cases" | ||
| "golang.org/x/text/language" |
There was a problem hiding this comment.
Non stdlib imports should not appear in first block of imports
I have pinged Matej for this. I checked using the |
I checked for 1.18 on rhel8 but was not able to find it. for rhel 7 its available AFAIR |
Indeed. That's exactly what I found. But I saw the list had only up to go 1.10, which seems weird to me because it's too old. That's why I have pinged Matej about it since he would know the best. :) |
|
Kudos, SonarCloud Quality Gate passed!
|
|
/hold Putting this on hold to prevent accidental merge till Red Hat Release Engg team says OK to update to 1.18. In the meantime, I'll try to address CI issues and the folks can review/approve it so that it can be merged once we have a go ahead. |
/hold cancel Internal systems at RH have been updated to use go 1.18. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feloy The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Dharmit Shah <[email protected]>
Signed-off-by: Dharmit Shah <[email protected]>
Erroneously I had used go 1.19 at various places. Signed-off-by: Dharmit Shah <[email protected]>
Fixed a bunch of golangci-lint errors like below: `File is not `gofmt`-ed with `-s`` using the command: `golangci-lint run --fix` Signed-off-by: Dharmit Shah <[email protected]>
This is because with go 1.18, `go get` behaves as `go get -d` by default. Which means that it will only download, but not install. Signed-off-by: Dharmit Shah <[email protected]>
|
Kudos, SonarCloud Quality Gate passed!
|
overriding since tests are passing on IBM Cloud /override ci/prow/v4.11-integration-e2e |
|
@dharmit: Overrode contexts on behalf of dharmit: ci/prow/v4.11-integration-e2e DetailsIn 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. |








Signed-off-by: Dharmit Shah [email protected]
What type of PR is this:
/kind feature
What does this PR do / why we need it:
$subject
Which issue(s) this PR fixes:
Fixes #6090
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer:
make validateandmake testlocally before opening the PR. Not sure if there was any other Makefile target that I should have tested locally.