Skip to content

Update golangci-lint to v2.10.1 for openshift/installer CI configs#76039

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
hasbro17:update-golanglint-ci-for-installer
Mar 11, 2026
Merged

Update golangci-lint to v2.10.1 for openshift/installer CI configs#76039
openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
hasbro17:update-golanglint-ci-for-installer

Conversation

@hasbro17
Copy link
Contributor

@hasbro17 hasbro17 commented Mar 10, 2026

Bump the golangci-lint base image tag from v2.3.1 to v2.10.1 in the main, release-4.22, release-4.23, and release-5.0 CI configurations for openshift/installer to add support for Go 1.25

Required as ci/prow/golint fails on openshift/installer#10376 with the Go 1.25 bump.

@hasbro17
Copy link
Contributor Author

/pj-rehearse

@openshift-ci-robot
Copy link
Contributor

@hasbro17: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@hasbro17
Copy link
Contributor Author

/cc @patrickdillon

@openshift-ci openshift-ci bot requested a review from patrickdillon March 10, 2026 21:05
@hasbro17 hasbro17 force-pushed the update-golanglint-ci-for-installer branch from f2bc833 to 2062c14 Compare March 11, 2026 17:16
@hasbro17 hasbro17 changed the title Update golangci-lint to v2.11.2 for openshift/installer CI configs Update golangci-lint to v2.10.1 for openshift/installer CI configs Mar 11, 2026
@hasbro17
Copy link
Contributor Author

Changed to v2.10.1 as that's the actual version available to us in https://quay.io/repository/openshiftci/golangci-lint?tab=tags&tag=latest

@patrickdillon
Copy link
Contributor

There's another PR open for this at #75091

Let's see if this version fares any better with the rehearsals

/pj-rehearse pull-ci-openshift-installer-main-golint

@openshift-ci-robot
Copy link
Contributor

@patrickdillon: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@patrickdillon
Copy link
Contributor

patrickdillon commented Mar 11, 2026

The linter is failing on some existing code, perhaps so that you don't get stuck trying to fix all the lint issues, you can update the --new-from-rev flag later in this file to a point to a recent installer commit, such as 4006847

Bump the golangci-lint base image tag from v2.3.1 to v2.10.1 in the
main, release-4.22, release-4.23, and release-5.0 CI configurations
for openshift/installer to add support for Go 1.25

Also update --new-from-rev to a6ba91c to ignore prior linting errors
@hasbro17 hasbro17 force-pushed the update-golanglint-ci-for-installer branch from 2062c14 to 6955b35 Compare March 11, 2026 19:23
@hasbro17
Copy link
Contributor Author

Updated --new-from-rev=a6ba91c to the latest commit on main
openshift/installer@a6ba91c

@hasbro17
Copy link
Contributor Author

/pj-rehearse pull-ci-openshift-installer-main-golint

@openshift-ci-robot
Copy link
Contributor

@hasbro17: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@hasbro17: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-installer-main-artifacts-images openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-aws-private openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-azure-ovn-marketplace-images openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-azure-private openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-4control-ipv4 openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-5control-ipv4 openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-compact-ipv4 openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-compact-ipv4-appliance-diskimage openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-compact-ipv4-iso-no-registry openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-compact-ipv4-none-platform openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-compact-ipv6-minimaliso openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-ha-dualstack openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-sno-ipv4-pxe openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-sno-ipv6 openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-agent-two-node-fencing-ipv4 openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-byo-subnet-role-security-groups openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-custom-dns-techpreview openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-default-config openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-overlay-mtu-ovn-1200 openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-ovn openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-ovn-custom-iam-profile openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-ovn-devpreview openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-ovn-dualstack-ipv4-primary-techpreview openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-ovn-dualstack-ipv6-primary-techpreview openshift/installer presubmit Ci-operator config changed
pull-ci-openshift-installer-main-e2e-aws-ovn-edge-zones openshift/installer presubmit Ci-operator config changed

A total of 493 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Member

@tthvo tthvo left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 11, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 11, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hasbro17, tthvo

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 11, 2026
@patrickdillon
Copy link
Contributor

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@patrickdillon: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Mar 11, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 11, 2026

@hasbro17: The following test 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/rehearse/openshift/installer/release-5.0/azure-ovn-marketplace-images f2bc833 link unknown /pj-rehearse pull-ci-openshift-installer-release-5.0-azure-ovn-marketplace-images

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 94cff88 into openshift:main Mar 11, 2026
14 checks passed
ibm-adarsh pushed a commit to ibm-adarsh/release that referenced this pull request Mar 12, 2026
…penshift#76039)

Bump the golangci-lint base image tag from v2.3.1 to v2.10.1 in the
main, release-4.22, release-4.23, and release-5.0 CI configurations
for openshift/installer to add support for Go 1.25

Also update --new-from-rev to a6ba91c to ignore prior linting errors
tareqalayan pushed a commit to tareqalayan/release that referenced this pull request Mar 13, 2026
…penshift#76039)

Bump the golangci-lint base image tag from v2.3.1 to v2.10.1 in the
main, release-4.22, release-4.23, and release-5.0 CI configurations
for openshift/installer to add support for Go 1.25

Also update --new-from-rev to a6ba91c to ignore prior linting errors
qiliRedHat pushed a commit to qiliRedHat/release that referenced this pull request Mar 13, 2026
…penshift#76039)

Bump the golangci-lint base image tag from v2.3.1 to v2.10.1 in the
main, release-4.22, release-4.23, and release-5.0 CI configurations
for openshift/installer to add support for Go 1.25

Also update --new-from-rev to a6ba91c to ignore prior linting errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants