add swift:5.3 kind and change default from swift:4.2 to swift:5.3 (#5020)
diff --git a/ansible/files/runtimes.json b/ansible/files/runtimes.json
index 86fbdb1..cd8d29d 100644
--- a/ansible/files/runtimes.json
+++ b/ansible/files/runtimes.json
@@ -103,7 +103,7 @@
"swift": [
{
"kind": "swift:4.2",
- "default": true,
+ "default": false,
"image": {
"prefix": "openwhisk",
"name": "action-swift-v4.2",
@@ -128,6 +128,20 @@
"attachmentName": "codefile",
"attachmentType": "text/plain"
}
+ },
+ {
+ "kind": "swift:5.3",
+ "default": true,
+ "image": {
+ "prefix": "openwhisk",
+ "name": "action-swift-v5.3",
+ "tag": "nightly"
+ },
+ "deprecated": false,
+ "attached": {
+ "attachmentName": "codefile",
+ "attachmentType": "text/plain"
+ }
}
],
"java": [
diff --git a/core/controller/src/main/resources/apiv1swagger.json b/core/controller/src/main/resources/apiv1swagger.json
index aa19afb..c234ef7 100644
--- a/core/controller/src/main/resources/apiv1swagger.json
+++ b/core/controller/src/main/resources/apiv1swagger.json
@@ -2014,6 +2014,7 @@
"sequence",
"swift:4.2",
"swift:5.1",
+ "swift:5.3",
"swift:default",
"dotnet:2.2",
"dotnet:3.1",