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 3e13dc826b15f617043013aa951a0b58995b3b9b Author: Jack Li(Analytics Engineering) <j...@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 | 16 ++++++++-------- .travis/.travis_te_nightly_build.sh | 26 +++++++++++++------------- 3 files changed, 34 insertions(+), 23 deletions(-) diff --git a/.travis/.travis_install.sh b/.travis/.travis_install.sh index e34d8e3..5acb876 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 --help + tail -n 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..ee340ea 100755 --- a/.travis/.travis_nightly_build.sh +++ b/.travis/.travis_nightly_build.sh @@ -20,12 +20,12 @@ 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' +# +# 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..7f8ad14 100755 --- a/.travis/.travis_te_nightly_build.sh +++ b/.travis/.travis_te_nightly_build.sh @@ -20,17 +20,17 @@ 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 +# # 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-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org