Commit 424da3f1 authored by cameo's avatar cameo
Browse files

Merge branch '1-update-gitlab-runner-binary' into 'master'

Resolve "Update gitlab runner binary"

Closes #1

See merge request support/deploy-runner!1
parents 2c9d25b1 a0598ae6
...@@ -4,7 +4,7 @@ import subprocess ...@@ -4,7 +4,7 @@ import subprocess
import os import os
import shlex import shlex
register_command_template = ("./gitlab-ci-multi-runner register " register_command_template = ("./gitlab-runner register "
"--non-interactive " "--non-interactive "
"--locked " "--locked "
"--executor shell " "--executor shell "
......
...@@ -4,7 +4,7 @@ import subprocess ...@@ -4,7 +4,7 @@ import subprocess
import os import os
import shlex import shlex
run_command_template = ("./gitlab-ci-multi-runner run " run_command_template = ("./gitlab-runner run "
"--config {config_path} ") "--config {config_path} ")
def main(): def main():
default_hostname = os.getenv('HOSTNAME').split('.')[-1] default_hostname = os.getenv('HOSTNAME').split('.')[-1]
......
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