flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmetz...@apache.org
Subject git commit: further testing
Date Sun, 10 Aug 2014 17:55:22 GMT
Repository: incubator-flink
Updated Branches:
  refs/heads/travis_test ce9e5607d -> ba2a03894


further testing


Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/ba2a0389
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/ba2a0389
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/ba2a0389

Branch: refs/heads/travis_test
Commit: ba2a03894e81a88feae7e7fe17de4874022f9a65
Parents: ce9e560
Author: Robert Metzger <rmetzger@apache.org>
Authored: Sun Aug 10 19:54:49 2014 +0200
Committer: Robert Metzger <rmetzger@apache.org>
Committed: Sun Aug 10 19:54:49 2014 +0200

----------------------------------------------------------------------
 tools/create_release_files.sh | 12 +++++++-----
 tools/deploy_to_maven.sh      |  9 +++++----
 2 files changed, 12 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/ba2a0389/tools/create_release_files.sh
----------------------------------------------------------------------
diff --git a/tools/create_release_files.sh b/tools/create_release_files.sh
index 14bf420..bad1239 100755
--- a/tools/create_release_files.sh
+++ b/tools/create_release_files.sh
@@ -41,6 +41,7 @@ GPG_KEY=${GPG_KEY:-XXX}
 GIT_BRANCH=${GIT_BRANCH:-branch-1.0}
 OLD_VERSION=${OLD_VERSION:-0.6-incubating-SNAPSHOT}
 RELEASE_VERSION=${NEW_VERSION}
+RELEASE_CANDIDATE=${RELEASE_CANDIDATE:-rc4}
 NEW_VERSION_HADOOP2=$RELEASE_VERSION"-hadoop2" # this is wrong! 
 USER_NAME=${USER_NAME:-pwendell}
 MVN=${MVN:-mvn}
@@ -139,11 +140,10 @@ make_binary_release "hadoop2" "-Dhadoop.profile=2"
 
 # Copy data
 echo "Copying release tarballs"
-folder=flink-$RELEASE_VERSION
-ssh $USER_NAME@people.apache.org \
-  mkdir /home/$USER_NAME/public_html/$folder
-scp flink-* \
-  $USER_NAME@people.apache.org:/home/$USER_NAME/public_html/$folder/
+folder=flink-$RELEASE_VERSION-$RELEASE_CANDIDATE
+ssh $USER_NAME@people.apache.org mkdir /home/$USER_NAME/public_html/$folder
+scp flink-* $USER_NAME@people.apache.org:/home/$USER_NAME/public_html/$folder/
+echo "copy done"
 
 echo "Deploying to repository.apache.org"
 
@@ -153,3 +153,5 @@ $MVN clean deploy -Prelease --settings deploysettings.xml -DskipTests
-Dgpg.keyn
 ./tools/generate_specific_pom.sh $NEW_VERSION $NEW_VERSION_HADOOP2 pom.xml
 sleep 4
 $MVN clean deploy -Prelease --settings deploysettings.xml -DskipTests -Dgpg.keyname=$GPG_KEY
-Dgpg.passphrase=$GPG_PASSPHRASE
+
+echo "Done. Don't forget to commit the release version"

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/ba2a0389/tools/deploy_to_maven.sh
----------------------------------------------------------------------
diff --git a/tools/deploy_to_maven.sh b/tools/deploy_to_maven.sh
index 44b0a23..e3a3a64 100755
--- a/tools/deploy_to_maven.sh
+++ b/tools/deploy_to_maven.sh
@@ -114,16 +114,17 @@ if [[ $TRAVIS_PULL_REQUEST == "false" ]] ; then
 	# Please be sure not to use Build 1 as it will always be the yarn build.
 	#
 
-	YARN_ARCHIVE=""
-	if [[ $TRAVIS_JOB_NUMBER == *6 ]] ; then 
+	#YARN_ARCHIVE=""
+	#if [[ $TRAVIS_JOB_NUMBER == *6 ]] ; then
 		#generate yarn poms & build for yarn.
 		# it is not required to generate poms for this build.
 		#./tools/generate_specific_pom.sh $CURRENT_FLINK_VERSION $CURRENT_FLINK_VERSION_YARN pom.xml
 		#mvn -B -DskipTests clean install
 		#CURRENT_FLINK_VERSION=$CURRENT_FLINK_VERSION_YARN
 		#YARN_ARCHIVE="flink-dist/target/flink-*-bin/*yarn.tgz"
-	fi
-	if [[ $TRAVIS_JOB_NUMBER == *3 ]] || [[ $TRAVIS_JOB_NUMBER == *6 ]] ; then 
+	#fi
+
+	if [[ $TRAVIS_JOB_NUMBER == *3 ]] || [[ $TRAVIS_JOB_NUMBER == *6 ]] ; then
 	#	cd flink-dist
 	#	mvn -B -DskipTests -Pdebian-package package
 	#	cd ..


Mime
View raw message