You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by jl...@apache.org on 2020/10/29 02:27:26 UTC
[incubator-pinot] 01/01: Test travis scripts
This is an automated email from the ASF dual-hosted git repository.
jlli pushed a commit to branch hotfixtextindex
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit 367cce4cd7bfaf1c51bdb75979033450f2360a60
Author: Jack Li(Analytics Engineering) <jl...@jlli-mn1.linkedin.biz>
AuthorDate: Wed Oct 28 18:58:44 2020 -0700
Test travis scripts
---
.travis/.travis_install.sh | 15 +++++++++++++--
.travis/.travis_nightly_build.sh | 18 +++++++++---------
.travis/.travis_te_nightly_build.sh | 28 ++++++++++++++--------------
3 files changed, 36 insertions(+), 25 deletions(-)
diff --git a/.travis/.travis_install.sh b/.travis/.travis_install.sh
index e34d8e3..776945d 100755
--- a/.travis/.travis_install.sh
+++ b/.travis/.travis_install.sh
@@ -60,14 +60,25 @@ if [ $noThirdEyeChange -ne 0 ]; then
ls -al /tmp/
du -sh /tmp/
du -sh /tmp/*
+ df /tmp
if [ "$TRAVIS_JDK_VERSION" != 'oraclejdk8' ]; then
# JDK 11 prints more logs exceeding Travis limits.
- mvn clean install -B -DscmBranch="${TRAVIS_BRANCH}" -DskipTests=true -Pbin-dist -Dmaven.javadoc.skip=true ${KAFKA_BUILD_OPTS} > /tmp/mvn_build_log
+ mvn clean install -B -DscmBranch="${TRAVIS_BRANCH}" -DskipTests=true -Pbin-dist -Dmaven.javadoc.skip=true ${KAFKA_BUILD_OPTS} > /tmp/mvn_build_log.log
if [ $? -eq 0 ]; then
+ ls -al /tmp/
+ du -sh /tmp/
+ du -sh /tmp/*
+ df /tmp
+ du -sh /tmp/mvn_build_log.log
+ wc -l /tmp/mvn_build_log.log
+ ls -al /tmp/mvn_build_log.log
+ head -1000 /tmp/mvn_build_log.log
+ tail -h
+ tail -1000 /tmp/mvn_build_log.log
exit 0
else
- cat /tmp/mvn_build_log
+ cat /tmp/mvn_build_log.log
exit 1
fi
else
diff --git a/.travis/.travis_nightly_build.sh b/.travis/.travis_nightly_build.sh
index 27f9447..c6d3ce2 100755
--- a/.travis/.travis_nightly_build.sh
+++ b/.travis/.travis_nightly_build.sh
@@ -19,13 +19,13 @@
#
if [ -n "${DEPLOY_BUILD_OPTS}" ]; then
- echo "Deploying to bintray"
-
- BUILD_VERSION=$(grep -E "<version>(.*)-SNAPSHOT</version>" pom.xml | cut -d'>' -f2 | cut -d'<' -f1 | cut -d'-' -f1)
- echo "Current build version: $BUILD_VERSION${DEV_VERSION}"
- mvn versions:set -DnewVersion="$BUILD_VERSION${DEV_VERSION}" -q -B
- mvn versions:commit -q -B
-
- # Deploy to bintray
- mvn deploy -s .travis/.ci.settings.xml -DscmBranch="${TRAVIS_BRANCH}" -DskipTests -q -DretryFailedDeploymentCount=5 -DaltDeploymentRepository=bintray-linkedin-maven::default::'https://api.bintray.com/maven/linkedin/maven/pinot/;publish=1;override=1'
+# echo "Deploying to bintray"
+#
+# BUILD_VERSION=$(grep -E "<version>(.*)-SNAPSHOT</version>" pom.xml | cut -d'>' -f2 | cut -d'<' -f1 | cut -d'-' -f1)
+# echo "Current build version: $BUILD_VERSION${DEV_VERSION}"
+# mvn versions:set -DnewVersion="$BUILD_VERSION${DEV_VERSION}" -q -B
+# mvn versions:commit -q -B
+#
+# # Deploy to bintray
+# mvn deploy -s .travis/.ci.settings.xml -DscmBranch="${TRAVIS_BRANCH}" -DskipTests -q -DretryFailedDeploymentCount=5 -DaltDeploymentRepository=bintray-linkedin-maven::default::'https://api.bintray.com/maven/linkedin/maven/pinot/;publish=1;override=1'
fi
diff --git a/.travis/.travis_te_nightly_build.sh b/.travis/.travis_te_nightly_build.sh
index 790509d..ec6aff9 100755
--- a/.travis/.travis_te_nightly_build.sh
+++ b/.travis/.travis_te_nightly_build.sh
@@ -19,18 +19,18 @@
#
if [ -n "${DEPLOY_BUILD_OPTS}" ]; then
- echo "Deploying ThirdEye to bintray"
- # Generate new version number
- cd thirdeye/
- BUILD_VERSION=$(grep -E "<revision>(.*)</revision>" pom.xml | cut -d'>' -f2 | cut -d'<' -f1)
- echo "Current build version: $BUILD_VERSION${DEV_VERSION}"
- mvn versions:set -DnewVersion="$BUILD_VERSION${DEV_VERSION}" -q -B
- mvn versions:commit -q -B
- # Deploy ThirdEye backend to bintray
- mvn -pl '!thirdeye-frontend' deploy -s ../.travis/.ci.settings.xml -DskipTests -q -DaltDeploymentRepository=bintray-linkedin-maven::default::'https://api.bintray.com/maven/linkedin/maven/thirdeye/;publish=1;override=1'
- # Deploy ThirdEye frontend to NPM
- cd thirdeye-frontend/
- npm version ${BUILD_VERSION}${DEV_VERSION}
- npm-login-noninteractive
- npm publish
+# echo "Deploying ThirdEye to bintray"
+# # Generate new version number
+# cd thirdeye/
+# BUILD_VERSION=$(grep -E "<revision>(.*)</revision>" pom.xml | cut -d'>' -f2 | cut -d'<' -f1)
+# echo "Current build version: $BUILD_VERSION${DEV_VERSION}"
+# mvn versions:set -DnewVersion="$BUILD_VERSION${DEV_VERSION}" -q -B
+# mvn versions:commit -q -B
+# # Deploy ThirdEye backend to bintray
+# mvn -pl '!thirdeye-frontend' deploy -s ../.travis/.ci.settings.xml -DskipTests -q -DaltDeploymentRepository=bintray-linkedin-maven::default::'https://api.bintray.com/maven/linkedin/maven/thirdeye/;publish=1;override=1'
+# # Deploy ThirdEye frontend to NPM
+# cd thirdeye-frontend/
+# npm version ${BUILD_VERSION}${DEV_VERSION}
+# npm-login-noninteractive
+# npm publish
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org