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
6e5eeeb0
Commit
6e5eeeb0
authored
Jul 08, 2019
by
智勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'java' of
http://git.quantgroup.cn/QA/qg-docker-entrypoints
into java
parents
25e7bf9d
2b4fbf14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
java.sh
tke/java.sh
+4
-0
No files found.
tke/java.sh
View file @
6e5eeeb0
...
...
@@ -42,6 +42,7 @@ apolloCmd="-Denv=dev -Didc=k8s -DNAMESPACE=${namespace}"
apolloMockCmd
=
"-Denv=dev -Didc=k8s-mock -DNAMESPACE=
${
namespace
}
-Dapollo.longPollingInitialDelayInMills=200000"
# -jar选项需要在调试和apollo选项后面
jarCmd
=
"-jar
${
package_path
}
--worker 1 --currentWorker 1 -t --server.port=80"
logCmd
=
"-Dlogging.config=classpath:logback-dev.xml"
finalCmd
=
""
if
[[
$SYSTEM_NAME
==
'gu-bei'
]]
;
then
...
...
@@ -49,6 +50,9 @@ if [[ $SYSTEM_NAME == 'gu-bei' ]]; then
elif
[[
$SYSTEM_NAME
==
'pcm'
||
$SYSTEM_NAME
==
'acs-batch'
||
$SYSTEM_NAME
==
'acs-quartz'
||
$SYSTEM_NAME
==
'acs-service'
||
$SYSTEM_NAME
==
'acs-web'
||
$SYSTEM_NAME
==
'app-server'
]]
;
then
# 不能指定config.location
finalCmd
=
"
$basicCmd
$debugCmd
$apolloCmd
$jarCmd
"
# elif [[ $SYSTEM_NAME == 'xyqb-mall' ]]; then
# # xyqb-mall打印调试信息
# finalCmd="$basicCmd $debugCmd $logCmd $apolloCmd $jarCmd --spring.config.location=${config_path}"
else
finalCmd
=
"
$basicCmd
$debugCmd
$apolloCmd
$jarCmd
--spring.config.location=
${
config_path
}
"
fi
...
...
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