-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1.16 KB
/
test.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
name: Test package
on:
pull_request:
types: [opened, synchronize, reopened]
# Abort prior jobs in the same workflow / PR
concurrency:
group: test-${{ github.ref }}-${{ inputs.package }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: "uds-ubuntu-big-boy-16-core"
name: Test
strategy:
matrix:
flavor: [upstream, registry1]
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Environment setup
uses: ./.github/actions/setup
with:
username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}
- name: Standup k3d Cluster and UDS Package Gitlab and Deploy UDS Gitlab Runner
run: uds run default --set FLAVOR=${{ matrix.flavor }}
- name: Run Health Check Tests for Gitlab and Gitlab Runner
run: uds run test-package
- name: Cleanup the k3d Cluster
if: always()
run: uds run cleanup-cluster
- name: Save logs
if: always()
uses: ./.github/actions/save-logs