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
The following commit(s) were added to refs/heads/hotfixtextindex by this push:
new bf13ab2 Test travis scripts
bf13ab2 is described below
commit bf13ab21f56a174ba7c8fa1ccb8fdc24194f7d4b
Author: Jack Li(Analytics Engineering) <[email protected]>
AuthorDate: Wed Oct 28 18:58:44 2020 -0700
Test travis scripts
---
.travis/.travis_install.sh | 10 ++++++++++
.travis/.travis_nightly_build.sh | 18 +++++++++---------
.travis/.travis_te_nightly_build.sh | 28 ++++++++++++++--------------
3 files changed, 33 insertions(+), 23 deletions(-)
diff --git a/.travis/.travis_install.sh b/.travis/.travis_install.sh
index e34d8e3..e2448e1 100755
--- a/.travis/.travis_install.sh
+++ b/.travis/.travis_install.sh
@@ -57,6 +57,8 @@ if [ $noThirdEyeChange -ne 0 ]; then
git config branch.${TRAVIS_BRANCH}.merge refs/heads/${TRAVIS_BRANCH}
df -h
+ ls -al /
+ du -sh /*
ls -al /tmp/
du -sh /tmp/
du -sh /tmp/*
@@ -65,6 +67,14 @@ if [ $noThirdEyeChange -ne 0 ]; 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
if [ $? -eq 0 ]; then
+ ls -al /tmp/
+ du -sh /tmp/
+ du -sh /tmp/*
+ du -sh /tmp/mvn_build_log
+ wc -l /tmp/mvn_build_log
+ ls -al /tmp/mvn_build_log
+ head -1000 /tmp/mvn_build_log
+ tail -1000 /tmp/mvn_build_log
exit 0
else
cat /tmp/mvn_build_log
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: [email protected]
For additional commands, e-mail: [email protected]