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
c4d763f2
Commit
c4d763f2
authored
Sep 26, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8aef9d7d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
4 deletions
+26
-4
buildUi.sh
qa_shell_script/base_script/buildUi.sh
+10
-3
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+3
-0
initial_mq.sh
qa_shell_script/rabbitmq/initial_mq.sh
+12
-0
wechat_make.sh
qa_shell_script/special_env_make/wechat_make.sh
+1
-1
No files found.
qa_shell_script/base_script/buildUi.sh
View file @
c4d763f2
...
@@ -26,10 +26,17 @@ if [ -n "$package_check_file" ];then
...
@@ -26,10 +26,17 @@ if [ -n "$package_check_file" ];then
echo
"本次package无变更"
echo
"本次package无变更"
else
else
echo
"本次package有变更,将要执行npm install"
echo
"本次package有变更,将要执行npm install"
if
[
"
$node_version
"
=
"node4"
]
;
then
#if [ "$node_version" = "node4" ] ;then
echo
"node-V4-
${
node4_path
}
/npm install"
# echo "node-V4-${node4_path}/npm install"
${
node4_path
}
/npm
--registry
http://172.16.3.15:4873
install
# ${node4_path}/npm --registry http://172.16.3.15:4873 install
#else
# npm --registry http://172.16.3.15:4873 install
#fi
if
[
$project
=
'cuishou-ui-new'
]
;
then
echo
"npm --registry http://registry.npm.taobao.org install"
npm
--registry
http://registry.npm.taobao.org
install
else
else
echo
"npm --registry http://172.16.3.15:4873 install"
npm
--registry
http://172.16.3.15:4873
install
npm
--registry
http://172.16.3.15:4873
install
fi
fi
fi
fi
...
...
qa_shell_script/config_server/get_project_config.js
View file @
c4d763f2
...
@@ -101,6 +101,7 @@ new pClass().init(true, "java", "7069", "", "notify", true, "fund_pay", "notify.
...
@@ -101,6 +101,7 @@ new pClass().init(true, "java", "7069", "", "notify", true, "fund_pay", "notify.
new
pClass
().
init
(
true
,
"
java
"
,
"
7071
"
,
""
,
"
mall-settlement
"
,
true
,
"
baitiao
"
,
"
mall-settlement.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
"
,
"
7071
"
,
""
,
"
mall-settlement
"
,
true
,
"
baitiao
"
,
"
mall-settlement.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
"
,
"
7072
"
,
""
,
"
data-taurus
"
,
true
,
"
data-riskcontrol
"
,
"
data-taurus.log
"
,
"
application.properties
"
,
"
/dev/null 2>&1 &
"
,
null
,
2
,
"
质保金-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
true
,
"
java
"
,
"
7072
"
,
""
,
"
data-taurus
"
,
true
,
"
data-riskcontrol
"
,
"
data-taurus.log
"
,
"
application.properties
"
,
"
/dev/null 2>&1 &
"
,
null
,
2
,
"
质保金-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
true
,
"
java
"
,
"
7074
"
,
""
,
"
account-center
"
,
false
,
"
QG
"
,
"
account_center.log
"
,
"
application.properties
"
,
"
/dev/null 2>&1 &
"
,
null
,
2
,
"
账户中心-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
true
,
"
java
"
,
"
7074
"
,
""
,
"
account-center
"
,
false
,
"
QG
"
,
"
account_center.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
"
,
""
);
// ui----
// ui----
new
pClass
().
init
(
true
,
"
ui
"
,
"
7032
"
,
""
,
"
op-ui
"
,
false
,
"
QG
"
,
null
,
"
src/js/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统-ui
"
,
""
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7032
"
,
""
,
"
op-ui
"
,
false
,
"
QG
"
,
null
,
"
src/js/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统-ui
"
,
""
,
""
,
""
);
...
@@ -129,6 +130,8 @@ new pClass().init(true, "ui", "7057", "", "ka-spider-center-ui", true, "ui", nul
...
@@ -129,6 +130,8 @@ new pClass().init(true, "ui", "7057", "", "ka-spider-center-ui", true, "ui", nul
new
pClass
().
init
(
true
,
"
ui
"
,
"
7067
"
,
""
,
"
new-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统 vue
"
,
"
孙小英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7067
"
,
""
,
"
new-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
运营系统 vue
"
,
"
孙小英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7070
"
,
""
,
"
customer-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
外部查询-ui
"
,
""
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7070
"
,
""
,
"
customer-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
外部查询-ui
"
,
""
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7075
"
,
""
,
"
business-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
商城结算系统-ui
"
,
"
王丽英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7075
"
,
""
,
"
business-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
商城结算系统-ui
"
,
"
王丽英
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7077
"
,
""
,
"
cuishou-ui-new
"
,
true
,
"
data
"
,
null
,
"
src/Config/config.jsx
"
,
"
npm run dist
"
,
"
node7
"
,
1
,
"
催收系统-ui
"
,
"
李斌
"
,
""
,
""
);
new
pClass
().
init
(
true
,
"
ui
"
,
"
7078
"
,
""
,
"
ka-factory-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
KA工厂-ui
"
,
"
张振武
"
,
""
,
""
);
// node
// node
new
pClass
().
init
(
true
,
"
node
"
,
"
7018
"
,
""
,
"
AppBackend
"
,
false
,
"
QG
"
,
null
,
"
config/environment/test.js
"
,
"
forever start -a -s --uid AppBackend bin/www
"
,
null
,
1
,
"
APP后台服务-server
"
,
""
,
"
forever stop AppBackend
"
,
""
);
new
pClass
().
init
(
true
,
"
node
"
,
"
7018
"
,
""
,
"
AppBackend
"
,
false
,
"
QG
"
,
null
,
"
config/environment/test.js
"
,
"
forever start -a -s --uid AppBackend bin/www
"
,
null
,
1
,
"
APP后台服务-server
"
,
""
,
"
forever stop AppBackend
"
,
""
);
...
...
qa_shell_script/rabbitmq/initial_mq.sh
View file @
c4d763f2
...
@@ -46,6 +46,7 @@ add_vhost bt_loan
...
@@ -46,6 +46,7 @@ add_vhost bt_loan
add_vhost /pay_center
add_vhost /pay_center
add_vhost backend
add_vhost backend
add_vhost /trans_order
add_vhost /trans_order
add_vhost /user_register
#add_vhost baitiao_zhitou
#add_vhost baitiao_zhitou
#add exchange
#add exchange
add_exchange / hello-exchange direct
add_exchange / hello-exchange direct
...
@@ -53,11 +54,14 @@ add_exchange /black_hole contract direct
...
@@ -53,11 +54,14 @@ add_exchange /black_hole contract direct
add_exchange /black_hole contractExchange direct
add_exchange /black_hole contractExchange direct
add_exchange /funding assignment direct
add_exchange /funding assignment direct
add_exchange /loan_order loan_order_exchange fanout
add_exchange /loan_order loan_order_exchange fanout
add_exchange /loan_order loan_repay_status topic
add_exchange /loan_order loan_repay_status topic
add_exchange baitiao_debt baitiaodebt_orderinfo direct
add_exchange baitiao_debt baitiaodebt_orderinfo direct
add_exchange baitiao_debt baitiao_debt direct
add_exchange baitiao_debt baitiao_debt direct
add_exchange financial_system fs direct
add_exchange financial_system fs direct
add_exchange financial_system btztFund direct
add_exchange financial_system btztFund direct
add_exchange mall digital direct
add_exchange mall digital direct
add_exchange mall refresh_cache direct
add_exchange offline Spider direct
add_exchange offline Spider direct
add_exchange orderstatus_vhost orderstatus_exchange direct
add_exchange orderstatus_vhost orderstatus_exchange direct
add_exchange sms sms-control direct
add_exchange sms sms-control direct
...
@@ -72,6 +76,7 @@ add_exchange /funding async direct
...
@@ -72,6 +76,7 @@ add_exchange /funding async direct
add_exchange spider_center feature_save direct
add_exchange spider_center feature_save direct
add_exchange feature feature_save direct
add_exchange feature feature_save direct
add_exchange /trans_order trans_order_exchange direct
add_exchange /trans_order trans_order_exchange direct
add_exchange /user_register user_register_exchange direct
#add_exchange baitiao_zhitou btzt_orderStatus_exc direct
#add_exchange baitiao_zhitou btzt_orderStatus_exc direct
#add_exchange baitiao_zhitou btzt_repay_rewrite_exc direct
#add_exchange baitiao_zhitou btzt_repay_rewrite_exc direct
#add_exchange baitiao_zhitou btzt_sendfund_exc direct
#add_exchange baitiao_zhitou btzt_sendfund_exc direct
...
@@ -97,6 +102,8 @@ add_queues /black_hole baitiao_contract
...
@@ -97,6 +102,8 @@ add_queues /black_hole baitiao_contract
add_queues /funding approval_suc
add_queues /funding approval_suc
add_queues /loan_order loan_order_queue
add_queues /loan_order loan_order_queue
add_queues /loan_order loan_state_msg_queue
add_queues /loan_order loan_state_msg_queue
add_queues /loan_order push_urge
add_queues /loan_order repay_status_urge
add_queues baitiao_debt qunar_baitiaodebt
add_queues baitiao_debt qunar_baitiaodebt
add_queues baitiao_debt xyqbBaitiaoQueue
add_queues baitiao_debt xyqbBaitiaoQueue
add_queues financial_system baitiaoOrder
add_queues financial_system baitiaoOrder
...
@@ -111,6 +118,8 @@ add_queues mall deliver
...
@@ -111,6 +118,8 @@ add_queues mall deliver
add_queues mall mallOrder
add_queues mall mallOrder
add_queues mall refund
add_queues mall refund
add_queues mall refundFeed
add_queues mall refundFeed
add_queues mall appbackend_refresh
add_queues mall /h5_refresh
add_queues offline Test
add_queues offline Test
add_queues orderstatus_vhost orderstatus_queue
add_queues orderstatus_vhost orderstatus_queue
add_queues sms appMsg
add_queues sms appMsg
...
@@ -145,6 +154,7 @@ add_queues /black_hole waiting_register_generate
...
@@ -145,6 +154,7 @@ add_queues /black_hole waiting_register_generate
add_queues spider_center feature_calculate
add_queues spider_center feature_calculate
add_queues feature feature_calculate
add_queues feature feature_calculate
add_queues /trans_order trans_order_queue
add_queues /trans_order trans_order_queue
add_queues /user_register user_register_queue
#add_queues baitiao_zhitou btzt_orderStatus_queue
#add_queues baitiao_zhitou btzt_orderStatus_queue
#add_queues baitiao_zhitou btzt_repay_rewrite_queue
#add_queues baitiao_zhitou btzt_repay_rewrite_queue
#add_queues baitiao_zhitou btzt_sendfund_queue
#add_queues baitiao_zhitou btzt_sendfund_queue
...
@@ -174,6 +184,8 @@ add_binding /black_hole contract waiting_generate waiting_generate
...
@@ -174,6 +184,8 @@ add_binding /black_hole contract waiting_generate waiting_generate
add_binding /black_hole contract baitiao_contract baitiao_contract
add_binding /black_hole contract baitiao_contract baitiao_contract
add_binding /loan_order loan_order_exchange loan_state_msg_queue loan_state_msg_queue
add_binding /loan_order loan_order_exchange loan_state_msg_queue loan_state_msg_queue
add_binding /trans_order trans_order_exchange trans_order_queue trans-routing-key
add_binding /trans_order trans_order_exchange trans_order_queue trans-routing-key
add_binding /loan_order loan_repay_status repay_status_urge repayment_status
add_binding /loan_order loan_repay_status push_urge push_urge
#add_binding baitiao_zhitou btzt_repay_rewrite_exc order_approval_query_queue btzt_repay_rewrite_route
#add_binding baitiao_zhitou btzt_repay_rewrite_exc order_approval_query_queue btzt_repay_rewrite_route
#add_binding baitiao_zhitou order_approval_query_exchange order_approval_query_queue order_approval_query_routing
#add_binding baitiao_zhitou order_approval_query_exchange order_approval_query_queue order_approval_query_routing
#add_binding baitiao_zhitou delay_order_approval_query_exchange delay_order_approval_query_queue delay_order_approval_query_routing
#add_binding baitiao_zhitou delay_order_approval_query_exchange delay_order_approval_query_queue delay_order_approval_query_routing
...
...
qa_shell_script/special_env_make/wechat_make.sh
View file @
c4d763f2
...
@@ -34,7 +34,7 @@ expect -c "
...
@@ -34,7 +34,7 @@ expect -c "
echo
"部署时间大约需要10分钟,请确保重启应用时,配置文件不再更改。。。"
echo
"部署时间大约需要10分钟,请确保重启应用时,配置文件不再更改。。。"
echo
"step 1 更改配置文件"
echo
"step 1 更改配置文件"
tranceConfig java
"wechat.appid=.*"
"wechat.appid=
$dev_appid
"
"
$evn_ip
"
"xyqb-user2.properties"
tranceConfig java
"wechat.appid=.*"
"wechat.appid=
$dev_appid
"
"
$evn_ip
"
"xyqb-user2.properties"
tranceConfig java
"
xyqb-mall.url=.*"
"xyqb-mall
.url=http://
$pay_url
"
"
$evn_ip
"
"xyqb.properties"
tranceConfig java
"
h5-ui.url=.*"
"h5-ui
.url=http://
$pay_url
"
"
$evn_ip
"
"xyqb.properties"
tranceConfig ui
"weixinAppid:.*"
"weixinAppid:'
$dev_appid
',"
"
$evn_ip
"
"xyqb-user-ui.js"
tranceConfig ui
"weixinAppid:.*"
"weixinAppid:'
$dev_appid
',"
"
$evn_ip
"
"xyqb-user-ui.js"
tranceConfig java
"wechat.secret=.*"
"wechat.secret=
$dev_secury
"
"
$evn_ip
"
"xyqb-user2.properties"
tranceConfig java
"wechat.secret=.*"
"wechat.secret=
$dev_secury
"
"
$evn_ip
"
"xyqb-user2.properties"
tranceConfig ui
"wechattest.xyqb.com"
"
$user_url
"
"
$evn_ip
"
"xyqb-user-ui.js"
tranceConfig ui
"wechattest.xyqb.com"
"
$user_url
"
"
$evn_ip
"
"xyqb-user-ui.js"
...
...
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