-
Notifications
You must be signed in to change notification settings - Fork 11
47 lines (38 loc) · 1.37 KB
/
nightly-uds-core.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: UDS Core Smoke Test
on:
schedule:
- cron: '0 7 * * *' ## Every day at 0700 UTC
workflow_dispatch:
permissions:
contents: read
# Abort prior jobs in the same workflow / PR
concurrency:
group: uds-core-${{ github.ref }}
cancel-in-progress: true
jobs:
uds-core-test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
fetch-depth: 0
- name: Build UDS-CLI binary
run: make build-cli-linux-amd ARCH=amd64
- name: Make UDS-CLI executable
run: |
chmod +x build/uds
- name: Setup K3d
uses: ./.github/actions/k3d
- name: Deploy UDS Core bundle
# renovate: datasource=github-tags depName=defenseunicorns/uds-core versioning=semver
run: build/uds deploy ghcr.io/defenseunicorns/packages/uds/bundles/k3d-core-istio-dev:0.13.1 --confirm --no-progress
shell: bash
- name: Validate UDS Core deployment
run: |
build/uds zarf tools wait-for gateway admin-gateway -n istio-admin-gateway --timeout 10s
build/uds zarf tools wait-for gateway passthrough-gateway -n istio-passthrough-gateway --timeout 10s
build/uds zarf tools wait-for gateway tenant-gateway -n istio-tenant-gateway --timeout 10s
shell: bash