@@ -225,18 +225,25 @@ jobs:
225
225
test : ${{ steps.set-matrix.outputs.test }}
226
226
227
227
integration :
228
- name : integration (linux )
229
- runs-on : ubuntu-22.04
228
+ name : integration (${{ matrix.arch }}) (${{ strategy.job-index}}/${{ strategy.job-total }} )
229
+ runs-on : ${{ matrix.runs-on }}
230
230
needs : [cache-deps, images]
231
+ timeout-minutes : 45
231
232
232
233
permissions :
233
234
contents : read
234
235
235
236
strategy :
236
237
fail-fast : false
237
238
matrix :
238
- num_runners : [5]
239
- runner_id : [1, 2, 3, 4, 5]
239
+ arch : [x64, arm64]
240
+ num_runners : [10]
241
+ runner_id : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
242
+ include :
243
+ - arch : x64
244
+ runs-on : ubuntu-22.04
245
+ - arch : arm64
246
+ runs-on : ubuntu-22.04-arm
240
247
steps :
241
248
- name : Checkout
242
249
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -285,14 +292,15 @@ jobs:
285
292
NUM_RUNNERS : ${{ matrix.num_runners }}
286
293
THIS_RUNNER : ${{ matrix.runner_id }}
287
294
TERM : dumb
295
+ IGNORE_SUITES : ${{ matrix.arch == 'arm64' && 'suites/upstream-authority-ejbca' || '' }} # Waiting for EJBCA to support arm64 (https://github.com/spiffe/spire/issues/6060)
288
296
# We don't need to specify CICD_TARGET_BRANCH since the upgrade
289
297
# integration test will detect the annotated tag for version checking.
290
298
# CICD_TARGET_BRANCH:
291
299
run : ./.github/workflows/scripts/split.sh | xargs ./test/integration/test.sh
292
300
293
301
integration-k8s :
294
- name : integration-k8s
295
- runs-on : ubuntu-22.04
302
+ name : integration-k8s-${{ matrix.test[0] }}-${{ matrix.arch }}
303
+ runs-on : ${{ matrix.runs-on }}
296
304
needs : [cache-deps, images, build-matrix]
297
305
timeout-minutes : 45
298
306
@@ -302,10 +310,18 @@ jobs:
302
310
strategy :
303
311
fail-fast : false
304
312
matrix :
305
- num_runners : [1]
306
- runner_id : [1]
307
- # Test elements should be added as [KubeCTLVersion, K8s-image, KindVersion]
308
- test : ${{ fromJson(needs.build-matrix.outputs.test) }}
313
+ arch : [x64, arm64]
314
+ include :
315
+ - arch : x64
316
+ runs-on : ubuntu-22.04
317
+ num_runners : 1
318
+ runner_id : 1
319
+ - arch : arm64
320
+ runs-on : ubuntu-22.04-arm
321
+ num_runners : 1
322
+ runner_id : 1
323
+ # Test elements should be added as [KubeCTLVersion, K8s-image, KindVersion]
324
+ test : ${{ fromJson(needs.build-matrix.outputs.test) }}
309
325
steps :
310
326
- name : Checkout
311
327
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -547,7 +563,7 @@ jobs:
547
563
548
564
publish-artifacts :
549
565
runs-on : ubuntu-22.04
550
- needs : [lint, unit-test, unit-test-race-detector, artifacts, integration, lint-windows, unit-test-windows, artifacts-windows, integration-windows]
566
+ needs : [lint, unit-test, unit-test-race-detector, artifacts, integration, integration-k8s, lint-windows, unit-test-windows, artifacts-windows, integration-windows]
551
567
permissions :
552
568
contents : write
553
569
@@ -579,7 +595,7 @@ jobs:
579
595
580
596
publish-images :
581
597
runs-on : ubuntu-22.04
582
- needs : [lint, unit-test, unit-test-race-detector, artifacts, integration, lint-windows, unit-test-windows, artifacts-windows, integration-windows]
598
+ needs : [lint, unit-test, unit-test-race-detector, artifacts, integration, integration-k8s, lint-windows, unit-test-windows, artifacts-windows, integration-windows]
583
599
permissions :
584
600
contents : read
585
601
id-token : write
0 commit comments