Skip to content

feat: add checkpoint uds-core slim package #2

feat: add checkpoint uds-core slim package

feat: add checkpoint uds-core slim package #2

Workflow file for this run

name: Checkpoint UDS Core
on:
# triggered by tag-and-release.yaml
workflow_call:
# TODO: (@WSTARR) TEMP TESTING!
pull_request:
# milestoned is added here as a workaround for release-please not triggering PR workflows (PRs should be added to a milestone to trigger the workflow).
types: [milestoned, opened, reopened, synchronize]
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- docs/**
- .vscode/**
- .gitignore
- renovate.json
- .release-please-config.json
- release-please-config.json
- CODEOWNERS
- LICENSE
jobs:
publish-uds-core:
strategy:
matrix:
architecture: [amd64, arm64]
runs-on: ${{ matrix.architecture == 'arm64' && 'uds-ubuntu-arm64-4-core' || 'uds-ubuntu-big-boy-4-core' }}
name: Publish checkpoint
permissions:
contents: read
packages: write
id-token: write # This is needed for OIDC federation.
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Environment setup
uses: ./.github/actions/setup
with:
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}
ghToken: ${{ secrets.GITHUB_TOKEN }}
chainguardIdentity: ${{ secrets.CHAINGUARD_IDENTITY }}
- name: Deploy K3d + UDS Core Slim Bundle
run: |
uds run deploy:latest-slim-bundle-release --no-progress
- name: Create Checkpoint Package
run: |
uds run -f tasks/create.yaml checkpoint-dev-package --no-progress
- name: Test Checkpoint Package
run: |
uds run deploy:checkpoint-package --no-progress
uds run -f src/istio/tasks.yaml validate --no-progress
uds run -f src/keycloak/tasks.yaml validate --no-progress
uds run -f src/pepr/tasks.yaml validate --no-progress
- name: Debug Output
if: always()
uses: ./.github/actions/debug-output
# - name: Publish Checkpoint Package
# run: uds run -f tasks/publish.yaml checkpoint-package --no-progress
- name: Save logs
if: always()
uses: ./.github/actions/save-logs
with:
suffix: -${{ matrix.flavor }}