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
c4848fce
Commit
c4848fce
authored
Mar 06, 2017
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部署方式
parent
7b5246eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
20 deletions
+27
-20
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+8
-7
4_build_by_type.sh
qa_shell_script/4_build_by_type.sh
+8
-7
exception_sub_shell.sh
qa_shell_script/exception_sub_shell.sh
+11
-6
No files found.
qa_shell_script/4_build_by_name.sh
View file @
c4848fce
...
@@ -70,15 +70,16 @@ function buildUiProject()
...
@@ -70,15 +70,16 @@ function buildUiProject()
cp
-r
$config_path
/ui/
$project
.
*
$project_path
/
$project
/
$config_file
cp
-r
$config_path
/ui/
$project
.
*
$project_path
/
$project
/
$config_file
fi
fi
#
imagemin_dist=`grep -n -A3 "imagemin" *.js|awk '{print $1}'`
imagemin_dist
=
`
grep
-n
-A3
"imagemin"
*
.js|awk
'{print $1}'
`
# if [ -n "$imagemin_dist" ];then
if
[
-n
"
$imagemin_dist
"
]
;
then
# echo "npm install gruntjs/grunt-contrib-imagemin"
echo
"npm install gruntjs/grunt-contrib-imagemin"
#${node4_path}/npm --registry http://192.168.3.7:4873 install gruntjs/grunt-contrib-imagemin
#${node4_path}/
npm
install
gruntjs/grunt-contrib-imagemin
#${node4_path}/npm --registry http://192.168.3.7:4873 install async
#${node4_path}/npm --registry http://192.168.3.7:4873 install async
#
else
else
#
echo "dont install imagemin"
echo
"dont install imagemin"
#
fi
fi
if
[
"
$node_version
"
=
"node4"
]
;
then
if
[
"
$node_version
"
=
"node4"
]
;
then
echo
"----node-V4---
${
node4_path
}
/npm --registry http://192.168.3.7:4873 install"
echo
"----node-V4---
${
node4_path
}
/npm --registry http://192.168.3.7:4873 install"
...
...
qa_shell_script/4_build_by_type.sh
View file @
c4848fce
...
@@ -59,15 +59,16 @@ function buildUiProject()
...
@@ -59,15 +59,16 @@ function buildUiProject()
cp
$config_path
/ui/
$project
.
*
$project_path
/
$project
/
$config_file
cp
$config_path
/ui/
$project
.
*
$project_path
/
$project
/
$config_file
fi
fi
#
imagemin_dist=`grep -n -A3 "imagemin" *.js|awk '{print $1}'`
imagemin_dist
=
`
grep
-n
-A3
"imagemin"
*
.js|awk
'{print $1}'
`
# if [ -n "$imagemin_dist" ];then
if
[
-n
"
$imagemin_dist
"
]
;
then
# echo "npm install gruntjs/grunt-contrib-imagemin"
echo
"npm install gruntjs/grunt-contrib-imagemin"
# ${node4_path}/npm --registry http://192.168.3.7:4873 install gruntjs/grunt-contrib-imagemin
#${node4_path}/
npm
install
gruntjs/grunt-contrib-imagemin
#
#
#
else
else
#
echo "dont install imagemin"
echo
"dont install imagemin"
#
fi
fi
if
[
"
$node_version
"
=
"node4"
]
;
then
if
[
"
$node_version
"
=
"node4"
]
;
then
echo
"----node-V4---
${
node4_path
}
/npm --registry http://192.168.3.7:4873 install"
echo
"----node-V4---
${
node4_path
}
/npm --registry http://192.168.3.7:4873 install"
...
...
qa_shell_script/exception_sub_shell.sh
View file @
c4848fce
...
@@ -46,16 +46,21 @@ tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.151" "xyqb-mall.propert
...
@@ -46,16 +46,21 @@ tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.151" "xyqb-mall.propert
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.24" "xyqb.properties"
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.24" "xyqb.properties"
#tranceConfig node "192.168.4.3" "192.168.4.107" "192.168.4.12" "AppBackend.js"
#tranceConfig node "192.168.4.3" "192.168.4.107" "192.168.4.12" "AppBackend.js"
tranceConfig java
"xyqb.is.debug=1"
"xyqb.is.debug=0"
"192.168.4.151"
"xyqb.properties"
tranceConfig java
"xyqb.is.debug=1"
"xyqb.is.debug=0"
"192.168.4.151"
"xyqb.properties"
tranceConfig java
"xyqb.is.debug=1"
"xyqb.is.debug=0"
"192.168.4.12"
"xyqb.properties"
#tranceConfig ui "7047" "12047" "192.168.4.12" "merchant-op-ui.js"
#tranceConfig ui "7047" "12047" "192.168.4.12" "merchant-op-ui.js"
tranceConfig node
"d45o0qd"
"5exp2xo"
"192.168.4.152"
"op-api.js"
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
"hubei.api.url=http:
\/\/
192.168.100.185:8585"
"hubei.api.url=http:
\/\/
192.168.4.251:8585"
"192.168.4.16"
"di-ting.properties"
tranceConfig java
"hubei.api.url=http:
\/\/
192.168.100.185:8585"
"hubei.api.url=http:
\/\/
192.168.4.251:8585"
"192.168.4.16"
"di-ting.properties"
tranceConfig java
"wxcdf6077af8127559"
"wx0a7c0bce0c3ac523"
"192.168.4.15"
"xyqb-user2.properties"
tranceConfig java
"16eaec16084d0d9c52d4114f359cc72c"
"10131fe347f88e0affabe45b7ee4ca6c"
"192.168.4.15"
"xyqb-user2.properties"
#这个配置是微信支付的时候,需要修改成线上的沙箱环境
#这个配置是微信支付的时候,需要修改成线上的沙箱环境
tranceConfig java
"e1dd0780c93aae56c2d786184421cfc8"
"10131fe347f88e0affabe45b7ee4ca6c"
"192.168.4.15"
"gu-bei.properties"
#tranceConfig java "wxcdf6077af8127559" "wx0a7c0bce0c3ac523" "192.168.4.15" "xyqb-user2.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 "16eaec16084d0d9c52d4114f359cc72c" "10131fe347f88e0affabe45b7ee4ca6c" "192.168.4.15" "xyqb-user2.properties"
tranceConfig java
"139.198.2.95:1507"
"wechattest1.xyqb.com"
"192.168.4.15"
"gu-bei.properties"
#tranceConfig java "e1dd0780c93aae56c2d786184421cfc8" "10131fe347f88e0affabe45b7ee4ca6c" "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 "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"
...
...
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