2022-12-14 10:51:42 -05:00
|
|
|
name: e2e test qemu (MiniConstellation)
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
2023-01-06 05:49:55 -05:00
|
|
|
inputs:
|
|
|
|
ref:
|
|
|
|
type: string
|
|
|
|
description: "Git ref to checkout"
|
|
|
|
required: false
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
ref:
|
|
|
|
type: string
|
|
|
|
description: "Git ref to checkout"
|
|
|
|
required: true
|
2022-12-14 10:51:42 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
e2e-mini:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
environment: e2e
|
2023-01-30 10:11:27 -05:00
|
|
|
permissions:
|
|
|
|
id-token: write
|
|
|
|
contents: read
|
2022-12-14 10:51:42 -05:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
id: checkout
|
2023-01-05 10:17:51 -05:00
|
|
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
2023-01-06 05:49:55 -05:00
|
|
|
with:
|
|
|
|
ref: ${{ inputs.ref || github.head_ref }}
|
2022-12-14 10:51:42 -05:00
|
|
|
|
|
|
|
- name: Azure login OIDC
|
2023-01-03 04:09:02 -05:00
|
|
|
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # v1.4.7
|
2022-12-14 10:51:42 -05: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 }}
|