This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-openwhisk-release.git


The following commit(s) were added to refs/heads/master by this push:
     new 641b805  Fix the encryption issue (#35)
641b805 is described below

commit 641b80598af3c3ec48a2898087484def20db22ef
Author: Vincent <s...@us.ibm.com>
AuthorDate: Mon Feb 12 16:39:09 2018 -0500

    Fix the encryption issue (#35)
---
 .travis.yml                         | 5 +++++
 tools/travis/package_source_code.sh | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index de6ffd0..2f095b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,11 @@ jobs:
     - stage: package
       script: ./tools/travis/package_source_code.sh $(dirname 
"$TRAVIS_BUILD_DIR") $SVN_USERNAME $SVN_PASSWORD
 
+before_install:
+  - if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then
+      openssl aes-256-cbc -K $encrypted_2030e681f34a_key -iv 
$encrypted_2030e681f34a_iv -in tools/key_sec.gpg.enc -out tools/key_sec.gpg -d;
+    fi
+
 after_failure:
   - echo "failed build"
   - ./tools/travis/cleanup.sh
diff --git a/tools/travis/package_source_code.sh 
b/tools/travis/package_source_code.sh
index e14244e..695e28f 100755
--- a/tools/travis/package_source_code.sh
+++ b/tools/travis/package_source_code.sh
@@ -21,7 +21,6 @@ fi
 "$PARENTDIR/package_source_code.sh" $WORK_DIR $SVN_USERNAME $SVN_PASSWORD
 
 if [ "$TRAVIS_EVENT_TYPE" == "push" ] ; then
-    openssl aes-256-cbc -K $encrypted_2030e681f34a_key -iv 
$encrypted_2030e681f34a_iv -in $PARENTDIR/key_sec.gpg.enc -out 
$PARENTDIR/key_sec.gpg -d
     "$SCRIPTDIR/import_pgp_key.sh"
     "$PARENTDIR/sign_artifacts.sh" $WORK_DIR
     "$PARENTDIR/upload_artifacts.sh" $WORK_DIR $SVN_USERNAME $SVN_PASSWORD

-- 
To stop receiving notification emails like this one, please contact
csantan...@apache.org.

Reply via email to