Skip to content

Commit c2325f9

Browse files
authored
Merge pull request #2037 from stackhpc/feat/workflow-multinode-small
add small Multinode workflow input: 1 controller, 1 compute
2 parents 0b02c4c + 21b584b commit c2325f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/stackhpc-multinode.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ name: Multinode
5353
description: terraform-kayobe-multinode version
5454
type: string
5555
default: main
56+
small_cluster:
57+
description: Create cluster with only 1 controller, 1 compute
58+
default: 'false'
59+
type: boolean
5660
jobs:
5761
multinode:
5862
name: Multinode
@@ -73,4 +77,6 @@ jobs:
7377
stackhpc_kayobe_config_previous_version: ${{ inputs.upgrade == 'major' && 'stackhpc/2024.1' || 'stackhpc/2025.1' }}
7478
terraform_kayobe_multinode_version: ${{ inputs.terraform_kayobe_multinode_version }}
7579
terraform_kayobe_multinode_previous_version: ${{ inputs.upgrade == 'major' && 'stackhpc/2024.1' || 'main' }}
80+
multinode_controller_count: ${{ inputs.small_cluster && 1 || 3 }}
81+
multinode_compute_count: ${{ inputs.small_cluster && 1 || 3 }}
7682
secrets: inherit

0 commit comments

Comments
 (0)