Skip to content

Machinery to sync images to images.linuxcontainers.org/capn/ (#187) #20

Machinery to sync images to images.linuxcontainers.org/capn/ (#187)

Machinery to sync images to images.linuxcontainers.org/capn/ (#187) #20

name: End to End Tests [Conformance]
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+'
jobs:
test-e2e:
strategy:
fail-fast: false
matrix:
infrastructure: [lxd, incus]
arch: [amd64, arm64]
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Prepare runner
run: |
./hack/scripts/ci/setup-github-actions.sh
- name: Setup infrastructure
run: |
./hack/scripts/ci/setup-${{ matrix.infrastructure }}.sh
# NOTE(neoaggelos): for tags, we should use the released controller image instead of building from source
- name: Build the e2e controller image
run: make e2e-image
- name: Run e2e tests
run: make test-conformance
- name: Upload e2e artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: artifacts-${{ matrix.infrastructure }}-${{ matrix.arch }}
path: _artifacts