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
e9085a2d
Commit
e9085a2d
authored
Dec 26, 2020
by
jinkaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在推送的时候已经是内网环境了,这时候不能执行checkout操作,不然会连不上外网服务器
parent
560eee29
Pipeline
#31266
passed with stage
in 22 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
upgrade_service.py
app/upgrade/upgrade_service.py
+2
-1
No files found.
app/upgrade/upgrade_service.py
View file @
e9085a2d
...
@@ -522,7 +522,8 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
...
@@ -522,7 +522,8 @@ docker-compose -f /data/upgrade_tools_data/backup/{upgrade_no}/docker-compose.ym
# 本地机制
# 本地机制
# 取compose中的所有app
# 取compose中的所有app
application_service
=
ApplicationService
()
application_service
=
ApplicationService
()
application_service
.
checkout
(
project_no
)
# 2020年12月26日08:55:33 在推送的时候已经是内网环境了,这时候不能执行checkout操作,不然会连不上外网服务器
# application_service.checkout(project_no)
compose_content
=
application_service
.
get_compose_content
()
compose_content
=
application_service
.
get_compose_content
()
deploy_image_list
=
[]
deploy_image_list
=
[]
...
...
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