csantanapr closed pull request #35: Fix the encryption issue
URL: https://github.com/apache/incubator-openwhisk-release/pull/35
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to