Skip to content

Commit 90f77d3

Browse files
authored
Update stackhpc-all-in-one.yml
Change runs-on to be dynamic
1 parent 25f65ff commit 90f77d3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,18 @@ on:
8080
required: true
8181
OS_APPLICATION_CREDENTIAL_SECRET:
8282
required: true
83-
83+
workflow_dispatch:
84+
inputs:
85+
runner:
86+
required: false
87+
description: 'Runner name'
88+
default: 'arc-skc-aio-runner'
8489
jobs:
8590
# NOTE: Runner needs unzip and nodejs packages.
8691
all-in-one:
8792
name: All in one
8893
if: ${{ inputs.if && !cancelled() }}
89-
runs-on: [arc-skc-aio-runner, "${{ inputs.runner_var }}"]
94+
runs-on: ${{ inputs.runner }}
9095
permissions: {}
9196
env:
9297
KAYOBE_ENVIRONMENT: ci-aio
@@ -96,6 +101,7 @@ jobs:
96101
PREVIOUS_KAYOBE_IMAGE: ghcr.io/stackhpc/stackhpc-kayobe-config:stackhpc-2023.1
97102
# NOTE(upgrade): Reference the PREVIOUS release branch here.
98103
PREVIOUS_BRANCH: stackhpc/2023.1
104+
99105
steps:
100106
- name: Install Package
101107
uses: ConorMacBride/install-package@main

0 commit comments

Comments
 (0)