Skip to content

Commit 7ba1013

Browse files
hasbro17ibm-adarsh
authored andcommitted
Update golangci-lint to v2.10.1 for openshift/installer CI configs (openshift#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
1 parent cc2c2a1 commit 7ba1013

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

ci-operator/config/openshift/installer/openshift-installer-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ base_images:
3030
golangci-lint:
3131
name: golangci-lint
3232
namespace: ci
33-
tag: v2.3.1
33+
tag: v2.10.1
3434
nested-environment-builder:
3535
name: nested-environment-builder
3636
namespace: ci
@@ -193,7 +193,7 @@ tests:
193193
export GOLANGCI_LINT_CACHE=/tmp/.cache
194194
export GOPROXY=https://proxy.golang.org
195195
golangci-lint version
196-
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=dcf8122
196+
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=a6ba91c
197197
container:
198198
clone: true
199199
from: golangci-lint

ci-operator/config/openshift/installer/openshift-installer-release-4.22.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ base_images:
3030
golangci-lint:
3131
name: golangci-lint
3232
namespace: ci
33-
tag: v2.3.1
33+
tag: v2.10.1
3434
nested-environment-builder:
3535
name: nested-environment-builder
3636
namespace: ci
@@ -194,7 +194,7 @@ tests:
194194
export GOLANGCI_LINT_CACHE=/tmp/.cache
195195
export GOPROXY=https://proxy.golang.org
196196
golangci-lint version
197-
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=dcf8122
197+
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=a6ba91c
198198
container:
199199
clone: true
200200
from: golangci-lint

ci-operator/config/openshift/installer/openshift-installer-release-4.23.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ base_images:
3030
golangci-lint:
3131
name: golangci-lint
3232
namespace: ci
33-
tag: v2.3.1
33+
tag: v2.10.1
3434
nested-environment-builder:
3535
name: nested-environment-builder
3636
namespace: ci
@@ -193,7 +193,7 @@ tests:
193193
export GOLANGCI_LINT_CACHE=/tmp/.cache
194194
export GOPROXY=https://proxy.golang.org
195195
golangci-lint version
196-
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=dcf8122
196+
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=a6ba91c
197197
container:
198198
clone: true
199199
from: golangci-lint

ci-operator/config/openshift/installer/openshift-installer-release-5.0.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ base_images:
3030
golangci-lint:
3131
name: golangci-lint
3232
namespace: ci
33-
tag: v2.3.1
33+
tag: v2.10.1
3434
nested-environment-builder:
3535
name: nested-environment-builder
3636
namespace: ci
@@ -193,7 +193,7 @@ tests:
193193
export GOLANGCI_LINT_CACHE=/tmp/.cache
194194
export GOPROXY=https://proxy.golang.org
195195
golangci-lint version
196-
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=dcf8122
196+
golangci-lint run -c .golangci-lint-v2.yaml --verbose --print-resources-usage --new-from-rev=a6ba91c
197197
container:
198198
clone: true
199199
from: golangci-lint

0 commit comments

Comments
 (0)