Skip to content

E2E

E2E #86

Workflow file for this run

name: E2E
on:
workflow_run:
workflows: [Build Images]
types:
- completed
workflow_dispatch:
permissions:
contents: read
jobs:
e2e:
if: ${{ github.event_name == 'merge_group' }}
name: E2E
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go version
- name: Az CLI login
uses: azure/login@v2
if: ${{ github.event_name == 'merge_group' }}
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Run E2E
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION }}
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
shell: bash
run: |
set -euo pipefail
go test -v ./test/e2e/scenarios/retina/*.go -timeout 30m -tags=e2e -count=1 -args -image-tag=$(make version) -image-registry=${{ vars.ACR_NAME }} -image-namespace=${{ github.repository}}