chore(fix): add foreground process for hubble-1.0.0 image (#565)
* recover commit_id and change git clone depth
---------
Co-authored-by: imbajin <jin@apache.org>
diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
index fe90240..2aee89c 100755
--- a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh
@@ -26,7 +26,7 @@
GIT_DIR=hugegraph
# download code and compile
-git clone --depth 100 ${HUGEGRAPH_GIT_URL} $GIT_DIR
+git clone --depth 500 ${HUGEGRAPH_GIT_URL} $GIT_DIR
cd "${GIT_DIR}"
git checkout "${COMMIT_ID}"
mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp
diff --git a/hugegraph-hubble/Dockerfile b/hugegraph-hubble/Dockerfile
index 9ad44e4..a06a98f 100644
--- a/hugegraph-hubble/Dockerfile
+++ b/hugegraph-hubble/Dockerfile
@@ -44,4 +44,4 @@
EXPOSE 8088
-ENTRYPOINT ["./bin/start-hubble.sh", "-f true"]
+ENTRYPOINT ["sh", "-c", "./bin/start-hubble.sh && tail -f /dev/null"]
diff --git a/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh b/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
index 7813cc3..58fd3c4 100755
--- a/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
+++ b/hugegraph-hubble/hubble-dist/assembly/travis/download-hugegraph.sh
@@ -26,7 +26,7 @@
GIT_DIR=hugegraph
# download code and compile
-git clone --depth 100 $HUGEGRAPH_GIT_URL $GIT_DIR
+git clone --depth 500 $HUGEGRAPH_GIT_URL $GIT_DIR
cd "${GIT_DIR}"
git checkout "${COMMIT_ID}"
mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp
diff --git a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
index 60adcfa..7730d61 100755
--- a/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh
@@ -24,7 +24,7 @@
COMMIT_ID=$1
HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git"
-git clone --depth 100 ${HUGEGRAPH_GIT_URL} hugegraph
+git clone --depth 500 ${HUGEGRAPH_GIT_URL} hugegraph
cd hugegraph
git checkout "${COMMIT_ID}"
mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp
diff --git a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
index 5b3b263..f940b67 100755
--- a/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
+++ b/hugegraph-tools/assembly/travis/install-hugegraph-from-source.sh
@@ -25,7 +25,7 @@
GIT_DIR=hugegraph
# download code and compile
-git clone --depth 100 $HUGEGRAPH_GIT_URL $GIT_DIR
+git clone --depth 500 $HUGEGRAPH_GIT_URL $GIT_DIR
cd "${GIT_DIR}"
git checkout "${COMMIT_ID}"
mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp