openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk-deploy-kube] branch master updated: build fix: Travis deploy step must be a single script (#125)
Date Fri, 15 Dec 2017 20:24:41 GMT
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-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f5719f  build fix: Travis deploy step must be a single script (#125)
3f5719f is described below

commit 3f5719fb46eca1cb288def39679745fa1fcd339c
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Fri Dec 15 15:24:39 2017 -0500

    build fix: Travis deploy step must be a single script (#125)
    
    Fix bug introduced in 9f8e75d7 -- didn't read the Travis CI docs
    closely enough.  The deploy step with the script provider
    must be a single script.
---
 .travis.yml            |  4 +---
 tools/travis/deploy.sh | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

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

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message