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.git
The following commit(s) were added to refs/heads/master by this push:
new d8cf172 Add php:8.0 kind (#5071)
d8cf172 is described below
commit d8cf17247bbcd8c1250873254d0c213fa28116ce
Author: Rob Allen <[email protected]>
AuthorDate: Fri Feb 26 23:06:47 2021 +0000
Add php:8.0 kind (#5071)
Also, set example PHP runtime to v7.4.
---
ansible/files/runtimes.json | 14 ++++++++++++++
core/controller/src/main/resources/apiv1swagger.json | 1 +
docs/actions-docker.md | 2 +-
docs/actions-php.md | 3 ++-
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/ansible/files/runtimes.json b/ansible/files/runtimes.json
index bea1fed..d795648 100644
--- a/ansible/files/runtimes.json
+++ b/ansible/files/runtimes.json
@@ -175,6 +175,20 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "php:8.0",
+ "default": false,
+ "deprecated": false,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-php-v8.0",
+ "tag": "nightly"
+ },
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"ruby": [
diff --git a/core/controller/src/main/resources/apiv1swagger.json
b/core/controller/src/main/resources/apiv1swagger.json
index cfe69c8..217ccf7 100644
--- a/core/controller/src/main/resources/apiv1swagger.json
+++ b/core/controller/src/main/resources/apiv1swagger.json
@@ -2002,6 +2002,7 @@
"nodejs:default",
"php:7.3",
"php:7.4",
+ "php:8.0",
"php:default",
"python:3",
"python:default",
diff --git a/docs/actions-docker.md b/docs/actions-docker.md
index 4e35b82..788f723 100644
--- a/docs/actions-docker.md
+++ b/docs/actions-docker.md
@@ -65,7 +65,7 @@ Here are some of the more common runtime images...
- `openwhisk/python3action` - [Python
3](https://hub.docker.com/r/openwhisk/python3action)
([Source](https://github.com/apache/openwhisk-runtime-python/blob/master/core/pythonAction/Dockerfile))
- `openwhisk/java8action` - [Java
8](https://hub.docker.com/r/openwhisk/java8action)
([Source](https://github.com/apache/openwhisk-runtime-java/blob/master/core/java8/Dockerfile))
- `openwhisk/action-swift-v4.2` - [Swift
4.2](https://hub.docker.com/r/openwhisk/action-swift-v4.2)
([Source](https://github.com/apache/openwhisk-runtime-swift/blob/master/core/swift42Action/Dockerfile))
-- `openwhisk/action-php-v7.3` - [PHP
7.3](https://hub.docker.com/r/openwhisk/action-php-v7.3)
([Source](https://github.com/apache/openwhisk-runtime-php/blob/master/core/php7.3Action/Dockerfile))
+- `openwhisk/action-php-v7.4` - [PHP
7.4](https://hub.docker.com/r/openwhisk/action-php-v7.4)
([Source](https://github.com/apache/openwhisk-runtime-php/blob/master/core/php7.4Action/Dockerfile))
- `openwhisk/action-ruby-v2.5` - [Ruby
2.5](https://hub.docker.com/r/openwhisk/action-ruby-v2.5)
([Source](https://github.com/apache/openwhisk-runtime-ruby/blob/master/core/ruby2.5Action/Dockerfile))
## Extending Existing Runtimes
diff --git a/docs/actions-php.md b/docs/actions-php.md
index 3083d5b..d70a544 100644
--- a/docs/actions-php.md
+++ b/docs/actions-php.md
@@ -23,12 +23,13 @@ The process of creating PHP actions is similar to that of
[other actions](action
The following sections guide you through creating and invoking a single PHP
action,
and demonstrate how to bundle multiple PHP files and third party dependencies.
-PHP actions are executed using PHP 7.4 or 7.3. The specific
+PHP actions are executed using PHP 8.0, 7.4 or 7.3. The specific
version of PHP is listed in the CHANGELOG files in the [PHP runtime
repository](https://github.com/apache/openwhisk-runtime-php).
To use a PHP runtime, specify the `wsk` CLI parameter `--kind` when creating or
updating an action. The available PHP kinds are:
+* PHP 8.0: `--kind php:8.0`
* PHP 7.4: `--kind php:7.4`
* PHP 7.3: `--kind php:7.3`