Skip to content

Commit

Permalink
chore(deps)!: update uds common support dependencies (#354)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Wayne Starr <me@racer159.com>
  • Loading branch information
renovate[bot] and Racer159 authored Dec 6, 2024
1 parent 4430e46 commit 511d894
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/callable-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
- name: Publish Packages/Bundles
run: |
if uds run --list | grep -q 'publish-package'; then
uds run publish-package --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
UDS_USE_CHECKPOINT=false uds run publish-package --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
else
uds run publish-release --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
UDS_USE_CHECKPOINT=false uds run publish-release --set FLAVOR=${{ inputs.flavor }} --no-progress ${{ inputs.options }}
fi
- name: Save logs
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ jobs:
upgrade-flavors: ${{ needs.check-flavor.outputs.upgrade-flavors }}
flavor: ${{ matrix.flavor }}
type: ${{ matrix.type }}
runsOn: uds-swf-ubuntu-big-boy-4-core
secrets: inherit # Inherits all secrets from the parent workflow.
2 changes: 1 addition & 1 deletion config/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"tasks/**/*.yaml",
"src/**/validate.yaml"
],
"https://raw.githubusercontent.com/defenseunicorns/zarf/v0.43.1/zarf.schema.json": [
"https://raw.githubusercontent.com/defenseunicorns/zarf/v0.44.0/zarf.schema.json": [
"zarf.yaml"
]
},
Expand Down
2 changes: 1 addition & 1 deletion tasks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pinning to a specific tag of a task (rather than `main`) with renovate watching
## Supported Tool Versions

- UDS CLI: 0.19.2
- UDS Core: 0.32.0
- UDS Core: 0.32.1
- K3D: 5.7.5
- Lula: 0.12.0

Expand Down
16 changes: 13 additions & 3 deletions tasks/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

variables:
- name: KEYCLOAK_GROUP
- name: USE_CHECKPOINT
default: "true"

tasks:
- name: k3d-test-cluster
Expand All @@ -11,26 +13,34 @@ tasks:
version:
description: The version of k3d-core-slim-dev to deploy
# renovate: datasource=github-tags depName=defenseunicorns/uds-core versioning=semver
default: 0.32.0
default: 0.32.1
snapshots:
description: Whether to pull from the nightly snapshot repository
default: "false"
insecure_keycloak_admin:
description: Automatically set a keycloak admin username / password
default: "true"
use_checkpoint:
description: Whether to use the checkpoint release for faster cluster starts on Linux
default: ${USE_CHECKPOINT}
options:
description: For setting deploy time variables and flags
actions:
- description: Create k3d cluster with slim UDS Core
cmd: ./uds deploy oci://defenseunicorns/uds/${{ if eq .inputs.snapshots "true" }}snapshots/${{ end }}bundles/k3d-core-slim-dev:${{ .inputs.version }} --set INSECURE_ADMIN_PASSWORD_GENERATION=${{ .inputs.insecure_keycloak_admin }} --confirm --no-progress ${{ .inputs.options }}
cmd: |
if [ "$(uname -s)" = "Linux" ] && [ "${{ .inputs.use_checkpoint }}" = "true" ] && [ "${{ .inputs.snapshots }}" = "false" ]; then
./uds zarf package deploy oci://ghcr.io/defenseunicorns/dev/uds/checkpoints/k3d-core-slim-dev:${{ .inputs.version }} --confirm --no-progress ${{ .inputs.options }}
else
./uds deploy oci://defenseunicorns/uds/${{ if eq .inputs.snapshots "true" }}snapshots/${{ end }}bundles/k3d-core-slim-dev:${{ .inputs.version }} --set INSECURE_ADMIN_PASSWORD_GENERATION=${{ .inputs.insecure_keycloak_admin }} --confirm --no-progress ${{ .inputs.options }}
fi
- name: k3d-full-cluster
description: Creates a k3d cluster for testing based on the K3d + UDS Core Full bundle
inputs:
version:
description: The version of k3d-core-demo to deploy
# renovate: datasource=github-tags depName=defenseunicorns/uds-core versioning=semver
default: 0.32.0
default: 0.32.1
snapshots:
description: Whether to pull from the nightly snapshot repository
default: "false"
Expand Down
2 changes: 1 addition & 1 deletion templates/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ publish:
echo Running $TASK_NAME "${ARGS[@]}" ${OPTIONS}
uds run $TASK_NAME "${ARGS[@]}" ${OPTIONS}
UDS_USE_CHECKPOINT=false uds run $TASK_NAME "${ARGS[@]}" ${OPTIONS}
# Create tag and release
- |
Expand Down

0 comments on commit 511d894

Please sign in to comment.