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
19d52cf1
Commit
19d52cf1
authored
Mar 12, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
82a0a5c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
43 deletions
+43
-43
upgrade_service.py
app/upgrade/upgrade_service.py
+43
-43
No files found.
app/upgrade/upgrade_service.py
View file @
19d52cf1
...
@@ -34,7 +34,7 @@ class UpgradeService():
...
@@ -34,7 +34,7 @@ class UpgradeService():
image_info_list
=
session
.
query_sql
(
sql
)
image_info_list
=
session
.
query_sql
(
sql
)
# 找出升级版本号
# 找出升级版本号
upgrade_no
=
data
.
get
(
'upgrade_no
'
)
upgrade_no
=
data
.
get
(
'
'
)
# 找到这个版本备份的compose文件
# 找到这个版本备份的compose文件
docker_compose_file_dir
=
self
.
find_compose_by_upgrade_no
(
upgrade_no
)
docker_compose_file_dir
=
self
.
find_compose_by_upgrade_no
(
upgrade_no
)
...
...
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