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
81938e7d
Commit
81938e7d
authored
Nov 18, 2021
by
jinkaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换gitlab-runner镜像地址,原来的版本镜像被改到超级大
parent
80f90e3b
Pipeline
#52757
passed with stages
in 1 minute and 27 seconds
Changes
1
Pipelines
1
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 @
81938e7d
...
@@ -46,7 +46,7 @@ class InstallService(HSBaseUCService):
...
@@ -46,7 +46,7 @@ class InstallService(HSBaseUCService):
:return:
:return:
'''
'''
self
.
delete_setting_file
()
self
.
delete_setting_file
()
s1
=
os
.
system
(
"docker run --rm -i -v /etc/gitlab-runner:/etc/gitlab-runner
gitlab
/gitlab-runner register
\
s1
=
os
.
system
(
"docker run --rm -i -v /etc/gitlab-runner:/etc/gitlab-runner
47.110.145.204:8084/huansi
/gitlab-runner register
\
-n -u http://47.110.145.204:8085/ -r WwpzH4qk19KjvAjEwoTz --executor docker --docker-image docker
\
-n -u http://47.110.145.204:8085/ -r WwpzH4qk19KjvAjEwoTz --executor docker --docker-image docker
\
--description huansi.{hscode}
\
--description huansi.{hscode}
\
--tag-list huansi.{hscode}"
.
format
(
hscode
=
HSCUSCODE
))
--tag-list huansi.{hscode}"
.
format
(
hscode
=
HSCUSCODE
))
...
@@ -71,7 +71,7 @@ class InstallService(HSBaseUCService):
...
@@ -71,7 +71,7 @@ class InstallService(HSBaseUCService):
raise
HSException
(
'项目信息未查到,请先配置'
)
raise
HSException
(
'项目信息未查到,请先配置'
)
project_code
=
project_info
[
'project_no'
]
project_code
=
project_info
[
'project_no'
]
self
.
delete_setting_file
()
self
.
delete_setting_file
()
s1
=
os
.
system
(
"docker run --rm -i -v /etc/gitlab-runner:/etc/gitlab-runner
gitlab
/gitlab-runner register
\
s1
=
os
.
system
(
"docker run --rm -i -v /etc/gitlab-runner:/etc/gitlab-runner
47.110.145.204:8084/huansi
/gitlab-runner register
\
-n -u http://47.110.145.204:8085/ -r WwpzH4qk19KjvAjEwoTz --executor docker --docker-image docker
\
-n -u http://47.110.145.204:8085/ -r WwpzH4qk19KjvAjEwoTz --executor docker --docker-image docker
\
--description huansi.{hscode}
\
--description huansi.{hscode}
\
--tag-list huansi.{hscode}"
.
format
(
hscode
=
project_code
))
--tag-list huansi.{hscode}"
.
format
(
hscode
=
project_code
))
...
...
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