Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/deploy-ccws-callable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ on:
default: "ccw"
type: string
workspace_ref:
description: "Git ref (branch/tag) to checkout"
description: "Git ref (branch/tag) to checkout (defaults to latest release)"
required: false
default: "2025.12.01"
type: string
htc_max_nodes:
description: "Maximum nodes for HTC partition"
Expand Down Expand Up @@ -193,13 +192,16 @@ jobs:
--scheduler-sku "$SCHEDULER_SKU"
--login-sku "$LOGIN_SKU"
--cluster-name "$CLUSTER_NAME"
--workspace-ref "$WORKSPACE_REF"
--htc-max-nodes "$HTC_MAX"
--hpc-max-nodes "$HPC_MAX"
--gpu-max-nodes "$GPU_MAX"
--bastion --accept-marketplace --no-az --silent
)

if [ -n "${WORKSPACE_REF}" ]; then
cmd+=(--workspace-ref "$WORKSPACE_REF")
fi

if [ -n "${IMAGE}" ]; then
cmd+=(--htc-image "$IMAGE")
cmd+=(--hpc-image "$IMAGE")
Expand Down Expand Up @@ -247,12 +249,14 @@ jobs:
--admin-username "hpcadmin"
--scheduler-sku "${{ inputs.scheduler_sku }}"
--login-sku "${{ inputs.login_sku }}"
--workspace-ref "${{ inputs.workspace_ref }}"
--htc-max-nodes "${{ inputs.htc_max_nodes }}"
--hpc-max-nodes "${{ inputs.hpc_max_nodes }}"
--gpu-max-nodes "${{ inputs.gpu_max_nodes }}"
--bastion --accept-marketplace --no-az --silent
)
if [ -n "${{ inputs.workspace_ref }}" ]; then
args+=(--workspace-ref "${{ inputs.workspace_ref }}")
fi
if [ -n "${{ inputs.image }}" ]; then
args+=(--htc-image "${{ inputs.image }}")
args+=(--hpc-image "${{ inputs.image }}")
Expand Down
Loading