-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add UDS Core smoke test (#474)
- Loading branch information
1 parent
dc3576d
commit d96623e
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
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: 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 |