Skip to content

Commit

Permalink
Attempt using GHA hosted Arm runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed Jan 20, 2025
1 parent b6a07ed commit ae4ebb4
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/collector-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,14 @@ jobs:
build-builder-image:
name: Build the builder image
runs-on: ubuntu-24.04
# Multiarch builds sometimes take for eeeeeeeeeever
timeout-minutes: 480
runs-on: ${{ (matrix.arch == 'amd64' && 'ubuntu-24.04') || 'ubuntu-24.04-arm' }}
needs:
- builder-needs-rebuilding
if: needs.builder-needs-rebuilding.outputs.build-image == 'true'
strategy:
fail-fast: false
matrix:
arch: [amd64]
arch: [amd64, arm64]

env:
PLATFORM: linux/${{ matrix.arch }}
Expand All @@ -130,12 +128,6 @@ jobs:
with:
submodules: true

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Create ansible vars
run: |
cat << EOF > ${{ github.workspace }}/ansible/secrets.yml
Expand Down Expand Up @@ -171,7 +163,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [ppc64le, s390x, arm64]
arch: [ppc64le, s390x]

env:
PLATFORM: linux/${{ matrix.arch }}
Expand Down

0 comments on commit ae4ebb4

Please sign in to comment.