Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
deploy
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
deploy
Commits
675ded87
Commit
675ded87
authored
Feb 11, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释代理的代码
parent
4b1a19e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
init.py
init.py
+6
-6
No files found.
init.py
View file @
675ded87
...
@@ -7,16 +7,16 @@ from set_proxy import set_linux_global_proxy, set_docker_service_proxy, set_doce
...
@@ -7,16 +7,16 @@ from set_proxy import set_linux_global_proxy, set_docker_service_proxy, set_doce
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
HSCUSCODE
,
ip_and_port
=
init_env
()
HSCUSCODE
,
ip_and_port
=
init_env
()
set_linux_global_proxy
(
ip_and_port
)
#
set_linux_global_proxy(ip_and_port)
#
set_docker_service_proxy
(
ip_and_port
)
#
set_docker_service_proxy(ip_and_port)
#
set_docekr_container_proxy
(
ip_and_port
)
#
set_docekr_container_proxy(ip_and_port)
# 执行一次,设置国内镜像先
# 执行一次,设置国内镜像先
install_docker
()
install_docker
()
install_runner
(
HSCUSCODE
)
install_runner
(
HSCUSCODE
)
set_gitlab_runner_git_proxy
(
ip_and_port
)
#
set_gitlab_runner_git_proxy(ip_and_port)
# install_docker()
# install_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