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
bfff8205
Commit
bfff8205
authored
Apr 28, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new
parent
8c3abc19
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
28 additions
and
16 deletions
+28
-16
.3_link_config_file_by_name.sh.swp
qa_shell_script/.3_link_config_file_by_name.sh.swp
+0
-0
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+1
-1
4_build_by_type.sh
qa_shell_script/4_build_by_type.sh
+1
-1
get_env_ip.sh
qa_shell_script/config_server/get_env_ip.sh
+1
-1
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+22
-6
100
qa_shell_script/ngrok/100
+0
-0
make_ngrok_yml.sh
qa_shell_script/ngrok/make_ngrok_yml.sh
+1
-1
ngrok_confg1.yml
qa_shell_script/ngrok/ngrok_confg1.yml
+0
-6
restart_mq.sh
qa_shell_script/rabbitmq/restart_mq.sh
+1
-0
build_by_channel.sh
qa_shell_script/special_project/build_by_channel.sh
+1
-0
No files found.
qa_shell_script/
log_shell/.remove_logs
.sh.swp
→
qa_shell_script/
.3_link_config_file_by_name
.sh.swp
100755 → 100644
View file @
bfff8205
No preview for this file type
qa_shell_script/4_build_by_name.sh
View file @
bfff8205
...
@@ -46,7 +46,7 @@ function buildJavaProject()
...
@@ -46,7 +46,7 @@ function buildJavaProject()
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
fi
fi
if
[[
"
$project
"
=
"finance-api"
]]
;
then
if
[[
"
$project
"
=
"finance-api"
||
"
$project
"
=
"financial-system"
]]
;
then
num
=
`
grep
-n
-A1
"<artifactId>quantgroup-sms-sdk</artifactId>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
num
=
`
grep
-n
-A1
"<artifactId>quantgroup-sms-sdk</artifactId>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
echo
"----
$project
-----pom.xml file line:
$num
------------"
echo
"----
$project
-----pom.xml file line:
$num
------------"
sed
-i
"
${
num
}
s/1.0.6.3/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.6.3/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
...
...
qa_shell_script/4_build_by_type.sh
View file @
bfff8205
...
@@ -39,7 +39,7 @@ function buildJavaProject()
...
@@ -39,7 +39,7 @@ function buildJavaProject()
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
fi
fi
if
[[
"
$project
"
=
"finance-api"
]]
;
then
if
[[
"
$project
"
=
"finance-api"
||
"
$project
"
=
"financial-system"
]]
;
then
num
=
`
grep
-n
-A1
"<artifactId>quantgroup-sms-sdk</artifactId>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
num
=
`
grep
-n
-A1
"<artifactId>quantgroup-sms-sdk</artifactId>"
$project_path
/
$project
/pom.xml|
grep
"<version>"
|
awk
-F-
'{print $1}'
`
echo
"----
$project
-----pom.xml file line:
$num
------------"
echo
"----
$project
-----pom.xml file line:
$num
------------"
sed
-i
"
${
num
}
s/1.0.6.3/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
sed
-i
"
${
num
}
s/1.0.6.3/1.0.6.3-SNAPSHOT/"
$project_path
/
$project
/pom.xml
...
...
qa_shell_script/config_server/get_env_ip.sh
View file @
bfff8205
12 13 14 15 16 17 22 23 24 26 50 151 152 15
4 156
12 13 14 15 16 17 22 23 24 26 50 151 152 15
3 154 155 156 161 162 163 164
qa_shell_script/exception_sub_shell.sh
View file @
bfff8205
...
@@ -21,7 +21,7 @@ function tranceConfig()
...
@@ -21,7 +21,7 @@ function tranceConfig()
elif
[
"
$type_
"
=
"ui"
]
elif
[
"
$type_
"
=
"ui"
]
then
then
sed
-i
"N;s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/ui/
$file_name
sed
-i
"N;s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/ui/
$file_name
sed
-i
"N;s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/public/ui/
$file_name
elif
[
"
$type_
"
=
"python"
]
elif
[
"
$type_
"
=
"python"
]
then
then
sed
-i
"N;s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/python/
$file_name
sed
-i
"N;s/
$source_str
/
$target_str
/g"
$base_path
/
$ip_host
/python/
$file_name
...
@@ -53,22 +53,32 @@ tranceConfig node "d45o0qd" "5exp2xo" "192.168.4.152" "op-api.js"
...
@@ -53,22 +53,32 @@ tranceConfig node "d45o0qd" "5exp2xo" "192.168.4.152" "op-api.js"
#tranceConfig java "192.168.4.15:7007" "139.198.2.95:1507" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "192.168.4.15:7007" "139.198.2.95:1507" "192.168.4.15" "gu-bei.properties"
#这个配置是微信支付的时候,需要修改成线上的沙箱环境
#这个配置是微信支付的时候,需要修改成线上的沙箱环境
#tranceConfig java "wxcdf6077af8127559" "wx0a7c0bce0c3ac523" "192.168.4.15" "xyqb-user2.properties"
#tranceConfig java "wechat.appid=wxcdf6077af8127559" "wechat.appid=wx0a7c0bce0c3ac523" "192.168.4.15" "xyqb-user2.properties"
#tranceConfig java "16eaec16084d0d9c52d4114f359cc72c" "10131fe347f88e0affabe45b7ee4ca6c" "192.168.4.15" "xyqb-user2.properties"
#tranceConfig java "wechat.secret=16eaec16084d0d9c52d4114f359cc72c" "wechat.secret=10131fe347f88e0affabe45b7ee4ca6c" "192.168.4.15" "xyqb-user2.properties"
#tranceConfig java "e1dd0780c93aae56c2d786184421cfc8" "10131fe347f88e0affabe45b7ee4ca6c" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "wx.sandbox.key=e1dd0780c93aae56c2d786184421cfc8" "wx.sandbox.key=10131fe347f88e0affabe45b7ee4ca6c" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "wx7bf214ccdcbd2e16" "wx0a7c0bce0c3ac523" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "paycenter.host.url=http:\/\/192.168.4.15:7007" "paycenter.host.url=http:\/\/wechattest1.xyqb.com" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "paycenter.host.url=http:\/\/192.168.4.15:7007" "paycenter.host.url=http:\/\/wechattest1.xyqb.com" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "139.198.2.95:1507" "wechattest1.xyqb.com" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "139.198.2.95:1507" "wechattest1.xyqb.com" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "192.168.4.14:7007" "139.198.2.95:1407" "192.168.4.14" "gu-bei.properties"
#tranceConfig java "192.168.4.14:7007" "139.198.2.95:1407" "192.168.4.14" "gu-bei.properties"
#tranceConfig java "paycenter.exception.debug=1" "paycenter.exception.debug=0" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "paycenter.exception.debug=1" "paycenter.exception.debug=0" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "192.168.4.14:3306" "192.168.4.20:3306" "192.168.4.14" "*"
#tranceConfig java "192.168.4.14:3306" "192.168.4.20:3306" "192.168.4.14" "*"
#tranceConfig python "192.168.4.14" "192.168.4.20" "192.168.4.14" "qin-qiong.*"
#tranceConfig python "192.168.4.14" "192.168.4.20" "192.168.4.14" "qin-qiong.*"
#tranceConfig java "spider-center.host=http:\/\/192.168.4.12:7021\/" "spider-center.host=http:\/\/spider-center-12.ss.xyqb.loan\/" "192.168.4.12" "spider-center.properties"
#tranceConfig java "spider-center.host=http:\/\/192.168.4.12:7021\/" "spider-center.host=http:\/\/spider-center-12.ss.xyqb.loan\/" "192.168.4.12" "spider-center.properties"
tranceConfig java
"qgbc-ui.url=http:
\/\/
192.168.4.152:7002"
"qgbc-ui.url=http:
\/\/
192.168.4.152:7050"
"192.168.4.152"
"xyqb.properties"
tranceConfig java
"7025"
"7003"
"192.168.4.152"
"baitiao.properties"
tranceConfig java
"xyqb-ui.url=http:
\/\/
192.168.4.151:7001"
"xyqb-ui.url=http:
\/\/
139.198.2.95:15101"
"192.168.4.151"
"cash-loan-flow.properties"
#tranceConfig java "qgbc-ui.url=http:\/\/192.168.4.152:7002" "qgbc-ui.url=http:\/\/192.168.4.152:7050" "192.168.4.152" "xyqb.properties"
#tranceConfig java "7025" "7003" "192.168.4.152" "baitiao.properties"
tranceConfig node
"112233445512345.ittun.com"
"activity-op-22.ss.xyqb.loan"
"192.168.4.22"
"activity-op.js"
tranceConfig node
"112233445512345.ittun.com"
"activity-op-22.ss.xyqb.loan"
"192.168.4.22"
"activity-op.js"
tranceConfig node
"112233445512345.ittun.com"
"activity-op-24.ss.xyqb.loan"
"192.168.4.24"
"activity-op.js"
tranceConfig node
"112233445512345.ittun.com"
"activity-op-24.ss.xyqb.loan"
"192.168.4.24"
"activity-op.js"
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"xyqb.is.debug=1"
"xyqb.is.debug=0"
"192.168.4.22"
"baitiao.properties"
#tranceConfig java "192.168.4.23:3306" "192.168.4.8:3306" "192.168.4.23" "*"
#tranceConfig java "192.168.4.23:3306" "192.168.4.8:3306" "192.168.4.23" "*"
#tranceConfig node "db: {\n host: '192.168.4.23'" "db: {\n host: '192.168.4.8'" "192.168.4.23" "*"
#tranceConfig node "db: {\n host: '192.168.4.23'" "db: {\n host: '192.168.4.8'" "192.168.4.23" "*"
...
@@ -76,6 +86,12 @@ tranceConfig java "7002" "7050" "192.168.4.13" "baitiao.properties"
...
@@ -76,6 +86,12 @@ tranceConfig java "7002" "7050" "192.168.4.13" "baitiao.properties"
#tranceConfig python "ip=192.168.4.23" "ip=192.168.4.8" "192.168.4.23" "qin-qiong*"
#tranceConfig python "ip=192.168.4.23" "ip=192.168.4.8" "192.168.4.23" "qin-qiong*"
tranceConfig ui
"7041"
"7054"
"192.168.4.12"
"activity-ui.js"
tranceConfig ui
"7041"
"7054"
"192.168.4.12"
"activity-ui.js"
#tranceConfig ui "7025" "7003" "192.168.4.15" "qgbc-ui.js"
tranceConfig java
"192.168.4.15:7002"
"wechattest1.xyqb.com"
"192.168.4.15"
"xyqb.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 ui
"139.198.2.95"
"www.q-gp.com"
"192.168.4.156"
"*"
...
...
qa_shell_script/ngrok/100
deleted
100755 → 0
View file @
8c3abc19
qa_shell_script/ngrok/make_ngrok_yml.sh
View file @
bfff8205
...
@@ -57,7 +57,7 @@ function addFile()
...
@@ -57,7 +57,7 @@ function addFile()
# port=`node $config_server/get_project_config.js -name $project -attr port`
# port=`node $config_server/get_project_config.js -name $project -attr port`
# addFile $project $port $filename
# addFile $project $port $filename
#done
#done
projects_of_out_proxy
=(
gu-bei activity-op op-api spider-center di-ting merchant-backend cash-loan-flow xyqb xyqb-quartz xyqb-query
)
projects_of_out_proxy
=(
gu-bei activity-op op-api spider-center di-ting merchant-backend cash-loan-flow xyqb xyqb-quartz xyqb-query
qgbc-ui bt-ui xyqb-ui
)
for
ip_last
in
${
ips
[@]
}
for
ip_last
in
${
ips
[@]
}
...
...
qa_shell_script/ngrok/ngrok_confg1.yml
deleted
100755 → 0
View file @
8c3abc19
server_addr
:
ss.xyqb.loan:4443
trust_host_root_certs
:
false
tunnels
:
xyqb-iplast
:
proto
:
http
:
192.168.4.23:7001
qa_shell_script/rabbitmq/restart_mq.sh
View file @
bfff8205
#/bin/bash
#/bin/bash
/usr/lib/rabbitmq/bin/rabbitmqctl stop
/usr/lib/rabbitmq/bin/rabbitmqctl stop
sleep
10
/usr/lib/rabbitmq/bin/rabbitmq-server
-detached
/usr/lib/rabbitmq/bin/rabbitmq-server
-detached
qa_shell_script/special_project/build_by_channel.sh
0 → 100644
View file @
bfff8205
#!/bin/bash
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