Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
support
deploy-runner
Commits
7ef854b0
Commit
7ef854b0
authored
Jan 25, 2021
by
cameo
Browse files
FIX runners tags
parent
424da3f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
register
View file @
7ef854b0
...
...
@@ -13,8 +13,8 @@ register_command_template = ("./gitlab-runner register "
"--tls-ca-file {cert_file} "
"--name '{hostname}-{project_name}' "
"--registration-token {token} "
"--builds-dir {runner_dir}"
"--tag-list {user},{hostname}
"
)
"--builds-dir {runner_dir}
"
"--tag-list {user},{hostname}"
)
def
main
():
default_hostname
=
os
.
getenv
(
'HOSTNAME'
).
split
(
'.'
)[
-
1
]
default_user
=
os
.
getenv
(
'USER'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment