Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
install.api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Script
install.api
Commits
adae1c11
Commit
adae1c11
authored
Mar 14, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些bug
parent
5a4d9590
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install_service.py
app/install/install_service.py
+2
-2
No files found.
app/install/install_service.py
View file @
adae1c11
...
...
@@ -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
\
...
...
Write
Preview
Markdown
is supported
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