-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.04 KB
/
vault-testcase.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
---
name: Vault Testcase
on:
push:
branches:
- main
jobs:
changes:
uses: ./.github/workflows/changes.yaml
github-hosted:
needs: changes
if: ${{ needs.changes.outputs.vault == 'true' }}
uses: ./.github/workflows/vault.yaml
with:
runs-on: ubuntu-22.04
self-hosted-containers:
needs: changes
if: ${{ needs.changes.outputs.vault == 'true' }}
strategy:
matrix:
architecture:
- amd64
- arm64
scope:
- org-${{ github.repository_owner_id }}
- repo-${{ github.repository_id }}
runtime:
- k8s
uses: ./.github/workflows/vault.yaml
with:
runs-on: "${{ matrix.scope }}-${{ matrix.architecture }}-${{ matrix.runtime }}"
self-hosted-org-vm:
needs: changes
if: ${{ needs.changes.outputs.vault == 'true' }}
strategy:
matrix:
architecture:
- x64
- arm64
uses: ./.github/workflows/vault.yaml
with:
runs-on: runs-on,runner=1cpu-linux-${{ matrix.architecture }},run-id=${{ github.run_id }}