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-wskdeploy.git
The following commit(s) were added to refs/heads/master by this push:
new efbf11c Add nodejs:10 kind for wskdeploy (#1011)
efbf11c is described below
commit efbf11c88331fae47d41501f1a3ec24c497920e6
Author: Carlos Santana <[email protected]>
AuthorDate: Mon Nov 19 17:37:15 2018 -0500
Add nodejs:10 kind for wskdeploy (#1011)
---
runtimes/runtimes.json | 14 ++++++++++++++
specification/html/spec_actions.md | 12 ++++++------
tests/src/integration/runtimetests/manifest.yaml | 10 ++++++++++
3 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/runtimes/runtimes.json b/runtimes/runtimes.json
index f47b4fd..29bd3a2 100644
--- a/runtimes/runtimes.json
+++ b/runtimes/runtimes.json
@@ -53,6 +53,20 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "nodejs:10",
+ "default": false,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-nodejs-v10",
+ "tag": "latest"
+ },
+ "deprecated": false,
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"python": [
diff --git a/specification/html/spec_actions.md
b/specification/html/spec_actions.md
index bc74dd9..0521675 100644
--- a/specification/html/spec_actions.md
+++ b/specification/html/spec_actions.md
@@ -134,15 +134,15 @@ These packages may vary by OpenWhisk release; examples of
supported runtimes as
| Runtime value | OpenWhisk kind | Docker image name | Description |
|:---|:---|:---|:---|
-| nodejs | nodejs | openwhisk/nodejsaction:latest | Latest NodeJS runtime |
-| nodejs@6 | nodejs:6 | openwhisk/nodejs6action:latest | Latest NodeJS 6
runtime |
+| nodejs@10 | nodejs:10 | openwhisk/action-nodejs-v8:latest | Latest NodeJS 10
runtime |
| nodejs@8 | nodejs:8 | openwhisk/action-nodejs-v8:latest | Latest NodeJS 8
runtime |
-| java, java@8 | java | openwhisk/java8action:latest | Latest Java (8)
language runtime |
+| nodejs@6 | nodejs:6 | openwhisk/nodejs6action:latest | Latest NodeJS 6
runtime |
+| java | java | openwhisk/java8action:latest | Latest Java (8) language
runtime |
+| php, [email protected] | php:7.2 | openwhisk/action-php-v7.2:latest | Latest PHP (7.2)
language runtime |
| php, [email protected] | php:7.1 | openwhisk/action-php-v7.1:latest | Latest PHP (7.1)
language runtime |
-| python, python@2 | python:2 | openwhisk/python2action:latest | Latest Python
2 language runtime |
| python@3 | python:3 | openwhisk/python3action:latest | Latest Python 3
language runtime |
-| swift | swift | openwhisk/swiftaction:latest | Latest Swift language runtime
|
-| swift@3 | swift | openwhisk/swift3action:latest | Latest Swift 3 language
runtime |
+| python, python@2 | python:2 | openwhisk/python2action:latest | Latest Python
2 language runtime |s
+| [email protected] | swift | openwhisk/action-swift-v4.1:latest | Latest Swift 4.1
language runtime |
| [email protected] | swift | openwhisk/action-swift-v3.1.1:latest | Latest Swift
3.1.1 language runtime |
| language:default | N/A | N/A | Permit the OpenWhisk platform to select the
correct default language runtime. |
diff --git a/tests/src/integration/runtimetests/manifest.yaml
b/tests/src/integration/runtimetests/manifest.yaml
index 738057b..04539e1 100644
--- a/tests/src/integration/runtimetests/manifest.yaml
+++ b/tests/src/integration/runtimetests/manifest.yaml
@@ -26,6 +26,16 @@ packages:
place: string
outputs:
payload: string
+ greetingnodejs10-with-explicit-runtime:
+ web-export: true
+ version: 1.0
+ function: src/greeting.js
+ runtime: nodejs:10
+ inputs:
+ name: string
+ place: string
+ outputs:
+ payload: string
greetingphp-with-explicit-runtime:
web-export: true
version: 1.0