Skip to content

Commit 61011bf

Browse files
committed
Make SMS the default runner environment
1 parent 6e720be commit 61011bf

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ name: All in one
77
on:
88
workflow_call:
99
inputs:
10-
runner:
11-
required: false
10+
runner_env:
11+
description: Which cloud to run on?
1212
type: string
13-
description: 'Runner name'
14-
default: 'arc-skc-aio-runner'
13+
default: SMS Lab
1514
kayobe_image:
1615
description: Kayobe container image
1716
type: string
@@ -87,11 +86,18 @@ on:
8786
required: true
8887

8988
jobs:
89+
runner-selection:
90+
uses: ./.github/workflows/runner-selector.yml
91+
with:
92+
runner_env: ${{ inputs.runner_env }}
9093
# NOTE: Runner needs unzip and nodejs packages.
9194
all-in-one:
9295
name: All in one
9396
if: ${{ inputs.if && !cancelled() }}
94-
runs-on: ${{ inputs.runner }}
97+
environment: ${{ inputs.runner_env }}
98+
runs-on: ${{ needs.runner-selection.outputs.runner_name_aio }}
99+
needs:
100+
- runner-selection
95101
permissions: {}
96102
env:
97103
KAYOBE_ENVIRONMENT: ci-aio

0 commit comments

Comments
 (0)