Skip to content

Commit e6f371e

Browse files
committed
X-Smart-Squash: Squashed 6 commits:
dfe1293 use arm runner for arm builds a70db96 test e92dc17 checkarch bbfc2d4 expand 7474f22 include 901f5496a builder
1 parent 3a6f523 commit e6f371e

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.github/workflows/collector-builder.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ jobs:
3636
- builder/install/**
3737
- builder/third_party/**
3838
- builder/Dockerfile
39-
- .github/workflows/collector-builder.yml
39+
# XXX uncomment before commit XXX- .github/workflows/collector-builder.yml
4040
4141
build-builder-image:
4242
name: Build the builder image
43-
runs-on: ubuntu-24.04
4443
# Multiarch builds sometimes take for eeeeeeeeeever
4544
timeout-minutes: 480
4645
needs:
@@ -57,7 +56,16 @@ jobs:
5756
strategy:
5857
fail-fast: false
5958
matrix:
60-
arch: [amd64, ppc64le, s390x, arm64]
59+
include:
60+
- arch: amd64
61+
runner: ubuntu-24.04
62+
- arch: ppc64le
63+
runner: ubuntu-24.04
64+
- arch: s390x
65+
runner: ubuntu-24.04
66+
- arch: arm64
67+
runner: ubuntu-24.04-arm
68+
runs-on: ${{ matrix.runner }}
6169

6270
env:
6371
PLATFORM: linux/${{ matrix.arch }}

.github/workflows/collector.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,17 @@ env:
3030
jobs:
3131
build-collector-image:
3232
name: Build Collector
33-
runs-on: ubuntu-24.04
3433
strategy:
3534
fail-fast: false
3635
matrix:
37-
arch: [amd64, ppc64le, arm64]
36+
include:
37+
- arch: amd64
38+
runner: ubuntu-24.04
39+
- arch: ppc64le
40+
runner: ubuntu-24.04
41+
- arch: arm64
42+
runner: ubuntu-24.04-arm
43+
runs-on: ${{ matrix.runner }}
3844

3945
env:
4046
PLATFORM: linux/${{ matrix.arch }}
@@ -75,6 +81,7 @@ jobs:
7581
if: |
7682
github.event_name != 'pull_request' ||
7783
matrix.arch == 'amd64' ||
84+
matrix.arch == 'arm64' ||
7885
contains(github.event.pull_request.labels.*.name, 'run-multiarch-builds')
7986
timeout-minutes: 480
8087
run: |

0 commit comments

Comments
 (0)