Skip to content

Commit d8cf172

Browse files
authored
Add php:8.0 kind (#5071)
Also, set example PHP runtime to v7.4.
1 parent ed58b23 commit d8cf172

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

ansible/files/runtimes.json

+14
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,20 @@
175175
"attachmentName": "codefile",
176176
"attachmentType": "text/plain"
177177
}
178+
},
179+
{
180+
"kind": "php:8.0",
181+
"default": false,
182+
"deprecated": false,
183+
"image": {
184+
"prefix": "openwhisk",
185+
"name": "action-php-v8.0",
186+
"tag": "nightly"
187+
},
188+
"attached": {
189+
"attachmentName": "codefile",
190+
"attachmentType": "text/plain"
191+
}
178192
}
179193
],
180194
"ruby": [

core/controller/src/main/resources/apiv1swagger.json

+1
Original file line numberDiff line numberDiff line change
@@ -2002,6 +2002,7 @@
20022002
"nodejs:default",
20032003
"php:7.3",
20042004
"php:7.4",
2005+
"php:8.0",
20052006
"php:default",
20062007
"python:3",
20072008
"python:default",

docs/actions-docker.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Here are some of the more common runtime images...
6565
- `openwhisk/python3action` - [Python 3](https://hub.docker.com/r/openwhisk/python3action) ([Source](https://github.com/apache/openwhisk-runtime-python/blob/master/core/pythonAction/Dockerfile))
6666
- `openwhisk/java8action` - [Java 8](https://hub.docker.com/r/openwhisk/java8action) ([Source](https://github.com/apache/openwhisk-runtime-java/blob/master/core/java8/Dockerfile))
6767
- `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))
68-
- `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))
68+
- `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))
6969
- `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))
7070

7171
## Extending Existing Runtimes

docs/actions-php.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ The process of creating PHP actions is similar to that of [other actions](action
2323
The following sections guide you through creating and invoking a single PHP action,
2424
and demonstrate how to bundle multiple PHP files and third party dependencies.
2525

26-
PHP actions are executed using PHP 7.4 or 7.3. The specific
26+
PHP actions are executed using PHP 8.0, 7.4 or 7.3. The specific
2727
version of PHP is listed in the CHANGELOG files in the [PHP runtime repository](https://github.com/apache/openwhisk-runtime-php).
2828

2929
To use a PHP runtime, specify the `wsk` CLI parameter `--kind` when creating or
3030
updating an action. The available PHP kinds are:
3131

32+
* PHP 8.0: `--kind php:8.0`
3233
* PHP 7.4: `--kind php:7.4`
3334
* PHP 7.3: `--kind php:7.3`
3435

0 commit comments

Comments
 (0)