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

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-nodejs.git

commit 82f910d4c283ff81715f191b40099f5ed9896fbf
Author: Rodric Rabbah <[email protected]>
AuthorDate: Wed May 13 18:47:35 2020 -0400

    Add ts runtime to docker images published nightly.
---
 .travis.yml             |  2 +-
 tools/travis/publish.sh | 13 -------------
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 7935023..501bf4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,7 +42,7 @@ deploy:
       all_branches: true
       repo: apache/openwhisk-runtime-nodejs
   - provider: script
-    script: "./tools/travis/publish.sh openwhisk 8 nightly && 
./tools/travis/publish.sh openwhisk 10 nightly && ./tools/travis/publish.sh 
openwhisk 12 nightly && ./tools/travis/publish.sh openwhisk 14 nightly"
+    script: "./tools/travis/publish.sh openwhisk nodejs8Action nightly && 
./tools/travis/publish.sh openwhisk nodejs10Action nightly && 
./tools/travis/publish.sh openwhisk nodejs12Action nightly && 
./tools/travis/publish.sh openwhisk nodejs14Action nightly && 
./tools/travis/publish.sh openwhisk typescript37Action nightly"
     on:
       branch: master
       repo: apache/openwhisk-runtime-nodejs
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 6917e9f..527ec59 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -22,24 +22,11 @@ set -eux
 
 SCRIPTDIR=$(cd $(dirname "$0") && pwd)
 ROOTDIR="$SCRIPTDIR/../.."
-WHISKDIR="$ROOTDIR/../openwhisk"
-
-export OPENWHISK_HOME=$WHISKDIR
 
 IMAGE_PREFIX=$1
 RUNTIME_VERSION=$2
 IMAGE_TAG=$3
 
-if [ ${RUNTIME_VERSION} == "8" ]; then
-  RUNTIME="nodejs8Action"
-elif [ ${RUNTIME_VERSION} == "10" ]; then
-  RUNTIME="nodejs10Action"
-elif [ ${RUNTIME_VERSION} == "12" ]; then
-  RUNTIME="nodejs12Action"
-elif [ ${RUNTIME_VERSION} == "14" ]; then
-  RUNTIME="nodejs14Action"
-fi
-
 if [[ ! -z ${DOCKER_USER} ]] && [[ ! -z ${DOCKER_PASSWORD} ]]; then
 docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}"
 fi

Reply via email to