Skip to content

Commit b3c06db

Browse files
guzalvclaude
andcommitted
chore: bump Go to 1.25
Update Go version from 1.24 to 1.25 across all modules and CI/CD configurations. Changes: - Update go.mod files (main, tools/test, tools/linters) to Go 1.25 - Update .golangci.yml to Go 1.25 - Update Konflux builder base image to rhel_8_golang_1.25 - Update CI test images to scanner-test-0.5.1 - Update OpenShift CI Dockerfiles to scanner-test-0.5.1 - Update BUILD_IMAGE_VERSION to scanner-build-0.5.1 Related: https://github.com/stackrox/rox-ci-image/releases/tag/0.5.1 User request: Update Go to 1.25 like it was done in ~/sw/stackrox-2 Co-authored-by: AI Assistant <[email protected]>
1 parent 93b3f6f commit b3c06db

File tree

13 files changed

+27
-29
lines changed

13 files changed

+27
-29
lines changed

.github/workflows/ci.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pre-build-updater:
4040
runs-on: ubuntu-latest
4141
container:
42-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
42+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
4343
steps:
4444
- name: Checkout
4545
uses: actions/checkout@v6
@@ -72,7 +72,7 @@ jobs:
7272
fail-fast: false
7373
matrix: ${{ fromJson(needs.define-scanner-job-matrix.outputs.matrix).build_and_push }}
7474
container:
75-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
75+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
7676
steps:
7777
- name: Checkout
7878
uses: actions/checkout@v6
@@ -101,7 +101,7 @@ jobs:
101101
style-check:
102102
runs-on: ubuntu-latest
103103
container:
104-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
104+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
105105
steps:
106106
- name: Checkout
107107
uses: actions/checkout@v6
@@ -120,7 +120,7 @@ jobs:
120120
unit-tests:
121121
runs-on: ubuntu-latest
122122
container:
123-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
123+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
124124
steps:
125125
- name: Checkout
126126
uses: actions/checkout@v6
@@ -139,7 +139,7 @@ jobs:
139139
db-integration-tests:
140140
runs-on: ubuntu-latest
141141
container:
142-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
142+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
143143
steps:
144144
- name: Checkout
145145
uses: actions/checkout@v6
@@ -167,7 +167,7 @@ jobs:
167167
needs:
168168
- pre-build-updater
169169
container:
170-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
170+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
171171
steps:
172172
- name: Checkout
173173
uses: actions/checkout@v6
@@ -209,7 +209,7 @@ jobs:
209209
needs:
210210
- generate-genesis-dump
211211
container:
212-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
212+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
213213
steps:
214214
- name: Checkout
215215
uses: actions/checkout@v6
@@ -257,7 +257,7 @@ jobs:
257257
fail-fast: false
258258
matrix: ${{ fromJson(needs.define-scanner-job-matrix.outputs.matrix).build_and_push }}
259259
container:
260-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
260+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
261261
steps:
262262
- name: Checkout
263263
uses: actions/checkout@v6
@@ -314,7 +314,7 @@ jobs:
314314
needs:
315315
- generate-db-dump
316316
container:
317-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
317+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
318318
steps:
319319
- name: Checkout
320320
uses: actions/checkout@v6
@@ -365,7 +365,7 @@ jobs:
365365
fail-fast: false
366366
matrix: ${{ fromJson(needs.define-scanner-job-matrix.outputs.matrix).build_and_push }}
367367
container:
368-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
368+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
369369
steps:
370370
- name: Checkout
371371
uses: actions/checkout@v6
@@ -438,7 +438,7 @@ jobs:
438438
- build-images
439439
runs-on: ubuntu-latest
440440
container:
441-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
441+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
442442
env:
443443
QUAY_RHACS_ENG_RW_USERNAME: ${{ secrets.QUAY_RHACS_ENG_RW_USERNAME }}
444444
QUAY_RHACS_ENG_RW_PASSWORD: ${{ secrets.QUAY_RHACS_ENG_RW_PASSWORD }}
@@ -484,7 +484,7 @@ jobs:
484484
needs:
485485
- generate-genesis-dump
486486
container:
487-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
487+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
488488
steps:
489489
- name: Checkout
490490
uses: actions/checkout@v6
@@ -602,7 +602,7 @@ jobs:
602602
needs:
603603
- generate-db-dump
604604
container:
605-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
605+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
606606
steps:
607607
- name: Checkout
608608
uses: actions/checkout@v6
@@ -630,7 +630,7 @@ jobs:
630630
needs:
631631
- generate-db-dump
632632
container:
633-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
633+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
634634
steps:
635635
- name: Checkout
636636
uses: actions/checkout@v6
@@ -664,7 +664,7 @@ jobs:
664664
needs:
665665
- generate-db-dump
666666
container:
667-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
667+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
668668
steps:
669669
- name: Checkout
670670
uses: actions/checkout@v6

.github/workflows/sanity-check-vuln-updates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
SLACK_WEBHOOK_ONCALL: ${{ secrets.SLACK_ONCALL_SCANNER_WEBHOOK }}
1111
runs-on: ubuntu-latest
1212
container:
13-
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
13+
image: quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v6

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
run:
44
timeout: 16m
55
modules-download-mode: readonly
6-
go: "1.23"
6+
go: "1.25"
77

88
output:
99
formats:

.openshift-ci/Dockerfile.build_root

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
# - `make update` and commit the results
1111
# - run `/test pj-rehearse-max` on the openshift/release PR to validate the change
1212

13-
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
13+
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1

.openshift-ci/build/Dockerfile.build-bundle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
1+
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
22

33
COPY . /go/src/github.com/stackrox/scanner
44
WORKDIR /go/src/github.com/stackrox/scanner

.openshift-ci/build/Dockerfile.build-db-bundle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
1+
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
22

33
COPY . /go/src/github.com/stackrox/scanner
44
WORKDIR /go/src/github.com/stackrox/scanner

.openshift-ci/build/Dockerfile.generate-db-dump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
1+
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
22

33
COPY . /go/src/github.com/stackrox/scanner
44
WORKDIR /go/src/github.com/stackrox/scanner

.openshift-ci/build/Dockerfile.generate-genesis-dump

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.4.9
1+
FROM quay.io/stackrox-io/apollo-ci:scanner-test-0.5.1
22

33
COPY . /go/src/github.com/stackrox/scanner
44
WORKDIR /go/src/github.com/stackrox/scanner

BUILD_IMAGE_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scanner-build-0.4.9
1+
scanner-build-0.5.1

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/stackrox/scanner
22

3-
go 1.24.0
4-
5-
toolchain go1.24.4
3+
go 1.25
64

75
require (
86
cloud.google.com/go/storage v1.58.0

0 commit comments

Comments
 (0)