This is an automated email from the ASF dual-hosted git repository.
csantanapr 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 276eeaf Add PHP 7.3 runtime (#1021)
276eeaf is described below
commit 276eeafa085e0ff829bb2acc6e9414fcf2bee29f
Author: Rob Allen <[email protected]>
AuthorDate: Mon Dec 17 16:43:58 2018 +0000
Add PHP 7.3 runtime (#1021)
---
runtimes/runtimes.go | 16 +++++++++++++++-
specification/html/spec_actions.md | 1 +
tests/src/integration/runtimetests/manifest.yaml | 22 +++++++++++++++++++++-
3 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/runtimes/runtimes.go b/runtimes/runtimes.go
index ecd3dd4..39236ad 100644
--- a/runtimes/runtimes.go
+++ b/runtimes/runtimes.go
@@ -473,7 +473,7 @@ var RUNTIME_DETAILS = []byte(`{
},
{
"kind": "php:7.2",
- "default": true,
+ "default": false,
"deprecated": false,
"image": {
"prefix": "openwhisk",
@@ -484,6 +484,20 @@ var RUNTIME_DETAILS = []byte(`{
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "php:7.3",
+ "default": true,
+ "deprecated": false,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-php-v7.3",
+ "tag": "latest"
+ },
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"ruby": [
diff --git a/specification/html/spec_actions.md
b/specification/html/spec_actions.md
index b13735c..285266b 100644
--- a/specification/html/spec_actions.md
+++ b/specification/html/spec_actions.md
@@ -138,6 +138,7 @@ These packages may vary by OpenWhisk release; examples of
supported runtimes as
| nodejs@8 | nodejs:8 | openwhisk/action-nodejs-v8:latest | Latest NodeJS 8
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.3 | openwhisk/action-php-v7.3:latest | Latest PHP (7.3)
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@3 | python:3 | openwhisk/python3action:latest | Latest Python 3
language runtime |
diff --git a/tests/src/integration/runtimetests/manifest.yaml
b/tests/src/integration/runtimetests/manifest.yaml
index 5064ec6..c0b6803 100644
--- a/tests/src/integration/runtimetests/manifest.yaml
+++ b/tests/src/integration/runtimetests/manifest.yaml
@@ -36,7 +36,7 @@ packages:
place: string
outputs:
payload: string
- greetingphp-with-explicit-runtime:
+ greetingphp71-with-explicit-runtime:
web-export: true
version: 1.0
function: src/hello.php
@@ -46,6 +46,26 @@ packages:
place: string
outputs:
payload: string
+ greetingphp72-with-explicit-runtime:
+ web-export: true
+ version: 1.0
+ function: src/hello.php
+ runtime: php:7.2
+ inputs:
+ name: string
+ place: string
+ outputs:
+ payload: string
+ greetingphp73-with-explicit-runtime:
+ web-export: true
+ version: 1.0
+ function: src/hello.php
+ runtime: php:7.3
+ inputs:
+ name: string
+ place: string
+ outputs:
+ payload: string
greetingpython-with-explicit-runtime:
web-export: true
version: 1.0