Skip to content

Commit 8d4ee10

Browse files
committed
Add vm name to the manual test + smaller VM
1 parent 4550bc4 commit 8d4ee10

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/manual_test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
required: true
1010
machine_type:
1111
description: "GCE machine type: https://cloud.google.com/compute/docs/machine-types"
12-
default: "n1-standard-4"
12+
default: "n1-standard-1"
1313
required: true
1414
disk_size:
1515
description: VM disk size.
@@ -29,6 +29,10 @@ on:
2929
description: "Whether the GitHub actions have already been installed at `/actions-runner`."
3030
default: "false"
3131
required: true
32+
vm_name_prefix:
33+
description: Prefix of the name of created VM, final name is ${prefix}-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}
34+
default: "gce-gh-runner"
35+
required: true
3236

3337
jobs:
3438
create-runner:
@@ -51,7 +55,7 @@ jobs:
5155
no_external_address: ${{ inputs.no_external_address }}
5256
actions_preinstalled: ${{ inputs.actions_preinstalled }}
5357
shutdown_timeout: ${{ inputs.shutdown_timeout }}
54-
58+
vm_name_prefix: ${{ inputs.vm_name_prefix }}
5559
test:
5660
needs: create-runner
5761
runs-on: ${{ needs.create-runner.outputs.label }}

0 commit comments

Comments
 (0)