Add selfhoted as runner label
This commit is contained in:
parent
9c6981accf
commit
a7a807cb0a
|
@ -123,7 +123,7 @@ class podmanrunner::runner (
|
||||||
exec { "${user}${userpostfix}-register-runner":
|
exec { "${user}${userpostfix}-register-runner":
|
||||||
command => "${sdrun} /bin/bash -c 'podman run -it --rm -u podman -v ./runnerdata:/data:Z localhost/podmanrunner:3.3.0 /bin/bash -c \
|
command => "${sdrun} /bin/bash -c 'podman run -it --rm -u podman -v ./runnerdata:/data:Z localhost/podmanrunner:3.3.0 /bin/bash -c \
|
||||||
\"date >> /data/register.log && forgejo-runner --config /data/config.yml register --no-interactive \
|
\"date >> /data/register.log && forgejo-runner --config /data/config.yml register --no-interactive \
|
||||||
--token ${userdata["token"]} --name runner1 --instance ${userdata["url"]} 1>>/data/register.log 2>&1\"'",
|
--token ${userdata["token"]} --name runner1 --labels self-hosted --instance ${userdata["url"]} 1>>/data/register.log 2>&1\"'",
|
||||||
path => '/usr/bin:/usr/sbin:/bin',
|
path => '/usr/bin:/usr/sbin:/bin',
|
||||||
provider => shell,
|
provider => shell,
|
||||||
logoutput => false,
|
logoutput => false,
|
||||||
|
|
Loading…
Reference in a new issue