You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2014/11/13 12:50:33 UTC
incubator-flink git commit: still trying to get the nightly
deployment with travis right. sorry for the commits
Repository: incubator-flink
Updated Branches:
refs/heads/travis_test 92c1af6f4 -> 532e8767c
still trying to get the nightly deployment with travis right. sorry for the commits
Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/532e8767
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/532e8767
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/532e8767
Branch: refs/heads/travis_test
Commit: 532e8767cac8281c60bb468b78fcd3aa3b5c38b3
Parents: 92c1af6
Author: Robert Metzger <rm...@apache.org>
Authored: Thu Nov 13 12:50:10 2014 +0100
Committer: Robert Metzger <rm...@apache.org>
Committed: Thu Nov 13 12:50:10 2014 +0100
----------------------------------------------------------------------
tools/deploy_to_maven.sh | 28 ++++++++--------------------
1 file changed, 8 insertions(+), 20 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/532e8767/tools/deploy_to_maven.sh
----------------------------------------------------------------------
diff --git a/tools/deploy_to_maven.sh b/tools/deploy_to_maven.sh
index 60eebb4..4525147 100755
--- a/tools/deploy_to_maven.sh
+++ b/tools/deploy_to_maven.sh
@@ -21,12 +21,11 @@
#Please ask @rmetzger (on GitHub) before changing anything here. It contains some magic.
# Build Responsibilities
-# 1. Deploy to sonatype (old hadoop)
-# 2. Nothing
-# 3. Deploy to s3 (old hadoop)
-# 4. deploy to sonatype (yarn hadoop) (this build will also generate specific poms for yarn hadoop)
-# 5. Nothing (formerly: Deploy Javadocs.)
-# 6. deploy to s3 (yarn hadoop)
+# 1. Deploy snapshot (hadoop1)
+# 2. Deploy to s3 (hadoop1)
+# 3. Nothing (hadoop200alpha)
+# 4. deploy snapshot and s3 (hadoop2 - 2.2.0)
+# 5. Nothing (hadoop2 - 2.5.1)
# Changes (since travis changed the id assignment)
# switched 2. with 3.
@@ -103,21 +102,11 @@ if [[ $TRAVIS_PULL_REQUEST == "false" ]] ; then
# cd ..
# fi
- #
- # Deploy binaries to S3
- # The TRAVIS_JOB_NUMBER here is kinda hacked.
- # Currently, there are Builds 1-6. Build 1 is deploying to maven sonatype
- # Build 2 has no special meaning, it is the openjdk7, hadoop 1.2.1 build
- # Build 5 is openjdk7, hadoop yarn (2.0.5-beta) build.
- # Please be sure not to use Build 1 as it will always be the yarn build.
- #
-
-
- if [[ $TRAVIS_JOB_NUMBER == *3 ]] || [[ $TRAVIS_JOB_NUMBER == *6 ]] ; then
+ if [[ $TRAVIS_JOB_NUMBER == *2 ]] || [[ $TRAVIS_JOB_NUMBER == *4 ]] ; then
echo "Uploading build to amazon s3. Job Number: $TRAVIS_JOB_NUMBER"
HD="hadoop1"
- # job nr 6 is YARN
- if [[ $TRAVIS_JOB_NUMBER == *6 ]] ; then
+ # job nr 4 is YARN
+ if [[ $TRAVIS_JOB_NUMBER == *4 ]] ; then
# move to current dir
mkdir flink-$CURRENT_FLINK_VERSION
cp -r flink-dist/target/flink-*-bin/flink-yarn*/* flink-$CURRENT_FLINK_VERSION/
@@ -134,7 +123,6 @@ if [[ $TRAVIS_PULL_REQUEST == "false" ]] ; then
echo "doing a ls -lisah:"
ls -lisah
fi
-
fi # pull request check