-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (63 loc) · 2.12 KB
/
build-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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: Test UDS Capability
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
paths:
- "packages/init"
- "packages/uds-rke2"
- "tasks"
- ".github/workflows/build-test.yaml"
- "tasks.yaml"
concurrency:
group: build-test-${{ github.ref }}
cancel-in-progress: true
jobs:
test-clean-install:
runs-on: ubuntu-latest
name: Test Build and Install
permissions:
id-token: write
contents: write
packages: write
steps:
- name: Maximize GitHub Runner Space
uses: justinthelaw/maximize-github-runner-space@f1181577375d1bdbf1897db6295f50ff34fdc94a # v0.1.1
with:
# Standard package removal actions
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"
remove-codeql: "true"
remove-docker-images: "true"
# Custom removal actions
remove-large-packages: "true"
remove-swapfile: "true"
remove-cached-tools: "true"
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup UDS
if: always()
uses: ./.github/actions/setup
with:
registry1Username: ${{secrets.IRON_BANK_ROBOT_USERNAME}}
registry1Password: ${{secrets.IRON_BANK_ROBOT_PASSWORD}}
ghToken: ${{ secrets.GITHUB_TOKEN }}
- name: Create Default LVM for LPP
run: |
sudo uds run setup:create-lvm
- name: Create Default TLS Cert
run: |
sudo uds run create:tls-cert-dev
- name: Deploy the UDS RKE2 Cluster and Infrastructure
run: |
sudo uds run test:uds-rke2 --set VERSION=dev --no-progress --log-level warn -a amd64
- name: Deploy the `local-path` Flavor Custom Zarf Init
run: |
sudo uds run test:local-path-minio-init --set VERSION=dev --no-progress --log-level warn -a amd64
- name: Deploy the LeapfrogAI-specific Packages
run: |
sudo uds run test:leapfrogai-specific-packages --set VERSION=dev --no-progress --log-level warn -a amd64