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
5318bd25
Commit
5318bd25
authored
Apr 13, 2018
by
kalvin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改所有entrypoints
parent
984d310a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
30 deletions
+3
-30
run.sh
dev/java/run.sh
+1
-1
server.properties
dev/java/server.properties
+0
-2
nginx.conf
dev/lua-ui/nginx.conf
+0
-24
run.sh
dev/lua-ui/run.sh
+1
-2
run.sh
dev/nodejs/run.sh
+1
-1
run.sh
dev/tools/eos/run.sh
+0
-0
No files found.
dev/java/run.sh
View file @
5318bd25
#!/bin/bash
#!/bin/bash
echo
"
java_start
"
echo
"
start run java
"
module_name
=
project
module_name
=
project
package_path
=
"
`
pwd
`
/
${
module_name
}
/app.jar"
package_path
=
"
`
pwd
`
/
${
module_name
}
/app.jar"
config_path
=
"
`
pwd
`
/
${
module_name
}
/application.properties"
config_path
=
"
`
pwd
`
/
${
module_name
}
/application.properties"
...
...
dev/java/server.properties
deleted
100644 → 0
View file @
984d310a
env
=
dev
idc
=
k8s
\ No newline at end of file
dev/lua-ui/nginx.conf
deleted
100644 → 0
View file @
984d310a
worker_processes
1
;
events
{
worker_connections
1024
;
}
http
{
include
/usr/local/openresty/nginx/conf/mime.types
;
default_type
application/octet-stream
;
log_format
access
'
$remote_addr
-
$remote_user
[
$time_local
]
"
$request
"
'
'
$status
$body_bytes_sent
"
$http_referer
"
'
'"
$http_user_agent
"
$http_x_forwarded_for
'
'"
$upstream_addr
"
"
$upstream_status
"
"
$upstream_response_time
"
"
$request_time
"
"
$http_cookie
"'
;
error_log
/var/log/nginx/error.log
warn
;
access_log
/var/log/nginx/access.log
;
server_names_hash_bucket_size
64
;
sendfile
on
;
keepalive_timeout
65
;
include
/usr/local/openresty/nginx/conf/conf.d/*.conf
;
}
\ No newline at end of file
dev/lua-ui/
docker-entrypoint
.sh
→
dev/lua-ui/
run
.sh
View file @
5318bd25
#!/bin/sh
#!/bin/sh
echo
"
deploy openresty
"
echo
"
start run lua-ui
"
package_path
=
"/home/quant_group"
package_path
=
"/home/quant_group"
echo
"cd
${
package_path
}
"
echo
"cd
${
package_path
}
"
...
@@ -28,7 +28,6 @@ cd /home/qg-xterm/;git pull;cd -
...
@@ -28,7 +28,6 @@ cd /home/qg-xterm/;git pull;cd -
source
~/.bash_profile
source
~/.bash_profile
echo
"sed xyqb.com to q-gp.com"
echo
"sed xyqb.com to q-gp.com"
# find ${package_path}/ -name "*.js" | xargs sed -i "s/.xyqb.com/-$NAMESPACE.q-gp.com/g"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$NAMESPACE
.q-gp.com#g"
find
${
package_path
}
/
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$NAMESPACE
.q-gp.com#g"
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
...
...
dev/nodejs/
docker-entrypoint
.sh
→
dev/nodejs/
run
.sh
View file @
5318bd25
...
@@ -12,7 +12,7 @@ echo "sed sed xyqb.com to q-gp.com"
...
@@ -12,7 +12,7 @@ echo "sed sed xyqb.com to q-gp.com"
namespace
=
`
cat
/var/run/secrets/kubernetes.io/serviceaccount/namespace
`
namespace
=
`
cat
/var/run/secrets/kubernetes.io/serviceaccount/namespace
`
echo
"namespace is
$namespace
"
echo
"namespace is
$namespace
"
echo
1
72.30.5.214
ldap.quantgroups.com
>>
/etc/hosts
echo
1
92.168.3.2
ldap.quantgroups.com
>>
/etc/hosts
# find ${package_path}/ -type f -name "*.js" | xargs sed -i "s/.xyqb.com/-$namespace.q-gp.com/g"
# find ${package_path}/ -type f -name "*.js" | xargs sed -i "s/.xyqb.com/-$namespace.q-gp.com/g"
find
${
package_path
}
/
-type
f
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$namespace
.q-gp.com#g"
find
${
package_path
}
/
-type
f
-name
"*.js"
| xargs
sed
-i
"s#.domain.com#-
$namespace
.q-gp.com#g"
...
...
dev/tools/eos/
docker-entrypoint
.sh
→
dev/tools/eos/
run
.sh
View file @
5318bd25
File moved
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