Skip to content

Commit

Permalink
Add ARM runners to e2e test suite
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Jan 17, 2025
1 parent 3f9a35e commit 338df1c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,15 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-24.04-arm
variant:
- alpine
- distroless
kubernetes:
- v1.32.0
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
permissions:
contents: read
packages: read
Expand All @@ -52,17 +55,23 @@ jobs:
VERSION="${{ github.event.inputs.version }}"
fi
KUBERNETES="${{ matrix.kubernetes }}-amd64"
if [ "${{ matrix.os }}" =~ .*arm.* ]]; then
KUBERNETES="${{ matrix.kubernetes }}-arm64"
fi
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "kubernetes=${KUBERNETES}" >> $GITHUB_OUTPUT
- name: Setup Flux
uses: fluxcd/flux2/action@5350425cdcd5fa015337e09fa502153c0275bd4b #v2.4.0
with:
version: ${{ steps.release.outputs.version }}
- name: Setup Kubernetes
uses: helm/kind-action@ae94020eaf628e9b9b9f341a10cc0cdcf5c018fb # v1.11.0
with:
version: v0.24.0
version: v0.26.0
cluster_name: flux
node_image: ghcr.io/fluxcd/kindest/node:${{ matrix.kubernetes }}-amd64
node_image: ghcr.io/fluxcd/kindest/node:${{ steps.release.outputs.kubernetes }}
- name: Install Flux
id: install
run: |
Expand Down

0 comments on commit 338df1c

Please # to comment.