knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject knox git commit: Provide a way to pass credentials to release automation tasks.
Date Tue, 14 Apr 2015 19:19:23 GMT
Repository: knox
Updated Branches:
  refs/heads/master f6ce9f630 -> 79afd870d


Provide a way to pass credentials to release automation tasks.

(cherry picked from commit 464c5a155e2cd44fc776a1cbe1116e3cefe72769)

Conflicts:
	build.xml


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/79afd870
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/79afd870
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/79afd870

Branch: refs/heads/master
Commit: 79afd870decc8451a71c15c1c514ce267bb8f1ca
Parents: f6ce9f6
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Tue Apr 14 15:12:52 2015 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Tue Apr 14 15:18:29 2015 -0400

----------------------------------------------------------------------
 build.xml | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/79afd870/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 8f8f5fd..2dcc392 100644
--- a/build.xml
+++ b/build.xml
@@ -128,7 +128,7 @@
 
     <target name="download-candidate">
         <mkdir dir="${candidate.dir}"/>
-        <get dest="${candidate.dir}">
+        <get username="${username}" password="${password}" dest="${candidate.dir}">
             <url url="${build-url}/knox-${gateway-version}.zip"/>
             <url url="${build-url}/knox-${gateway-version}.zip.md5"/>
             <url url="${build-url}/knox-${gateway-version}.zip.sha"/>
@@ -200,16 +200,22 @@
         </delete>
         <exec executable="gpg" dir="${candidate.dir}">
             <arg value="--armor"/>
+            <arg value="--passphrase"/>
+            <arg value="${passphrase}"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}.zip"/>
         </exec>
         <exec executable="gpg" dir="${candidate.dir}">
             <arg value="--armor"/>
+            <arg value="--passphrase"/>
+            <arg value="${passphrase}"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}-src.zip"/>
         </exec>
         <exec executable="gpg" dir="${candidate.dir}">
             <arg value="--armor"/>
+            <arg value="--passphrase"/>
+            <arg value="${passphrase}"/>
             <arg value="--detach-sig"/>
             <arg value="${gateway-artifact}-${gateway-version}.tar.gz"/>
         </exec>
@@ -235,6 +241,10 @@
             <arg value="${svn.staging.path}/${gateway-artifact}-${gateway-version}/"/>
             <arg value="-m"/>
             <arg value="Staging Apache Knox Gateway version ${gateway-version}."/>
+            <arg value="--username" />
+            <arg value="${username}" />
+            <arg value="--password" />
+            <arg value="${password}" />
         </exec>
     </target>
 
@@ -244,6 +254,10 @@
             <arg value="${svn.staging.path}/${gateway-artifact}-${gateway-version}/"/>
             <arg value="-m"/>
             <arg value="Removing Apache Knox Gateway version ${gateway-version} from staging."/>
+            <arg value="--username" />
+            <arg value="${username}" />
+            <arg value="--password" />
+            <arg value="${password}" />
         </exec>
     </target>
 
@@ -254,6 +268,10 @@
             <arg value="${svn.release.path}/${gateway-version}"/>
             <arg value="-m"/>
             <arg value="Releasing Apache Knox Gateway version ${gateway-version}." />
+            <arg value="--username" />
+            <arg value="${username}" />
+            <arg value="--password" />
+            <arg value="${password}" />
         </exec>
     </target>
 


Mime
View raw message