Skip to content

UDS Core Smoke Test #228

UDS Core Smoke Test

UDS Core Smoke Test #228

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
strategy:
matrix:
type: [with-cluster, without-cluster]
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
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: Setup K3d
uses: ./.github/actions/k3d
with:
create-cluster: "${{ matrix.type == 'with-cluster' && 'true' || 'false'}}"
- name: Run UDS Core smoke test
run: build/uds run test:ci-uds-core-smoke-test
shell: bash