You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/15 20:24:43 UTC

[GitHub] csantanapr closed pull request #125: build fix: Travis deploy step must be a single script

csantanapr closed pull request #125: build fix: Travis deploy step must be a single script
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/pull/125
 
 
   

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 f47846a..62d05e4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,8 +22,6 @@ script:
 
 deploy:
 - provider: script
-  script:
-    - ./tools/travis/publish.sh openwhisk kube-couchdb latest docker/couchdb
-    - ./tools/travis/publish.sh openwhisk kube-routemgmt latest docker/routemgmt
+  script: ./tools/travis/deploy.sh
   on:
     branch: master
diff --git a/tools/travis/deploy.sh b/tools/travis/deploy.sh
new file mode 100755
index 0000000..8d27014
--- /dev/null
+++ b/tools/travis/deploy.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+set -x
+
+SCRIPTDIR=$(cd $(dirname "$0") && pwd)
+ROOTDIR="$SCRIPTDIR/../../"
+
+cd $ROOTDIR
+
+echo "Publishing kube-couchdb image"
+./tools/travis/publish.sh openwhisk kube-couchdb latest docker/couchdb
+
+echo "Publishing kube-routemgmt image"
+./tools/travis/publish.sh openwhisk kube-routemgmt latest docker/routemgmt


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services