openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgr...@apache.org
Subject [incubator-openwhisk-runtime-java] branch master updated: change travis builds to publish docker images with tag 'nightly' (#88)
Date Sat, 29 Jun 2019 21:58:06 GMT
This is an automated email from the ASF dual-hosted git repository.

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


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

commit 5e1397d30d28239b086877684c2c6d3cceadecc2
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Sat Jun 29 17:58:01 2019 -0400

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

diff --git a/.travis.yml b/.travis.yml
index fba8b43..0614a19 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,12 +47,12 @@ deploy:
       all_branches: true
       repo: apache/incubator-openwhisk-runtime-java
   - provider: script
-    script: "./tools/travis/publish.sh openwhisk 8 latest"
+    script: "./tools/travis/publish.sh openwhisk 8 nightly"
     on:
       branch: master
       repo: apache/incubator-openwhisk-runtime-java
   - provider: script
-    script: "./tools/travis/publish.sh openwhisk 8a latest"
+    script: "./tools/travis/publish.sh openwhisk 8a nightly"
     on:
       branch: master
       repo: apache/incubator-openwhisk-runtime-java
diff --git a/core/java8actionloop/Makefile b/core/java8actionloop/Makefile
index 61e98d4..a118d99 100644
--- a/core/java8actionloop/Makefile
+++ b/core/java8actionloop/Makefile
@@ -1,4 +1,4 @@
-IMG=actionloop-java-v8:latest
+IMG=actionloop-java-v8:nightly
 PREFIX=docker.io/openwhisk
 INVOKE=python ../../tools/invoke.py
 MAIN_JAR=../../example/main.jar
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 26fd15f..c7bbc41 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -49,8 +49,8 @@ core:${RUNTIME}:distDocker \
 -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 \


Mime
View raw message