Skip to content

Commit 10fd199

Browse files
authored
chore: update to go 1.25.6 and distroless-iptables to v0.8.7 (#1699)
1 parent c926cd0 commit 10fd199

20 files changed

Lines changed: 58 additions & 36 deletions

.github/workflows/azwi-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
fetch-depth: 0
3636
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3737
with:
38-
go-version: "1.24"
38+
go-version: "1.25"
3939
check-latest: true
4040
- name: Build azwi
4141
run: |

.github/workflows/azwi-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fetch-depth: 0
3434
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3535
with:
36-
go-version: "1.24"
36+
go-version: "1.25"
3737
check-latest: true
3838
- name: Build azwi
3939
run: |

.github/workflows/create-release-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
ref: "${{ github.event.inputs.based_on_branch }}"
3535
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3636
with:
37-
go-version: "1.24"
37+
go-version: "1.25"
3838
check-latest: true
3939
- run: make release-manifest
4040
env:

.github/workflows/create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fetch-depth: 0
3333
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
3434
with:
35-
go-version: "1.24"
35+
go-version: "1.25"
3636
check-latest: true
3737
- name: Goreleaser
3838
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0

.github/workflows/scan-vulns.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
2727
with:
28-
go-version: "1.24"
28+
go-version: "1.25"
2929
check-latest: true
3030
- uses: golang/govulncheck-action@3a32958c2706f7048305d5a2e53633d7e37e97d0 # v1.0.2
3131

@@ -41,7 +41,7 @@ jobs:
4141

4242
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
4343
with:
44-
go-version: "1.24"
44+
go-version: "1.25"
4545
check-latest: true
4646

4747
- name: Check out code into the Go module directory

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
deadline: 20m
3-
go-version: "1.24"
3+
go-version: "1.25"
44

55
linters:
66
disable-all: true

.pipelines/nightly.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ schedules:
1010
include:
1111
- main
1212

13-
pool: staging-pool-amd64-mariner-2
13+
pool:
14+
name: staging-pool-amd64-mariner-2
15+
demands:
16+
- ImageOverride -equals 1es-azlinux-3-amd64-custom-disk
1417

1518
jobs:
1619
- job:
@@ -39,7 +42,8 @@ jobs:
3942
steps:
4043
- task: GoTool@0
4144
inputs:
42-
version: "1.24.11"
45+
version: "1.25.6"
46+
- template: templates/prepare-deps.yaml
4347
- script: make test-e2e
4448
displayName: Webhook E2E test suite
4549
env:
@@ -59,8 +63,6 @@ jobs:
5963
- job:
6064
pool:
6165
name: staging-pool-amd64-mariner-2
62-
demands:
63-
- ImageOverride -equals azcu-agent-amd64-mariner-2-cgv2-img
6466
timeoutInMinutes: 60
6567
workspace:
6668
clean: all
@@ -88,7 +90,8 @@ jobs:
8890
steps:
8991
- task: GoTool@0
9092
inputs:
91-
version: "1.24.11"
93+
version: "1.25.6"
94+
- template: templates/prepare-deps.yaml
9295
- script: make test-e2e
9396
displayName: Webhook E2E test suite
9497
env:

.pipelines/pr.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ pr:
1515
- '*'
1616
- examples/msal-go/*
1717

18-
pool: staging-pool-amd64-mariner-2
18+
pool:
19+
name: staging-pool-amd64-mariner-2
20+
demands:
21+
- ImageOverride -equals 1es-azlinux-3-amd64-custom-disk
1922

2023
jobs:
2124
- job: lint
@@ -25,7 +28,8 @@ jobs:
2528
steps:
2629
- task: GoTool@0
2730
inputs:
28-
version: "1.24.11"
31+
version: "1.25.6"
32+
- template: templates/prepare-deps.yaml
2933
- script: make lint
3034
displayName: golangci-lint
3135
- script: make helm-lint
@@ -51,14 +55,16 @@ jobs:
5155
steps:
5256
- task: GoTool@0
5357
inputs:
54-
version: "1.24.11"
58+
version: "1.25.6"
59+
- template: templates/prepare-deps.yaml
5560
- script: make test
5661
displayName: Unit test
5762
- job: shellcheck
5863
timeoutInMinutes: 5
5964
workspace:
6065
clean: all
6166
steps:
67+
- template: templates/prepare-deps.yaml
6268
- script: make shellcheck
6369
displayName: shellcheck
6470
- job:
@@ -89,7 +95,8 @@ jobs:
8995
steps:
9096
- task: GoTool@0
9197
inputs:
92-
version: "1.24.11"
98+
version: "1.25.6"
99+
- template: templates/prepare-deps.yaml
93100
- script: echo "##vso[task.setvariable variable=CLUSTER_NAME]azwi-e2e-$(openssl rand -hex 2)"
94101
displayName: Set CLUSTER_NAME
95102
condition: ne(variables.LOCAL_ONLY, 'true')
@@ -110,8 +117,6 @@ jobs:
110117
timeoutInMinutes: 60
111118
pool:
112119
name: staging-pool-amd64-mariner-2
113-
demands:
114-
- ImageOverride -equals azcu-agent-amd64-mariner-2-cgv2-img
115120
dependsOn:
116121
- lint
117122
- shellcheck
@@ -143,7 +148,8 @@ jobs:
143148
steps:
144149
- task: GoTool@0
145150
inputs:
146-
version: "1.24.11"
151+
version: "1.25.6"
152+
- template: templates/prepare-deps.yaml
147153
- script: echo "##vso[task.setvariable variable=CLUSTER_NAME]azwi-e2e-$(openssl rand -hex 2)"
148154
displayName: Set CLUSTER_NAME
149155
condition: ne(variables.LOCAL_ONLY, 'true')
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
steps:
2+
- bash: |
3+
for i in {1..10}; do
4+
if sudo tdnf install -y kernel-headers make gcc glibc-devel binutils; then
5+
exit 0
6+
fi
7+
echo "waiting until rpm lock is free"
8+
sleep 5
9+
done
10+
exit 1

docker/proxy-init.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.k8s.io/build-image/distroless-iptables:v0.8.6
1+
FROM registry.k8s.io/build-image/distroless-iptables:v0.8.7
22

33
COPY ./init/init-iptables.sh /bin/
44
RUN chmod +x /bin/init-iptables.sh

0 commit comments

Comments
 (0)