From commits-return-8149-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Sat Oct 5 03:00:09 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id EE7A1180674 for ; Sat, 5 Oct 2019 05:00:08 +0200 (CEST) Received: (qmail 77704 invoked by uid 500); 5 Oct 2019 03:00:08 -0000 Mailing-List: contact commits-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list commits@openwhisk.apache.org Received: (qmail 77689 invoked by uid 99); 5 Oct 2019 03:00:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Oct 2019 03:00:08 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 19387890A3; Sat, 5 Oct 2019 03:00:08 +0000 (UTC) Date: Sat, 05 Oct 2019 03:00:08 +0000 To: "commits@openwhisk.apache.org" Subject: [openwhisk-runtime-go] branch master updated: rename docker image: actionloop-golang to action-golang (#109) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <157024440802.25285.13852734959977515127@gitbox.apache.org> From: rabbah@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: openwhisk-runtime-go X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7c4a47d469664ee89501d59fdc587c5a860ba989 X-Git-Newrev: 0b06732ed2876190f5d7e42334164061b4dadbd6 X-Git-Rev: 0b06732ed2876190f5d7e42334164061b4dadbd6 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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-go.git The following commit(s) were added to refs/heads/master by this push: new 0b06732 rename docker image: actionloop-golang to action-golang (#109) 0b06732 is described below commit 0b06732ed2876190f5d7e42334164061b4dadbd6 Author: David Grove AuthorDate: Fri Oct 4 23:00:03 2019 -0400 rename docker image: actionloop-golang to action-golang (#109) --- docs/ACTION.md | 4 ++-- docs/BUILD.md | 2 +- docs/DEPLOY.md | 12 ++++++------ examples/benchmark/Makefile | 2 +- examples/golang-hello-single/Makefile | 2 +- examples/golang-hello-vendor/Makefile | 2 +- examples/golang-main-package/Makefile | 2 +- examples/golang-main-single/Makefile | 2 +- examples/golang-main-standalone/Makefile | 2 +- examples/golang-main-vendor/Makefile | 2 +- golang1.11/build.gradle | 2 +- golang1.12/build.gradle | 2 +- .../runtime/actionContainers/ActionLoopBasicGo12Tests.scala | 2 +- .../runtime/actionContainers/ActionLoopBasicGoTests.scala | 2 +- .../actionContainers/ActionLoopGo12ContainerTests.scala | 2 +- .../actionContainers/ActionLoopGoContainerTests.scala | 2 +- 16 files changed, 22 insertions(+), 22 deletions(-) diff --git a/docs/ACTION.md b/docs/ACTION.md index 2d9854c..840feb2 100644 --- a/docs/ACTION.md +++ b/docs/ACTION.md @@ -22,7 +22,7 @@ ## How to write Go Actions -The `actionloop-golang-v1.11` runtime can execute actions written in the Go programming language in OpenWhisk, either precompiled binary or compiling sources on the fly. +The `action-golang-v1.11` runtime can execute actions written in the Go programming language in OpenWhisk, either precompiled binary or compiling sources on the fly. ### Entry Point @@ -122,7 +122,7 @@ done Note here we are just interested in the payload, but in general you may also want to retrieve other fields. -Note the `actionloop` image will accept any source and will try to run it (if it is possible), while the `actionloop-golang-v1.11` will instead try to compile the sources assuming it is Golang instead. +Note the `actionloop` image will accept any source and will try to run it (if it is possible), while the `action-golang-v1.11` will instead try to compile the sources assuming it is Golang instead. diff --git a/docs/BUILD.md b/docs/BUILD.md index dd8b8e4..d268425 100644 --- a/docs/BUILD.md +++ b/docs/BUILD.md @@ -43,7 +43,7 @@ To build the docker images, after compiling go proxy: This will build the images: -* `actionloop-golang-v1.11`: an image supporting Go sources +* `action-golang-v1.11`: an image supporting Go sources * `actionloop`: the base image, supporting generic executables ans shell script The `actionloop` image can be used for supporting other compiled programming languages as long as they implement a `compile` script and the *action loop* protocol described below. diff --git a/docs/DEPLOY.md b/docs/DEPLOY.md index fc0185e..55f6e11 100644 --- a/docs/DEPLOY.md +++ b/docs/DEPLOY.md @@ -19,7 +19,7 @@ # Deployment options -There are two images provided: the `actionloop` and the `actionloop-golang-v1.11` available. Each image accept different input in the deployment. +There are two images provided: the `actionloop` and the `action-golang-v1.11` available. Each image accept different input in the deployment. @@ -40,7 +40,7 @@ If the file is a zipped file, it must contain in the top level (*not* in a subdi ## Golang runtime -The runtime `actionloop-golang-v1.11` accepts: +The runtime `action-golang-v1.11` accepts: - executable binaries implementing the ActionLoop protocol as Linux ELF executable compiled for the AMD64 architecture (as the `actionloop` runtme) - zip files containing a binary executable named `exec` in the top level, and it must be again a Linux ELF executable compiled for the AMD64 architecture @@ -141,7 +141,7 @@ Using this option, the GOPATH will be set to the parent directory of your `src` ## Precompiling Go Sources Offline -Compiling sources on the image can take some time when the images is initialized. You can speed up precompiling the sources using the image `actionloop-golang-v1.11` as an offline compiler. You need `docker` for doing that. +Compiling sources on the image can take some time when the images is initialized. You can speed up precompiling the sources using the image `action-golang-v1.11` as an offline compiler. You need `docker` for doing that. The images accepts a `-compile
` flag, and expects you provide sources in standard input. It will then compile them, emit the binary in standard output and errors in stderr. The output is always a zip file containing an executable. @@ -149,17 +149,17 @@ If you have docker, you can do it this way: If you have a single source maybe in file `main.go`, with a function named `Main` just do this: -`docker run openwhisk/actionloop-golang-v1.11 -compile main main.zip` +`docker run openwhisk/action-golang-v1.11 -compile main main.zip` If you have multiple sources in current directory, even with a subfolder with sources, you can compile it all with: -`zip -r - * | docker run openwhisk/actionloop-golang-v1.11 -compile main >main.zip` +`zip -r - * | docker run openwhisk/action-golang-v1.11 -compile main >main.zip` The generated executable is suitable to be deployed in OpenWhisk using just the generic `actionloop` runtime. `wsk action create my/action main.zip -docker openwhisk/actionloop` -You can also use the full `actionloop-golang-v1.11` as runtime, it is only bigger. +You can also use the full `action-golang-v1.11` as runtime, it is only bigger. Note that the output is always a zip file in Linux AMD64 format so the executable can be run only inside a Docker Linux container. diff --git a/examples/benchmark/Makefile b/examples/benchmark/Makefile index 61e6bd5..b3bf6f5 100644 --- a/examples/benchmark/Makefile +++ b/examples/benchmark/Makefile @@ -15,7 +15,7 @@ # limitations under the License. # -IMG?=whisk/actionloop-golang-v1.11 +IMG?=whisk/action-golang-v1.11 IMG2?=whisk/actionloop all: golang bash diff --git a/examples/golang-hello-single/Makefile b/examples/golang-hello-single/Makefile index 77a465d..9683f95 100644 --- a/examples/golang-hello-single/Makefile +++ b/examples/golang-hello-single/Makefile @@ -17,7 +17,7 @@ OW_USER?=openwhisk OW_RUNTIME?=$(OW_USER)/actionloop-base -OW_COMPILER?=$(OW_USER)/actionloop-golang-v1.11 +OW_COMPILER?=$(OW_USER)/action-golang-v1.11 WSK?=wsk MAIN=hello PACKAGE=test diff --git a/examples/golang-hello-vendor/Makefile b/examples/golang-hello-vendor/Makefile index 071cc18..459ae2a 100644 --- a/examples/golang-hello-vendor/Makefile +++ b/examples/golang-hello-vendor/Makefile @@ -17,7 +17,7 @@ OW_USER?=openwhisk OW_RUNTIME?=$(OW_USER)/actionloop-base -OW_COMPILER?=$(OW_USER)/actionloop-golang-v1.11 +OW_COMPILER?=$(OW_USER)/action-golang-v1.11 WSK?=wsk MAIN=hello PACKAGE=test diff --git a/examples/golang-main-package/Makefile b/examples/golang-main-package/Makefile index 8cafe1d..2c7cd55 100644 --- a/examples/golang-main-package/Makefile +++ b/examples/golang-main-package/Makefile @@ -17,7 +17,7 @@ OW_USER?=openwhisk OW_RUNTIME?=$(OW_USER)/actionloop-base -OW_COMPILER?=$(OW_USER)/actionloop-golang-v1.11 +OW_COMPILER?=$(OW_USER)/action-golang-v1.11 WSK?=wsk MAIN=main PACKAGE=test diff --git a/examples/golang-main-single/Makefile b/examples/golang-main-single/Makefile index 6207c41..ff5c4ce 100644 --- a/examples/golang-main-single/Makefile +++ b/examples/golang-main-single/Makefile @@ -17,7 +17,7 @@ OW_USER?=openwhisk OW_RUNTIME?=$(OW_USER)/actionloop-base -OW_COMPILER?=$(OW_USER)/actionloop-golang-v1.11 +OW_COMPILER?=$(OW_USER)/action-golang-v1.11 WSK?=wsk MAIN=main PACKAGE=test diff --git a/examples/golang-main-standalone/Makefile b/examples/golang-main-standalone/Makefile index cf33efd..e02c87d 100644 --- a/examples/golang-main-standalone/Makefile +++ b/examples/golang-main-standalone/Makefile @@ -17,7 +17,7 @@ OW_USER?=openwhisk OW_RUNTIME?=$(OW_USER)/actionloop-base -OW_COMPILER?=$(OW_USER)/actionloop-golang-v1.11 +OW_COMPILER?=$(OW_USER)/action-golang-v1.11 WSK?=wsk MAIN=main PACKAGE=test diff --git a/examples/golang-main-vendor/Makefile b/examples/golang-main-vendor/Makefile index 933858c..efebea6 100644 --- a/examples/golang-main-vendor/Makefile +++ b/examples/golang-main-vendor/Makefile @@ -17,7 +17,7 @@ OW_USER?=openwhisk OW_RUNTIME?=$(OW_USER)/actionloop-base -OW_COMPILER?=$(OW_USER)/actionloop-golang-v1.11 +OW_COMPILER?=$(OW_USER)/action-golang-v1.11 WSK?=wsk MAIN=main PACKAGE=test diff --git a/golang1.11/build.gradle b/golang1.11/build.gradle index 92bbb7a..c576a8b 100644 --- a/golang1.11/build.gradle +++ b/golang1.11/build.gradle @@ -15,7 +15,7 @@ * limitations under the License. */ -ext.dockerImageName = 'actionloop-golang-v1.11' +ext.dockerImageName = 'action-golang-v1.11' apply from: '../gradle/docker.gradle' distDocker.dependsOn 'staticBuildProxy' diff --git a/golang1.12/build.gradle b/golang1.12/build.gradle index 91b1636..4dc2e36 100644 --- a/golang1.12/build.gradle +++ b/golang1.12/build.gradle @@ -15,7 +15,7 @@ * limitations under the License. */ -ext.dockerImageName = 'actionloop-golang-v1.12' +ext.dockerImageName = 'action-golang-v1.12' apply from: '../gradle/docker.gradle' distDocker.dependsOn 'staticBuildProxy' diff --git a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo12Tests.scala b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo12Tests.scala index 15ca741..d0b62c2 100644 --- a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo12Tests.scala +++ b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGo12Tests.scala @@ -27,7 +27,7 @@ class ActionLoopBasicGo12Tests extends BasicActionRunnerTests with WskActorSystem { - val goCompiler = "actionloop-golang-v1.12" + val goCompiler = "action-golang-v1.12" val image = goCompiler override def withActionContainer(env: Map[String, String] = Map.empty)( diff --git a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGoTests.scala b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGoTests.scala index d485ada..948efa9 100644 --- a/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGoTests.scala +++ b/tests/src/test/scala/runtime/actionContainers/ActionLoopBasicGoTests.scala @@ -27,7 +27,7 @@ class ActionLoopBasicGoTests extends BasicActionRunnerTests with WskActorSystem { - val goCompiler = "actionloop-golang-v1.11" + val goCompiler = "action-golang-v1.11" val image = goCompiler override def withActionContainer(env: Map[String, String] = Map.empty)( diff --git a/tests/src/test/scala/runtime/actionContainers/ActionLoopGo12ContainerTests.scala b/tests/src/test/scala/runtime/actionContainers/ActionLoopGo12ContainerTests.scala index aeda4cc..b08ed6f 100644 --- a/tests/src/test/scala/runtime/actionContainers/ActionLoopGo12ContainerTests.scala +++ b/tests/src/test/scala/runtime/actionContainers/ActionLoopGo12ContainerTests.scala @@ -35,7 +35,7 @@ class ActionLoopGo12ContainerTests import GoResourceHelpers._ - val goCompiler = "actionloop-golang-v1.12" + val goCompiler = "action-golang-v1.12" val image = goCompiler def withActionLoopContainer(code: ActionContainer => Unit) = diff --git a/tests/src/test/scala/runtime/actionContainers/ActionLoopGoContainerTests.scala b/tests/src/test/scala/runtime/actionContainers/ActionLoopGoContainerTests.scala index 84f6dd4..2c3422c 100644 --- a/tests/src/test/scala/runtime/actionContainers/ActionLoopGoContainerTests.scala +++ b/tests/src/test/scala/runtime/actionContainers/ActionLoopGoContainerTests.scala @@ -35,7 +35,7 @@ class ActionLoopGoContainerTests import GoResourceHelpers._ - val goCompiler = "actionloop-golang-v1.11" + val goCompiler = "action-golang-v1.11" val image = goCompiler def withActionLoopContainer(code: ActionContainer => Unit) =