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
9c592e24
Commit
9c592e24
authored
Mar 20, 2020
by
金凯强
🎨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试模块
parent
f4cfb5c9
Pipeline
#21121
passed with stage
in 23 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
info_service.py
app/info/info_service.py
+0
-3
docker_entry.sh
docker_entry.sh
+1
-1
No files found.
app/info/info_service.py
View file @
9c592e24
...
@@ -155,12 +155,9 @@ from app_upgrade_log A
...
@@ -155,12 +155,9 @@ from app_upgrade_log A
order by A.default_version desc, A.upgrade_time desc
order by A.default_version desc, A.upgrade_time desc
'''
'''
print
(
'--1--'
)
with
db_driver
as
session
:
with
db_driver
as
session
:
print
(
'--2--'
)
data
=
session
.
query_sql
(
sql
)
data
=
session
.
query_sql
(
sql
)
count_data
=
session
.
retrive_sql
(
count_sql
)
count_data
=
session
.
retrive_sql
(
count_sql
)
print
(
'--3--'
)
page_data
=
{
page_data
=
{
"paging"
:
{
"paging"
:
{
...
...
docker_entry.sh
View file @
9c592e24
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
nohup
python
-u
upgradeDB.py
>
upgrade_log.log 2>&1 &
nohup
python
-u
upgradeDB.py
>
upgrade_log.log 2>&1 &
if
[
-z
"
$THREADS
"
]
;
then
if
[
-z
"
$THREADS
"
]
;
then
THREADS
=
1
THREADS
=
50
fi
fi
if
[
-z
"
$WORKER
"
]
;
then
if
[
-z
"
$WORKER
"
]
;
then
...
...
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