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
31c4493c
Commit
31c4493c
authored
Jun 20, 2018
by
kalvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
echo 192.168.4.3 git.q-gp.com >> /etc/hosts
parent
ebce4543
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
run.sh
dev/java/run.sh
+1
-0
run.sh
dev/lua-ui/run.sh
+2
-0
run.sh
dev/nodejs/run.sh
+4
-3
run.sh
dev/python/run.sh
+2
-0
No files found.
dev/java/run.sh
View file @
31c4493c
...
...
@@ -114,6 +114,7 @@ else
echo
192.168.6.13 eos.quantgroups.com
>>
/etc/hosts
echo
192.168.4.117 apollo-dev.quantgroups.com
>>
/etc/hosts
echo
172.20.3.11 sentry.quantgroups.com
>>
/etc/hosts
echo
192.168.4.3 git.q-gp.com
>>
/etc/hosts
echo
"sed domain from xyqb.com to liangkebang.com"
sed
-i
"s#.xyqb.com#-
$NAMESPACE
.liangkebang.com#g"
${
config_path
}
...
...
dev/lua-ui/run.sh
View file @
31c4493c
...
...
@@ -12,6 +12,8 @@ export NAMESPACE=`cat /var/run/secrets/kubernetes.io/serviceaccount/namespace`
echo
"NAMESPACE is
$NAMESPACE
"
echo
"NETWORKING=yes"
>>
/etc/sysconfig/network
echo
192.168.4.3 git.q-gp.com
>>
/etc/hosts
for
entry
in
./
*
tgz
do
with_ext
=
$(
basename
"
$entry
"
)
...
...
dev/nodejs/run.sh
View file @
31c4493c
...
...
@@ -5,6 +5,10 @@ package_path="/home/quant_group/project"
echo
"cd
${
package_path
}
"
cd
${
package_path
}
echo
"echo host"
echo
192.168.6.13 eos.quantgroups.com
>>
/etc/hosts
echo
192.168.4.3 git.q-gp.com
>>
/etc/hosts
echo
"replaceGitRemote"
replaceGitRemote
(){
originDomain
=
"192.168.3.60"
...
...
@@ -41,9 +45,6 @@ echo "sed sed xyqb.com to liangkebang.com"
namespace
=
`
cat
/var/run/secrets/kubernetes.io/serviceaccount/namespace
`
echo
"namespace is
$namespace
"
echo
192.168.6.13 eos.quantgroups.com
>>
/etc/hosts
# find ${package_path}/ -type f -name "*.js" | xargs sed -i "s/.xyqb.com/-$namespace.liangkebang.com/g"
find
${
package_path
}
/
-type
f
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$namespace
.liangkebang.com#g"
...
...
dev/python/run.sh
View file @
31c4493c
...
...
@@ -3,6 +3,8 @@ echo "deploy xyqp-query"
package_path
=
"/home/quant_group/project"
echo
"replaceGitRemote"
echo
192.168.4.3 git.q-gp.com
>>
/etc/hosts
replaceGitRemote
(){
originDomain
=
"192.168.3.60"
activeDomain
=
"git.q-gp.com"
...
...
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