Skip to content

Commit cadecc9

Browse files
committed
refactor: set runs-on
Signed-off-by: Gabor Boros <gabor@opencraft.com>
1 parent 08bdc2b commit cadecc9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cluster-template/phd-{{cookiecutter.cluster_slug_normalized}}-cluster/.github/workflows/create-instance.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ on:
3131
description: "PHD CLI version"
3232
default: "main"
3333
type: string
34+
RUNNER_WORKFLOW_LABEL:
35+
description: 'The label of the runner workflow to run'
36+
required: false
37+
default: "{{ cookiecutter.runner_workflow_label }}"
38+
type: string
3439

3540
jobs:
3641
create-instance:
@@ -63,3 +68,4 @@ jobs:
6368
EDX_PLATFORM_VERSION: "{% raw %}${{ inputs.EDX_PLATFORM_VERSION }}{% endraw %}"
6469
TUTOR_VERSION: "{% raw %}${{ inputs.TUTOR_VERSION }}{% endraw %}"
6570
PHD_CLI_VERSION: "{% raw %}${{ inputs.PHD_CLI_VERSION }}{% endraw %}"
71+
RUNNER_WORKFLOW_LABEL: "{% raw %}${{ inputs.RUNNER_WORKFLOW_LABEL }}{% endraw %}"

cluster-template/phd-{{cookiecutter.cluster_slug_normalized}}-cluster/.github/workflows/delete-instance.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: "PHD CLI version"
1212
default: "main"
1313
type: string
14+
RUNNER_WORKFLOW_LABEL:
15+
description: 'The label of the runner workflow to run'
16+
required: false
17+
default: "{{ cookiecutter.runner_workflow_label }}"
18+
type: string
1419

1520
jobs:
1621
delete-instance:
@@ -37,3 +42,4 @@ jobs:
3742
with:
3843
INSTANCE_NAME: "{% raw %}${{ inputs.INSTANCE_NAME }}{% endraw %}"
3944
PHD_CLI_VERSION: "{% raw %}${{ inputs.PHD_CLI_VERSION }}{% endraw %}"
45+
RUNNER_WORKFLOW_LABEL: "{% raw %}${{ inputs.RUNNER_WORKFLOW_LABEL }}{% endraw %}"

0 commit comments

Comments
 (0)