Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-docker-entrypoints
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
qg-docker-entrypoints
Commits
2c9fc203
Commit
2c9fc203
authored
Apr 19, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
替换liangkebang.com liangkebang.net
parent
5c70f163
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
java.sh
tke/java.sh
+4
-4
nodejs.sh
tke/nodejs.sh
+6
-6
ui.sh
tke/ui.sh
+1
-1
No files found.
tke/java.sh
View file @
2c9fc203
...
@@ -24,10 +24,10 @@ echo 192.168.4.3 sonar.quantgroups.com >> /etc/hosts
...
@@ -24,10 +24,10 @@ echo 192.168.4.3 sonar.quantgroups.com >> /etc/hosts
echo
192.168.4.3 git.q-gp.com
>>
/etc/hosts
echo
192.168.4.3 git.q-gp.com
>>
/etc/hosts
echo
192.168.4.117 yapi.quantgroups.com
>>
/etc/hosts
echo
192.168.4.117 yapi.quantgroups.com
>>
/etc/hosts
echo
"sed domain from xyqb.com to liangkebang.
com
"
echo
"sed domain from xyqb.com to liangkebang.
net
"
sed
-i
"s#.xyqb.com#-
$NAMESPACE
.liangkebang.
com
#g"
${
config_path
}
sed
-i
"s#.xyqb.com#-
$NAMESPACE
.liangkebang.
net
#g"
${
config_path
}
sed
-i
"s#.domain.com#-
$NAMESPACE
.liangkebang.
com
#g"
${
config_path
}
sed
-i
"s#.domain.com#-
$NAMESPACE
.liangkebang.
net
#g"
${
config_path
}
# sed -i "s#.quantgroup.cn#-$NAMESPACE.liangkebang.
com
#g" ${config_path}
# sed -i "s#.quantgroup.cn#-$NAMESPACE.liangkebang.
net
#g" ${config_path}
# sed -i "s#xterm.js demo#${SYSTEM_NAME}@${NAMESPACE}#" /home/qg-xterm/demo/index.html
# sed -i "s#xterm.js demo#${SYSTEM_NAME}@${NAMESPACE}#" /home/qg-xterm/demo/index.html
echo
"java -Xmx512m -Xloggc:/tmp/
${
module_name
}
_gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Denv=dev -Didc=k8s -Dtest=true -jar
${
package_path
}
--worker 1 --currentWorker 1 -t --server.port=80 --spring.config.location=
${
config_path
}
& "
>
java_command
echo
"java -Xmx512m -Xloggc:/tmp/
${
module_name
}
_gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Denv=dev -Didc=k8s -Dtest=true -jar
${
package_path
}
--worker 1 --currentWorker 1 -t --server.port=80 --spring.config.location=
${
config_path
}
& "
>
java_command
...
...
tke/nodejs.sh
View file @
2c9fc203
...
@@ -15,14 +15,14 @@ echo 172.20.3.11 sentry.quantgroups.com >> /etc/hosts
...
@@ -15,14 +15,14 @@ echo 172.20.3.11 sentry.quantgroups.com >> /etc/hosts
echo
"tar zxf dist.tgz -C
${
package_path
}
"
echo
"tar zxf dist.tgz -C
${
package_path
}
"
tar
zxf
${
package_path
}
/dist.tgz
-C
${
package_path
}
/
tar
zxf
${
package_path
}
/dist.tgz
-C
${
package_path
}
/
echo
"sed domain.com to liangkebang.
com
"
echo
"sed domain.com to liangkebang.
net
"
find
${
package_path
}
/
-path
"
${
package_path
}
/node_modules"
-prune
-o
-type
f
-name
"*.js"
-print
| xargs
sed
-i
"s#
\.
domain
\.
com#-
$NAMESPACE
.liangkebang.
com
#g"
find
${
package_path
}
/
-path
"
${
package_path
}
/node_modules"
-prune
-o
-type
f
-name
"*.js"
-print
| xargs
sed
-i
"s#
\.
domain
\.
com#-
$NAMESPACE
.liangkebang.
net
#g"
echo
"sed xyqb.com to liangkebang.
com
"
echo
"sed xyqb.com to liangkebang.
net
"
find
${
package_path
}
/
-path
"
${
package_path
}
/node_modules"
-prune
-o
-type
f
-name
"*.js"
-print
| xargs
sed
-i
"s#
\.
xyqb
\.
com#-
$NAMESPACE
.liangkebang.
com
#g"
find
${
package_path
}
/
-path
"
${
package_path
}
/node_modules"
-prune
-o
-type
f
-name
"*.js"
-print
| xargs
sed
-i
"s#
\.
xyqb
\.
com#-
$NAMESPACE
.liangkebang.
net
#g"
echo
"sed q-gp.com to liangkebang.
com
"
echo
"sed q-gp.com to liangkebang.
net
"
find
${
package_path
}
/
-path
"
${
package_path
}
/node_modules"
-prune
-o
-type
f
-name
"*.js"
-print
| xargs
sed
-i
"s#
\.
q-gp.
\c
om#-
$NAMESPACE
.liangkebang.
com
#g"
find
${
package_path
}
/
-path
"
${
package_path
}
/node_modules"
-prune
-o
-type
f
-name
"*.js"
-print
| xargs
sed
-i
"s#
\.
q-gp.
\c
om#-
$NAMESPACE
.liangkebang.
net
#g"
echo
"rm -rf
${
package_path
}
/dist.tgz"
echo
"rm -rf
${
package_path
}
/dist.tgz"
rm
-rf
${
package_path
}
/dist.tgz
rm
-rf
${
package_path
}
/dist.tgz
...
...
tke/ui.sh
View file @
2c9fc203
...
@@ -10,7 +10,7 @@ echo "NAMESPACE is $NAMESPACE"
...
@@ -10,7 +10,7 @@ echo "NAMESPACE is $NAMESPACE"
# 运行qa工具
# 运行qa工具
echo
"SYSTEM_NAME is
$SYSTEM_NAME
"
echo
"SYSTEM_NAME is
$SYSTEM_NAME
"
host
=
`
curl
-s
"http://
qaapi.liangkebang.com
/proconfig/get_info?system_name=
${
SYSTEM_NAME
}
&key=host_name"
`
host
=
`
curl
-s
"http://
172.17.1.7:3003
/proconfig/get_info?system_name=
${
SYSTEM_NAME
}
&key=host_name"
`
echo
"host:
${
host
}
"
echo
"host:
${
host
}
"
for
entry
in
./
*
tgz
for
entry
in
./
*
tgz
...
...
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