File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 11run :
22 deadline : 20m
3- go-version : " 1.24 "
3+ go-version : " 1.25 "
44
55linters :
66 disable-all : true
Original file line number Diff line number Diff 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
1518jobs :
1619 - job :
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 :
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
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 :
Original file line number Diff line number Diff line change 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
2023jobs :
2124 - job : lint
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 :
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')
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
33COPY ./init/init-iptables.sh /bin/
44RUN chmod +x /bin/init-iptables.sh
You can’t perform that action at this time.
0 commit comments