Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qa-deploy-utils
Commits
773aa7ff
Commit
773aa7ff
authored
Oct 25, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a9358148
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
db_schema_sync.sh
db-utils/db_schema_sync.sh
+3
-3
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+1
-1
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+4
-1
No files found.
db-utils/db_schema_sync.sh
View file @
773aa7ff
...
...
@@ -73,7 +73,6 @@ function db_schema_sync()
echo
"target infos:
$target_db_host
$target_db_user
"
echo
"database_name is :
$sync_db_name
"
echo
"delete_business_data :
$delete_business_data
"
echo
"sync_db_mall :
$sync_db_mall
"
sh
$work_dir
/db_gen_config.sh
$source_db_host
$source_db_user
$source_db_pwd
$target_db_host
$target_db_user
$target_db_pwd
$database
$config_file_name
$db_backup_sub_folders
...
...
@@ -116,8 +115,8 @@ then
db_schema_sync
$db_name
run_sql_file
$db_name
echo
"--- end sync
$db_name
---"
echo
"----------------------------------------------------"
done
echo
"----------------------------------------------------"
elif
[[
"
$sync_db_name
"
=
"all(no_mall)"
]]
;
then
echo
"sync all(no_mall) database schema"
echo
"database_list:
${
database_list2
[@]
}
"
...
...
@@ -130,6 +129,7 @@ elif [[ "$sync_db_name" = "all(no_mall)" ]];then
echo
"--- end sync
$db_name
---"
echo
"----------------------------------------------------"
done
echo
"----------------------------------------------------"
else
db_schema_sync
$sync_db_name
run_sql_file
$sync_db_name
...
...
qa_shell_script/config_server/get_project_config.js
View file @
773aa7ff
...
...
@@ -104,7 +104,7 @@ new pClass().init(true, "java", "7074", "", "account-center",false, "QG", "accou
new
pClass
().
init
(
true
,
"
java
"
,
"
7079
"
,
""
,
"
user_credit
"
,
false
,
"
QG
"
,
"
user_credit.log
"
,
"
application.properties
"
,
"
/dev/null 2>&1 &
"
,
null
,
2
,
"
用户升级-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
true
,
"
java
"
,
"
7076
"
,
""
,
"
urge_dispatcher
"
,
true
,
"
data-riskcontrol
"
,
"
dispatcher.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
催收系统
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
true
,
"
java
"
,
"
7081
"
,
""
,
"
wechat-config
"
,
true
,
"
fund_pay
"
,
"
wechat-config.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
微信消息推送系统
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
tru
e
,
"
java
"
,
"
7082
"
,
""
,
"
clotho
"
,
true
,
"
funding
"
,
"
clotho.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
资金方统计相关功能
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
fals
e
,
"
java
"
,
"
7082
"
,
""
,
"
clotho
"
,
true
,
"
funding
"
,
"
clotho.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
资金方统计相关功能
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
// ui----
new
pClass
().
init
(
true
,
"
ui
"
,
"
7032
"
,
""
,
"
op-ui
"
,
false
,
"
QG
"
,
null
,
"
src/js/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统-ui
"
,
""
,
""
,
""
);
...
...
qa_shell_script/exception_sub_shell.sh
View file @
773aa7ff
...
...
@@ -61,7 +61,10 @@ tranceConfig ui "192.168.4.12:7043" "xyqb-user-ui-12.q-gp.com" "192.168.4.12" "
#4.13
#tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.13" "xyqb-mall.properties"
tranceConfig java
"red.packet.id=10000115"
"red.packet.id=56"
"192.168.4.13"
"xyqb-mall.properties"
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"red.packet.id=10000115"
"red.packet.id=56"
"192.168.4.13"
"xyqb-mall.properties"
tranceConfig java
"spring.rabbitmq.host = 192.168.4.13"
"spring.rabbitmq.host =192.168.4.158"
"192.168.4.13"
"silk-road-caller.properties"
#tranceConfig java "lkb.model.url=http:\/\/192.168.4.202\/Model\/openapi" "lkb.model.url=http:\/\/192.168.4.13:8090\/Model\/openapi" "192.168.4.13" "baitiao.properties"
#tranceConfig java "xyqb.model.url=http:\/\/192.168.4.202\/Model\/openapi" "xyqb.model.url=http:\/\/192.168.4.13:8090\/Model\/openapi" "192.168.4.13" "baitiao.properties"
tranceConfig java
"wx89894cd83d117b26"
"wx5b2e77c58fdcf1a5"
"192.168.4.13"
"xyqb-user2.properties"
...
...
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