Skip to content

feat: add checkpoint uds-core slim package #22

feat: add checkpoint uds-core slim package

feat: add checkpoint uds-core slim package #22

Workflow file for this run

name: Checkpoint UDS Core
on:
pull_request: # TODO: TEMP @WSTARR
# 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]
# triggered by tag-and-release.yaml
workflow_call:
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 -f tasks/deploy.yaml 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 -f tasks/deploy.yaml checkpoint-package --no-progress
npm ci
uds run test:slim-dev --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.architecture }}
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: checkpoint-pkg-${{ matrix.architecture }}
path: |
build/zarf-package-k3d-core-slim-dev-${{ matrix.architecture }}-0.28.0.tar.zst