You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2019/06/30 02:44:58 UTC

[incubator-openwhisk-runtime-python] branch master updated: change travis builds to publish docker images with tag 'nightly' (#66)

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/incubator-openwhisk-runtime-python.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c6a408  change travis builds to publish docker images with tag 'nightly' (#66)
8c6a408 is described below

commit 8c6a408d22b30b23e9fe3955be00b601c0cd6149
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Sat Jun 29 22:44:54 2019 -0400

    change travis builds to publish docker images with tag 'nightly' (#66)
---
 .travis.yml                  | 2 +-
 core/pythonAction/Dockerfile | 2 +-
 tools/travis/publish.sh      | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5b32fc6..50e6464 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,7 +40,7 @@ deploy:
       all_branches: true
       repo: apache/incubator-openwhisk-runtime-python
   - provider: script
-    script: "./tools/travis/publish.sh openwhisk 3 latest && ./tools/travis/publish.sh openwhisk 3-ai latest && ./tools/travis/publish.sh openwhisk 3-loop latest"
+    script: "./tools/travis/publish.sh openwhisk 3 nightly && ./tools/travis/publish.sh openwhisk 3-ai nightly && ./tools/travis/publish.sh openwhisk 3-loop nightly"
     on:
       branch: master
       repo: apache/incubator-openwhisk-runtime-python
diff --git a/core/pythonAction/Dockerfile b/core/pythonAction/Dockerfile
index dbe81e7..4c37679 100644
--- a/core/pythonAction/Dockerfile
+++ b/core/pythonAction/Dockerfile
@@ -16,7 +16,7 @@
 #
 
 # Dockerfile for python actions, overrides and extends ActionRunner from actionProxy
-FROM openwhisk/dockerskeleton:latest
+FROM openwhisk/dockerskeleton:nightly
 
 RUN apk add --no-cache \
         bzip2-dev \
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index e18795d..064360c 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -51,8 +51,8 @@ TERM=dumb ./gradlew \
 -PdockerImagePrefix=${IMAGE_PREFIX} \
 -PdockerImageTag=${IMAGE_TAG}
 
-  # if doing latest also push a tag with the hash commit
-  if [ ${IMAGE_TAG} == "latest" ]; then
+  # if doing nightly also push a tag with the hash commit
+  if [ ${IMAGE_TAG} == "nightly" ]; then
   SHORT_COMMIT=`git rev-parse --short HEAD`
   TERM=dumb ./gradlew \
   :core:${RUNTIME}:distDocker \