Skip to content

[golang] bump to golang 1.22#1411

Closed
stuggi wants to merge 3 commits into
openstack-k8s-operators:mainfrom
stuggi:golang_1.22
Closed

[golang] bump to golang 1.22#1411
stuggi wants to merge 3 commits into
openstack-k8s-operators:mainfrom
stuggi:golang_1.22

Conversation

@stuggi

@stuggi stuggi commented Apr 23, 2025

Copy link
Copy Markdown
Contributor
  • bump in go.mod (base and api)
  • bump go-toolset in Dockerfile
  • bump in github jobs ('.github/workflows')
  • Bump the golangci-lint version in the .pre-commit-config.yaml to v1.63.4
  • Bump build_root_image in .ci-operator.yaml to ci-build-root-golang-1.22-sdk-1.31 (if set)

To test on existing env:

  • update golang to 1.22
  • delete current go.work* files
  • init go work files go work init

Depends-On: openstack-k8s-operators/install_yamls#1051

Jira: OSPRH-12935

@openshift-ci

openshift-ci Bot commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: stuggi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Comment thread Makefile
GOTOOLCHAIN_VERSION ?= go1.21.0
OC_VERSION ?= 4.14.0
GOTOOLCHAIN_VERSION ?= go1.22.0
OC_VERSION ?= 4.16.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4.18 not yet available

wget https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.18.0/openshift-client-linux-4.18.0.tar.gz -O - |\
tar xz)
--2025-04-23 08:46:54--  https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.18.0/openshift-client-linux-4.18.0.tar.gz
Resolving mirror.openshift.com (mirror.openshift.com)... 3.167.56.39, 3.167.56.96, 3.167.56.87, ...
Connecting to mirror.openshift.com (mirror.openshift.com)|3.167.56.39|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-04-23 08:46:54 ERROR 404: Not Found.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we just leave OC_VERSION at 4.16 here? We do still support running on that version...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was 4.14, I bumped it to 4.16. but I think I'll move this to a separate PR. its not really related to the golang bump.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to #1431

@stuggi

stuggi commented Apr 23, 2025

Copy link
Copy Markdown
Contributor Author

wrong base image/golang version is used in ci

stuggi added 3 commits April 24, 2025 11:57
* bump in go.mod (base and api)
* bump go-toolset in Dockerfile
* bump in github jobs ('.github/workflows')
* Bump the golangci-lint version in the .pre-commit-config.yaml to v1.63.4
* Bump build_root_image in .ci-operator.yaml to ci-build-root-golang-1.22-sdk-1.31

Jira: OSPRH-12935

Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
@softwarefactory-project-zuul

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/install_yamls#1051 is needed.

@stuggi

stuggi commented Apr 24, 2025

Copy link
Copy Markdown
Contributor Author

/retest

@stuggi

stuggi commented Apr 24, 2025

Copy link
Copy Markdown
Contributor Author

recheck

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

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.

3 similar comments
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

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.

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

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.

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

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.

@openshift-ci

openshift-ci Bot commented Aug 11, 2025

Copy link
Copy Markdown
Contributor

@stuggi: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/openstack-operator-build-deploy-kuttl-4-18 ffc923b link true /test openstack-operator-build-deploy-kuttl-4-18
ci/prow/precommit-check ffc923b link true /test precommit-check
ci/prow/openstack-operator-build-deploy-kuttl ffc923b link true /test openstack-operator-build-deploy-kuttl

Full PR test history. Your PR dashboard.

Details

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.

@stuggi

stuggi commented Aug 18, 2025

Copy link
Copy Markdown
Contributor Author

closing in preference of #1567

@stuggi stuggi closed this Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants