Commit 7ef854b0 authored by cameo's avatar cameo
Browse files

FIX runners tags

parent 424da3f1
...@@ -13,8 +13,8 @@ register_command_template = ("./gitlab-runner register " ...@@ -13,8 +13,8 @@ register_command_template = ("./gitlab-runner register "
"--tls-ca-file {cert_file} " "--tls-ca-file {cert_file} "
"--name '{hostname}-{project_name}' " "--name '{hostname}-{project_name}' "
"--registration-token {token} " "--registration-token {token} "
"--builds-dir {runner_dir}" "--builds-dir {runner_dir} "
"--tag-list {user},{hostname} ") "--tag-list {user},{hostname}")
def main(): def main():
default_hostname = os.getenv('HOSTNAME').split('.')[-1] default_hostname = os.getenv('HOSTNAME').split('.')[-1]
default_user = os.getenv('USER') default_user = os.getenv('USER')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment