forked from Azure/karpenter-provider-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (58 loc) · 1.66 KB
/
e2e-matrix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: E2EMatrix
on:
workflow_call:
inputs:
git_ref:
type: string
location:
type: string
description: "the azure location to run the e2e test in"
default: "eastus"
# k8s_version:
# type: string
# default: "1.27"
secrets:
E2E_CLIENT_ID:
required: true
E2E_TENANT_ID:
required: true
E2E_SUBSCRIPTION_ID:
required: true
permissions:
contents: read
jobs:
initialize-generative-params:
runs-on: ubuntu-latest
outputs:
E2E_HASH: ${{ steps.generate-e2e-run-hash.outputs.E2E_HASH }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- id: generate-e2e-run-hash
run: |
E2E_HASH="$RANDOM$RANDOM"
echo "Using e2e hash \"$E2E_HASH\""
echo "E2E_HASH=$E2E_HASH" >> "$GITHUB_OUTPUT"
e2e:
needs: [initialize-generative-params]
strategy:
fail-fast: false
matrix:
suite: [Nonbehavioral, Utilization, GPU, Drift, Integration, NodeClaim, Chaos]
permissions:
contents: read
id-token: write
statuses: write
uses: ./.github/workflows/e2e.yaml
with:
git_ref: ${{ inputs.git_ref }}
suite: ${{ matrix.suite }}
hash: ${{ needs.initialize-generative-params.outputs.E2E_HASH }}
location: ${{ inputs.location }}
# k8s_version: ${{ inputs.k8s_version }}
secrets:
E2E_CLIENT_ID: ${{ secrets.E2E_CLIENT_ID }}
E2E_TENANT_ID: ${{ secrets.E2E_TENANT_ID }}
E2E_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}