Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 37f51b0

Browse files
author
Shimon Ohayon
committed
add support for differnet naming for each runner
1 parent 47ae0d6 commit 37f51b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Telefonica-github_actions_runner",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"author": "Shimon Ohayon",
55
"summary": "Module to configure our GitHub Actions runner on Debian hosts",
66
"license": "Apache-2.0",

templates/configure_install_runner.sh.epp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ export RUNNER_ALLOW_RUNASROOT=true
2222
<%= $root_dir %>/<%= $instance_name %>/config.sh remove \
2323
--url <%= $url %> \
2424
--token ${TOKEN} \
25-
--name <%= $hostname %> &>/dev/null
25+
--name <%= $hostname %>-<%= $instance_name %> &>/dev/null
2626

2727

2828
# Configure the runner.
2929
<%= $root_dir %>/<%= $instance_name %>/config.sh \
3030
--unattended \
3131
--replace \
32-
--name <%= $hostname %> \
32+
--name <%= $hostname %>-<%= $instance_name %> \
3333
--url <%= $url %> \
3434
--token ${TOKEN} \
3535
<%= $assured_labels %> &>/dev/null

0 commit comments

Comments
 (0)