2022-12-14 16:51:42 +01:00
name : e2e test qemu (MiniConstellation)
2023-02-13 13:58:34 +01:00
# The workflow is triggered by the completion of the release workflow.
# It is not called by the release pipeline to allow quicker retrying of failed tests
# The workflow only executes, after being triggered, if the triggering workflow completed successfully.
# e2e-test-release uses the same branch as the triggering workflow and not the commit of the triggering workflow. This is because the release workflow produces further commits.
2022-12-14 16:51:42 +01:00
on :
workflow_dispatch :
2023-01-06 11:49:55 +01:00
inputs :
ref :
type : string
2023-02-13 13:58:34 +01:00
default : ""
2023-01-06 11:49:55 +01:00
description : "Git ref to checkout"
workflow_call :
inputs :
ref :
type : string
2023-02-13 13:58:34 +01:00
default : ""
2023-01-06 11:49:55 +01:00
description : "Git ref to checkout"
2022-12-14 16:51:42 +01:00
jobs :
e2e-mini :
2024-10-09 12:16:10 +02:00
runs-on : ubuntu-24.04
2022-12-14 16:51:42 +01:00
environment : e2e
2023-01-30 16:11:27 +01:00
permissions :
id-token : write
contents : read
2023-05-12 17:14:32 +02:00
packages : write
2022-12-14 16:51:42 +01:00
steps :
- name : Checkout
id : checkout
2024-06-19 15:19:41 +02:00
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2023-01-06 11:49:55 +01:00
with :
2023-02-13 13:58:34 +01:00
ref : ${{ inputs.ref || github.event.workflow_run.head_branch || github.head_ref }}
2022-12-14 16:51:42 +01:00
- name : Azure login OIDC
2024-05-24 11:04:23 +02:00
uses : azure/login@6c251865b4e6290e7b78be643ea2d005bc51f69a # v2.1.1
2022-12-14 16:51:42 +01:00
with :
client-id : ${{ secrets.AZURE_E2E_MINI_CLIENT_ID }}
tenant-id : ${{ secrets.AZURE_TENANT_ID }}
subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name : Run e2e MiniConstellation
uses : ./.github/actions/e2e_mini
with :
azureClientID : ${{ secrets.AZURE_E2E_MINI_CLIENT_ID }}
azureSubscriptionID : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
azureTenantID : ${{ secrets.AZURE_TENANT_ID }}
2024-05-31 13:51:55 +02:00
azureIAMCredentials : ${{ secrets.AZURE_E2E_IAM_CREDENTIALS }}
2023-05-12 17:14:32 +02:00
registry : ghcr.io
githubToken : ${{ secrets.GITHUB_TOKEN }}