Skip to content

UDS Core Smoke Test #76

UDS Core Smoke Test

UDS Core Smoke Test #76

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- name: Setup golang
uses: ./.github/actions/golang
- name: Install UDS CLI
uses: ./.github/actions/install-uds-cli
- name: Build UDS-CLI binary
run: uds run build-cli-linux-amd
- name: Make UDS-CLI executable
run: |
chmod +x build/uds
- name: install-k3d
run: "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash"
shell: bash
- name: Deploy UDS Core bundle
# renovate: datasource=github-tags depName=defenseunicorns/uds-core versioning=semver
run: build/uds deploy k3d-core-istio-dev:0.16.1 --confirm
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