Commit adae1c11 authored by 金凯强's avatar 金凯强 🎨

修复一些bug

parent 5a4d9590
......@@ -21,7 +21,7 @@ class InstallService(HSBaseUCService):
if not project_info:
raise HSException('项目信息未查到,请先配置')
project_code = project_info['project_no']
self.install_huansi_runner(project_code)
return self.install_huansi_runner(project_code)
def install_huansi_runner(self, HSCUSCODE):
'''
......@@ -29,7 +29,7 @@ class InstallService(HSBaseUCService):
:param HSCUSCODE:
:return:
'''
time.sleep(15)
time.sleep(60)
self.delete_setting_file()
s1 = os.system("docker run --rm -t -i -v /etc/gitlab-runner:/etc/gitlab-runner gitlab/gitlab-runner register \
-n -u http://47.110.145.204:8085/ -r WwpzH4qk19KjvAjEwoTz --executor docker --docker-image docker \
......
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