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
be89f3ad
Commit
be89f3ad
authored
Sep 12, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
fcb25e62
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+2
-2
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+2
-1
sub_shell.sh
qa_shell_script/sub_shell.sh
+3
-0
No files found.
qa_shell_script/config_server/get_project_config.js
View file @
be89f3ad
...
...
@@ -83,7 +83,7 @@ new pClass().init(true, "java", "7038", "", "merchant-backend", false, "QG", "me
new
pClass
().
init
(
true
,
"
java
"
,
"
7031
"
,
""
,
"
redpacket
"
,
true
,
"
baitiao
"
,
"
redpacket.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t > /dev/null 2>&1 &
"
,
null
,
2
,
"
红包系统-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7044
"
,
""
,
"
finance-api
"
,
false
,
"
bo.wang
"
,
"
finance-api.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
财务系统-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7045
"
,
""
,
"
check-accounts
"
,
false
,
"
QG
"
,
"
check_accounts.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
对账系统-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
tru
e
,
"
java
"
,
"
7014
"
,
""
,
"
du-jiang-yan
"
,
false
,
"
QG
"
,
"
du_jiang_yan.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
第三方对接导流-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
fals
e
,
"
java
"
,
"
7014
"
,
""
,
"
du-jiang-yan
"
,
false
,
"
QG
"
,
"
du_jiang_yan.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
第三方对接导流-server
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
8051
"
,
""
,
"
msg
"
,
false
,
"
micro-service
"
,
"
msg.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
(
false
,
"
java
"
,
"
7052
"
,
""
,
"
xyqb-btzt
"
,
true
,
"
qg-op-backend
"
,
"
xyqb-btzt.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
(
false
,
"
java
"
,
"
7053
"
,
""
,
"
xyqb-btzt-internal
"
,
true
,
"
qg-op-backend
"
,
"
xyqb-btzt-internal.log
"
,
"
application.properties
"
,
"
--worker 1 --currentWorker 1 -t -ts > /dev/null 2>&1 &
"
,
null
,
2
,
"
白条直投内部
"
,
""
,
"
mvn clean package -Ptest -Dmaven.test.skip=true
"
,
""
);
...
...
@@ -128,7 +128,7 @@ new pClass().init(false, "ui", "7051", "", "h5-ui", true, "ui", null, "src/app/c
new
pClass
().
init
(
true
,
"
ui
"
,
"
7057
"
,
""
,
"
ka-spider-center-ui
"
,
true
,
"
ui
"
,
null
,
"
src/app/config/env.config.js
"
,
"
npm run qa
"
,
"
node7
"
,
1
,
"
新版授信UI
"
,
"
郑少文
"
,
""
,
""
);
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
"
,
"
7075
"
,
""
,
"
business-op-ui
"
,
true
,
"
ui
"
,
null
,
"
src/config/env.config.js
"
,
"
npm run build
"
,
"
node7
"
,
1
,
"
商城结算系统-ui
"
,
"
王丽英
"
,
""
,
""
);
// 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
"
,
""
);
...
...
qa_shell_script/exception_sub_shell.sh
View file @
be89f3ad
...
...
@@ -49,7 +49,8 @@ tranceConfig ui "wechattest.xyqb.com" "wechattest2.xyqb.com" "192.168.4.12" "xyq
tranceConfig java
"kamen.customerid=test"
"kamen.phone.customerid=803571"
"192.168.4.12"
"xyqb-mall.properties"
tranceConfig java
"kamen.secretkey=12345678901234567890"
"kamen.secretkey=281383FDF56E65D3FDA88343113B3631"
"192.168.4.12"
"xyqb-mall.properties"
tranceConfig java
"kamen.customerid=test"
"kamen.phone.customerid=803571"
"192.168.4.12"
"xyqb-mall.properties"
tranceConfig java
"kamen.phone.url=http://192.168.4.241"
"kamen.phone.url=http://ccapi.soouu.cn"
"192.168.4.12"
"xyqb-mall.properties"
#tranceConfig java "bt.order.notify.url=http:\/\/192.168.4.12:7019\/ex\/baitiao\/result\/order" "bt.order.notify.url=http:\/\/192.168.4.241\/ex\/baitiao\/result\/order" "192.168.4.12" "xyqb-mall.properties"
# tranceConfig node "host: \'http:\/\/192.168.4.12:7013" "host: \'http:\/\/192.168.4.12:7042" "192.168.4.12" "AppBackend.js"
# tranceConfig node "host.*7042" "host: 'http:\/\/192.168.4.12:7013" "192.168.4.12" "AppBackend.js"
...
...
qa_shell_script/sub_shell.sh
View file @
be89f3ad
...
...
@@ -66,12 +66,15 @@ do
#替换公网
for
multi
in
${
multis
[@]
}
do
{
pro
=
`
echo
$multi
|
awk
-F
'|'
'{print $1}'
`
port
=
`
echo
$multi
|
awk
-F
'|'
'{print $2}'
`
#find $dir/public/ -type f -print | xargs -i sed -i "s/${IP_host_first}${ip_last_num}:$port/${pro}-${ip_last_num}.${public_ip}/g" {}
echo
"sed -i "
s/
${
IP_host_first
}${
ip_last_num
}
:
$port
/
${
pro
}
-
${
ip_last_num
}
.
${
public_ip
}
/g
"
$dir
/public/*"
sed
-i
"s/
${
IP_host_first
}${
ip_last_num
}
:
$port
/
${
pro
}
-
${
ip_last_num
}
.
${
public_ip
}
/g"
$dir
/public/java/
*
sed
-i
"s/
${
IP_host_first
}${
ip_last_num
}
:
$port
/
${
pro
}
-
${
ip_last_num
}
.
${
public_ip
}
/g"
$dir
/public/node/
*
sed
-i
"s/
${
IP_host_first
}${
ip_last_num
}
:
$port
/
${
pro
}
-
${
ip_last_num
}
.
${
public_ip
}
/g"
$dir
/public/ui/
*
}
done
#find $dir/public/ -type f -print | xargs -i sed -i "s/${IP_host_first}${ip_last_num}/www.${public_ip}/g" {}
...
...
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