You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by de...@apache.org on 2021/08/23 04:19:40 UTC

[incubator-shenyu] branch master updated: [Fix: build] fix maven ignore and docker entrypoint (#1964)

This is an automated email from the ASF dual-hosted git repository.

dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new f1dddbd  [Fix: build] fix maven ignore and docker entrypoint (#1964)
f1dddbd is described below

commit f1dddbdb56ac80cc887e8c484f53dde6d5fcbe12
Author: xiaoyu <xi...@apache.org>
AuthorDate: Mon Aug 23 12:19:35 2021 +0800

    [Fix: build] fix maven ignore and docker entrypoint (#1964)
---
 .gitignore                                      | 51 ++++++++++++++-----------
 shenyu-dist/shenyu-bootstrap-dist/entrypoint.sh |  6 ++-
 2 files changed, 33 insertions(+), 24 deletions(-)

diff --git a/.gitignore b/.gitignore
index 364ca67..0df3248 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,37 +1,42 @@
-# Mobile Tools for Java (J2ME)
-.mtj.tmp/
-
-# Package Files #
+# maven ignore
+target/
+*.class
 *.jar
 *.war
-*.ear
+*.zip
+*.tar
+*.tar.gz
+dependency-reduced-pom.xml
 
-# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
-hs_err_pid*
-
-*~
+# maven plugin ignore
+release.properties
+cobertura.ser
+*.gpg
 
 # eclipse ignore
-.settings
+.settings/
 .project
 .classpath
-.tomcatplugin
-logPath_IS_UNDEFINED
-*.gz
-disconf
-dist
-logs
 
 # idea ignore
-.idea
+.idea/
+*.ipr
 *.iml
+*.iws
 
-# maven ignore
-target
-
-# other ignore
+# temp ignore
+logs/
 *.log
+*.doc
+*.cache
+*.diff
+*.patch
 *.tmp
+
+# system ignore
+.DS_Store
 Thumbs.db
-*.DS_Store
-.factorypath
+
+# agent build ignore
+/agent/
+
diff --git a/shenyu-dist/shenyu-bootstrap-dist/entrypoint.sh b/shenyu-dist/shenyu-bootstrap-dist/entrypoint.sh
index caca6d8..9937005 100644
--- a/shenyu-dist/shenyu-bootstrap-dist/entrypoint.sh
+++ b/shenyu-dist/shenyu-bootstrap-dist/entrypoint.sh
@@ -18,4 +18,8 @@
 
 [[ -d ./conf-ext ]] && cp -f ./conf-ext/* ./conf
 
-/bin/sh ${LOCAL_PATH}/bin/start.sh && tail -f ${LOCAL_PATH}/logs/shenyu-bootstrap.out
+mkdir -p ${LOCAL_PATH}/logs
+touch ${LOCAL_PATH}/logs/shenyu-bootstrap.log
+
+/bin/sh ${LOCAL_PATH}/bin/start.sh && tail -f ${LOCAL_PATH}/logs/shenyu-bootstrap.log
+