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
d8bd2981
Commit
d8bd2981
authored
Jun 02, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改sed分隔符为#[C
parent
4ddd85c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+13
-11
No files found.
qa_shell_script/exception_sub_shell.sh
View file @
d8bd2981
...
@@ -20,19 +20,19 @@ function tranceConfig()
...
@@ -20,19 +20,19 @@ 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
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
elif
[
"
$type_
"
=
"node"
]
elif
[
"
$type_
"
=
"node"
]
then
then
sed
-i
"N;s
/
$source_str
/
$target_str
/
g"
$base_path
/
$ip_host
/node/
$file_name
sed
-i
"N;s
#
$source_str
#
$target_str
#
g"
$base_path
/
$ip_host
/node/
$file_name
elif
[
"
$type_
"
=
"nginx"
]
elif
[
"
$type_
"
=
"nginx"
]
then
then
sed
-i
"N;s
/
$source_str
/
$target_str
/
g"
$base_path
/
$ip_host
/nginx_conf.d/
$file_name
sed
-i
"N;s
#
$source_str
#
$target_str
#
g"
$base_path
/
$ip_host
/nginx_conf.d/
$file_name
fi
fi
}
}
...
@@ -50,6 +50,11 @@ tranceConfig java "red.packet.id=10000115" "red.packet.id=56" "192.168.4.13" "xy
...
@@ -50,6 +50,11 @@ tranceConfig java "red.packet.id=10000115" "red.packet.id=56" "192.168.4.13" "xy
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.properties"
tranceConfig java
"7002"
"7050"
"192.168.4.13"
"baitiao.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
"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
"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"
"wxdf0392b9a648b646"
"192.168.4.13"
"xyqb-user2.properties"
tranceConfig java
"11fb7f6a8b8edf2776a72c2f5624229c"
"0849d140bbb50de8fceae2c4694e2e3f"
"192.168.4.13"
"xyqb-user2.properties"
tranceConfig ui
"wx89894cd83d117b26"
"wxdf0392b9a648b646"
"192.168.4.13"
"xyqb-user-ui.js"
tranceConfig ui
"11fb7f6a8b8edf2776a72c2f5624229c"
"0849d140bbb50de8fceae2c4694e2e3f"
"192.168.4.13"
"xyqb-user-ui.js"
tranceConfig ui
"wechattest.xyqb.com"
"wechattest2.xyqb.com"
"192.168.4.13"
"xyqb-user-ui.js"
#4.14
#4.14
#tranceConfig java 'cardniu.client.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota_client.do' 'cardniu.client.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota_client.do' "192.168.4.14" "xyqb.properties"
#tranceConfig java 'cardniu.client.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota_client.do' 'cardniu.client.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota_client.do' "192.168.4.14" "xyqb.properties"
...
@@ -88,6 +93,8 @@ tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192
...
@@ -88,6 +93,8 @@ tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.22" "baitiao.properties"
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.22" "baitiao.properties"
#tranceConfig java "7002" "7050" "192.168.4.22" "baitiao.properties"
#tranceConfig java "7002" "7050" "192.168.4.22" "baitiao.properties"
#tranceConfig node "7002" "7050" "192.168.4.22" "AppBackend.js"
#tranceConfig node "7002" "7050" "192.168.4.22" "AppBackend.js"
tranceConfig ui
"192.168.4.22:7040"
"activity-ui-22.ss.xyqb.loan"
"192.168.4.22"
"activity-ui.js"
tranceConfig ui
"192.168.4.22:7003/api/coupon/activity/wechat/rent_house/bargain"
"wechattest1.xyqb.com/wechat/active_redirect"
"192.168.4.22"
"activity-ui.js"
#4.23
#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" "*"
...
@@ -98,7 +105,7 @@ tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192
...
@@ -98,7 +105,7 @@ tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192
#tranceConfig java "qatest" "Uiwb@o^fR&nHOa5t" "192.168.4.23" "redpacket.properties"
#tranceConfig java "qatest" "Uiwb@o^fR&nHOa5t" "192.168.4.23" "redpacket.properties"
#tranceConfig java "redpacket.data.mysql.user=qa" "redpacket.data.mysql.user=xyqb_query" "192.168.4.23" "redpacket.properties"
#tranceConfig java "redpacket.data.mysql.user=qa" "redpacket.data.mysql.user=xyqb_query" "192.168.4.23" "redpacket.properties"
tranceConfig node
"192.168.4.50:9050"
"192.168.4.23:7060"
"192.168.4.23"
"op-api.js"
tranceConfig node
"192.168.4.50:9050"
"192.168.4.23:7060"
"192.168.4.23"
"op-api.js"
tranceConfig java
"xyqb.is.debug=
1"
"xyqb.is.debug=0
"
"192.168.4.23"
"baitiao.properties"
tranceConfig java
"xyqb.is.debug=
0"
"xyqb.is.debug=1
"
"192.168.4.23"
"baitiao.properties"
#4.24
#4.24
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "di-ting.properties"
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "di-ting.properties"
...
@@ -128,8 +135,3 @@ tranceConfig ui "wx89894cd83d117b26" "wx5b2e77c58fdcf1a5" "192.168.4.22" "xyqb-u
...
@@ -128,8 +135,3 @@ tranceConfig ui "wx89894cd83d117b26" "wx5b2e77c58fdcf1a5" "192.168.4.22" "xyqb-u
tranceConfig ui
"11fb7f6a8b8edf2776a72c2f5624229c"
"feb3c0705c1200f3759052310bde3369"
"192.168.4.22"
"xyqb-user-ui.js"
tranceConfig ui
"11fb7f6a8b8edf2776a72c2f5624229c"
"feb3c0705c1200f3759052310bde3369"
"192.168.4.22"
"xyqb-user-ui.js"
#end
#end
tranceConfig java
"wx89894cd83d117b26"
"wxdf0392b9a648b646"
"192.168.4.13"
"xyqb-user2.properties"
tranceConfig java
"11fb7f6a8b8edf2776a72c2f5624229c"
"0849d140bbb50de8fceae2c4694e2e3f"
"192.168.4.13"
"xyqb-user2.properties"
tranceConfig ui
"wx89894cd83d117b26"
"wxdf0392b9a648b646"
"192.168.4.13"
"xyqb-user-ui.js"
tranceConfig ui
"11fb7f6a8b8edf2776a72c2f5624229c"
"0849d140bbb50de8fceae2c4694e2e3f"
"192.168.4.13"
"xyqb-user-ui.js"
tranceConfig ui
"wechattest.xyqb.com"
"wechattest2.xyqb.com"
"192.168.4.13"
"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