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/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new b7c203b8b update language runtimes to use newer versions (#5381)
b7c203b8b is described below
commit b7c203b8b70f1d5ec39e95287a6cf572fed33f1b
Author: David Grove <[email protected]>
AuthorDate: Fri Feb 17 19:08:29 2023 -0500
update language runtimes to use newer versions (#5381)
---
ansible/files/runtimes-nodeonly.json | 2 +-
ansible/files/runtimes.json | 79 ++++++++++++++++++++--
.../src/main/resources/apiv1swagger.json | 9 ++-
3 files changed, 83 insertions(+), 7 deletions(-)
diff --git a/ansible/files/runtimes-nodeonly.json
b/ansible/files/runtimes-nodeonly.json
index dc16a1f12..18de9caa8 100644
--- a/ansible/files/runtimes-nodeonly.json
+++ b/ansible/files/runtimes-nodeonly.json
@@ -10,7 +10,7 @@
"runtime families or runtime kinds, mark all affected runtime kinds as
deprecated (deprecated: true) and",
"perform a manual migration of all affected actions.",
"",
- "This file is meant to list a small set of runtimes used by Travis
system tests. Using a small set of runtimes",
+ "This file is meant to list a small set of runtimes used by the GitHub
Action system tests. Using a small set of runtimes",
"instead of all runtimes maintained by the Apache Openwhisk community
speeds up tests."
],
"runtimes": {
diff --git a/ansible/files/runtimes.json b/ansible/files/runtimes.json
index d61c7dff3..f3a748344 100644
--- a/ansible/files/runtimes.json
+++ b/ansible/files/runtimes.json
@@ -54,6 +54,20 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "nodejs:18",
+ "default": false,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-nodejs-v18",
+ "tag": "nightly"
+ },
+ "deprecated": false,
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"python": [
@@ -70,6 +84,20 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "python:3.10",
+ "default": false,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-python-v3.10",
+ "tag": "nightly"
+ },
+ "deprecated": false,
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"swift": [
@@ -137,7 +165,7 @@
{
"kind": "php:7.3",
"default": false,
- "deprecated": false,
+ "deprecated": true,
"image": {
"prefix": "openwhisk",
"name": "action-php-v7.3",
@@ -175,6 +203,20 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "php:8.1",
+ "default": false,
+ "deprecated": false,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-php-v8.1",
+ "tag": "nightly"
+ },
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"ruby": [
@@ -207,13 +249,27 @@
"name": "action-golang-v1.17",
"tag": "nightly"
}
+ },
+ {
+ "kind": "go:1.20",
+ "default": false,
+ "deprecated": false,
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ },
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-golang-v1.20",
+ "tag": "nightly"
+ }
}
],
"dotnet": [
{
"kind": "dotnet:2.2",
- "default": true,
- "deprecated": false,
+ "default": false,
+ "deprecated": true,
"requireMain": true,
"image": {
"prefix": "openwhisk",
@@ -227,7 +283,7 @@
},
{
"kind": "dotnet:3.1",
- "default": false,
+ "default": true,
"deprecated": false,
"requireMain": true,
"image": {
@@ -239,6 +295,21 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "dotnet:6.0",
+ "default": false,
+ "deprecated": false,
+ "requireMain": true,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-dotnet-v6.0",
+ "tag": "nightly"
+ },
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"rust": [
diff --git a/core/controller/src/main/resources/apiv1swagger.json
b/core/controller/src/main/resources/apiv1swagger.json
index bf2cf35e0..a7b074a49 100644
--- a/core/controller/src/main/resources/apiv1swagger.json
+++ b/core/controller/src/main/resources/apiv1swagger.json
@@ -1996,18 +1996,22 @@
"blackbox",
"java:8",
"java:default",
- "nodejs:12",
"nodejs:14",
+ "nodejs:16",
+ "nodejs:18",
"nodejs:default",
"php:7.3",
"php:7.4",
"php:8.0",
+ "php:8.1",
"php:default",
"python:3",
+ "python:3.10",
"python:default",
"ruby:2.5",
"ruby:default",
- "go:1.15",
+ "go:1.17",
+ "go:1.20",
"go:default",
"sequence",
"swift:5.1",
@@ -2016,6 +2020,7 @@
"swift:default",
"dotnet:2.2",
"dotnet:3.1",
+ "dotnet:6.0",
"dotnet:default",
"rust:1.34",
"rust:default"