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
Upgrade Jenkins X repositories to go 1.18 [Starts July 18] #8283
Comments
@ankitm123 I want to upgrade |
When to start working on this? |
July 18, I need to update the order in which we can upgrade, and get few repos upgraded to 1.17 before that. |
Hello @ankitm123, I want to upgrade the |
Which are the files that needs to be changed in |
I will update the jx documentation (with files and steps) and link it to this issue. |
Hi @rajatgupta24 I want to upgrade jx-admin and jx-loggers. |
https://jenkins-x.io/community/maintainer_guide/go-upgrades/ -> This has some information around upgrading, I will update the go version in the catalog file: https://github.com/jenkins-x/jx3-pipeline-catalog/blob/0a52092fffa636bd7e6da1dbcb0aef38d2b314b9/tasks/go/pullrequest.yaml#L37 (This is one of the files) |
@ankitm123 I have created an issue(#8307) in |
HI @ankitm123 I want to upgrade jx-gitops. |
@sshiv5768 Yes, please go ahead. |
I have updated the page with the order: https://jenkins-x.io/community/maintainer_guide/go-upgrades/. Hopefully this helps and let me know if anything is missing! |
I want to upgrade |
This PR also updates the `lint` phony in Makefile related to: jenkins-x/jx#8283 - [x] Change the version in `go.mod` file. - [x] Run `go mod tidy` and ensure that it does not error out. - [x] Change `GO_VERSION` in `makefile` to the version you are upgrading. - [x] Check if there are any references to an older version and replace those. - [x] Verify that - [x] The build works by running `make build`. - [x] Tests are working, by running `make test`. - [x] Linting checks are working by running `make lint`.
I want to upgrade |
This PR also updates the `lint` phony in Makefile related to: jenkins-x/jx#8283 - [x] Change the version in `go.mod` file. - [x] Run `go mod tidy` and ensure that it does not error out. - [x] Change `GO_VERSION` in `makefile` to the version you are upgrading. - [x] Check if there are any references to an older version and replace those. - [x] Verify that - [x] The build works by running `make build`. - [x] Tests are working, by running `make test`. - [x] Linting checks are working by running `make lint`.
Keep in mind to upgrade the |
I want to upgrade jx-build-controller. |
This PR also updates the `lint` phony in Makefile Also updates the version of `k8s.io` version to `v0.22.15` related to: jenkins-x/jx#8283 - [x] Change the version in `go.mod` file. - [x] Run `go mod tidy` and ensure that it does not error out. - [x] Change `GO_VERSION` in `makefile` to the version you are upgrading. - [x] Check if there are any references to an older version and replace those. - [x] Verify that - [x] The build works by running `make build`. - [x] Tests are working, by running `make test`. - [x] Linting checks are working by running `make lint`.
Hi @ankitm123, I want to upgrade jx-verify |
I want to update jx-updatebot |
This PR also updates the `lint` phony in Makefile Also updates the version of `k8s.io` version to `v0.22.15` related to: jenkins-x/jx#8283 - [x] Change the version in `go.mod` file. - [x] Run `go mod tidy` and ensure that it does not error out. - [x] Change `GO_VERSION` in `makefile` to the version you are upgrading. - [x] Check if there are any references to an older version and replace those. - [x] Verify that - [x] The build works by running `make build`. - [x] Tests are working, by running `make test`. - [x] Linting checks are working by running `make lint`.
I want to update jx-slack |
I want to update jx-test |
This is complete, thanks everyone! |
Golang supports only 2 major releases: https://endoflife.date/go
Go 1.19 is expected to be out in August 2022.
We should start the upgrade process to go 1.18, before go 1.17 becomes unsupported (expected in August 2022).
Follow this guide for information on how to upgrade: https://jenkins-x.io/community/maintainer_guide/go-upgrades/
Before upgrading , we need to upgrade the version of golang in the catalog repository:
example (there are other files as well): https://github.com/jenkins-x/jx3-pipeline-catalog/blob/0f0f956d38ffe383ba38d93c1cfe7160a3bec93a/tasks/go/pullrequest.yaml#L37
This is the tentative list of repositories (list will be updated if we find any missing repositories) that we should upgrade:
jx-kubeclient - no other jx dependenciesIn the list, there are some packages which need multiple packages updated before we update them, for example: before upgrading jx-api we should upgrade jx-logging.
NOTE: it's fine if you dont follow the order, the order is only there to limit the number of PRs we open as part of an upgrade effort
We will this issue to keep track of which repositories have been upgraded.
If you are interested in contributing, please comment
When opening a PR in these repos to upgrade the go version, remember to include
Dont use
fixes
as that will close this issue once ur PR is merged.Once your PR is merged, comment in this issue:
If you encounter any issues when upgrading, please make a note of that issue and how you fixed in this PR, so that is helps other contributors. Remember to comment back the issue and fix in this PR, so others can see it.
There are a few repositories that need to be upgraded to 1.17, before we start working on this issue. Those are being tracked here: #8279
We will start working on this issue from July 18.
The text was updated successfully, but these errors were encountered: