feat: implement graceful, modifiable UDS Core CoreDNS overrides #118
Workflow file for this run
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
name: Test UDS Capability | |
on: | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "docs/**" | |
- "CODEOWNERS" | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
test-clean-install: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: ["rancher/k3s"] | |
version: ["v1.29.8-k3s1", "v1.30.4-k3s1", "v1.31.0-k3s1"] | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup UDS | |
if: always() | |
uses: defenseunicorns/uds-common/.github/actions/setup@ea9db8ab9bfc4a5d87acd7d1af385aa8e44206d3 # v0.13.0 | |
with: | |
username: ${{secrets.IRON_BANK_ROBOT_USERNAME}} | |
password: ${{secrets.IRON_BANK_ROBOT_PASSWORD}} | |
# Step is not currently being used, could be uncommented if custom image support is needed in the future | |
# - name: Build the custom k3s image | |
# if: ${{matrix.image}} != "rancher/k3s" | |
# run: uds run build-image --set VERSION=${{matrix.version}} --no-progress | |
- name: Create and deploy the uds-k3d package | |
run: uds run --set IMAGE_NAME=${{matrix.image}} --set VERSION=${{matrix.version}} --no-progress | |
- name: Validate uds-k3d package | |
run: uds run validate --no-progress |