forked from defenseunicorns/uds-k3d
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 1001 Bytes
/
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
name: Test UDS Capability
on:
pull_request:
paths-ignore:
- "**.md"
- "docs/**"
- "CODEOWNERS"
jobs:
test-clean-install:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
matrix:
version:
["v1.28.8-k3s1", "v1.29.8-k3s1", "v1.30.4-k3s1", "v1.31.0-k3s1"]
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Setup UDS
uses: defenseunicorns/uds-common/.github/actions/setup@e3008473beab00b12a94f9fcc7340124338d5c08 # v0.13.1
with:
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}
ghToken: ${{ secrets.GITHUB_TOKEN }}
- name: Create and deploy the uds-k3d package
run: uds run --set K3S_IMAGE_VERSION=${{matrix.version}} --no-progress
- name: Validate uds-k3d package
run: uds run validate --no-progress