Machinery to sync images to images.linuxcontainers.org/capn/ (#187) #20
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |