You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2020/01/10 20:06:15 UTC

[openwhisk-wskdeploy] branch master updated: Updating runtimes cache to match server side (#1086)

This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new fe1d299  Updating runtimes cache to match server side (#1086)
fe1d299 is described below

commit fe1d29961cb25809ab0bae89c2f089ff96fa046c
Author: Priti Desai <pd...@us.ibm.com>
AuthorDate: Fri Jan 10 12:06:06 2020 -0800

    Updating runtimes cache to match server side (#1086)
---
 runtimes/runtimes.go               | 174 +++++++++++--------------------------
 specification/html/spec_actions.md |   2 +-
 2 files changed, 54 insertions(+), 122 deletions(-)

diff --git a/runtimes/runtimes.go b/runtimes/runtimes.go
index 7d9bd03..30e1bc0 100644
--- a/runtimes/runtimes.go
+++ b/runtimes/runtimes.go
@@ -275,46 +275,21 @@ func ListOfSupportedRuntimes(runtimes map[string][]string) (rt []string) {
 }
 
 var RUNTIME_DETAILS = []byte(`{
-    "support": {
-        "github": "https://github.com/apache/openwhisk/issues",
-        "slack": "http://slack.openwhisk.org"
-    },
-    "description": "OpenWhisk",
-    "api_paths": [
-        "/api/v1"
-    ],
     "runtimes": {
         "nodejs": [
             {
-                "kind": "nodejs",
-                "image": {
-                    "prefix": "openwhisk",
-                    "name": "nodejsaction",
-                    "tag": "latest"
-                },
-                "deprecated": true,
-                "attached": {
-                    "attachmentName": "codefile",
-                    "attachmentType": "text/plain"
-                }
-            },
-            {
                 "kind": "nodejs:6",
                 "default": false,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "nodejs6action",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "deprecated": true,
                 "attached": {
                     "attachmentName": "codefile",
                     "attachmentType": "text/plain"
-                },
-                "stemCells": [{
-                    "count": 2,
-                    "memory": "256 MB"
-                }]
+                }
             },
             {
                 "kind": "nodejs:8",
@@ -322,7 +297,7 @@ var RUNTIME_DETAILS = []byte(`{
                 "image": {
                     "prefix": "openwhisk",
                     "name": "action-nodejs-v8",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "deprecated": false,
                 "attached": {
@@ -336,36 +311,43 @@ var RUNTIME_DETAILS = []byte(`{
                 "image": {
                     "prefix": "openwhisk",
                     "name": "action-nodejs-v10",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "deprecated": false,
                 "attached": {
                     "attachmentName": "codefile",
                     "attachmentType": "text/plain"
-                }
-            }
-        ],
-        "python": [
+                },
+                "stemCells": [
+                    {
+                        "count": 2,
+                        "memory": "256 MB"
+                    }
+                ]
+            },
             {
-                "kind": "python",
+                "kind": "nodejs:12",
+                "default": false,
                 "image": {
                     "prefix": "openwhisk",
-                    "name": "python2action",
-                    "tag": "latest"
+                    "name": "action-nodejs-v12",
+                    "tag": "nightly"
                 },
                 "deprecated": false,
                 "attached": {
                     "attachmentName": "codefile",
                     "attachmentType": "text/plain"
                 }
-            },
+            }
+        ],
+        "python": [
             {
                 "kind": "python:2",
-                "default": true,
+                "default": false,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "python2action",
-                    "tag": "latest"
+                    "tag": "1.13.0-incubating"
                 },
                 "deprecated": false,
                 "attached": {
@@ -375,10 +357,11 @@ var RUNTIME_DETAILS = []byte(`{
             },
             {
                 "kind": "python:3",
+                "default": true,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "python3action",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "deprecated": false,
                 "attached": {
@@ -389,65 +372,12 @@ var RUNTIME_DETAILS = []byte(`{
         ],
         "swift": [
             {
-                "kind": "swift",
-                "image": {
-                    "prefix": "openwhisk",
-                    "name": "swiftaction",
-                    "tag": "latest"
-                },
-                "deprecated": true,
-                "attached": {
-                    "attachmentName": "codefile",
-                    "attachmentType": "text/plain"
-                }
-            },
-            {
-                "kind": "swift:3",
-                "image": {
-                    "prefix": "openwhisk",
-                    "name": "swift3action",
-                    "tag": "latest"
-                },
-                "deprecated": true,
-                "attached": {
-                    "attachmentName": "codefile",
-                    "attachmentType": "text/plain"
-                }
-            },
-            {
-                "kind": "swift:3.1.1",
-                "image": {
-                    "prefix": "openwhisk",
-                    "name": "action-swift-v3.1.1",
-                    "tag": "latest"
-                },
-                "deprecated": false,
-                "attached": {
-                    "attachmentName": "codefile",
-                    "attachmentType": "text/plain"
-                }
-            },
-            {
-                "kind": "swift:4.1",
-                "default": false,
-                "image": {
-                    "prefix": "openwhisk",
-                    "name": "action-swift-v4.1",
-                    "tag": "latest"
-                },
-                "deprecated": false,
-                "attached": {
-                    "attachmentName": "codefile",
-                    "attachmentType": "text/plain"
-                }
-            },
-            {
                 "kind": "swift:4.2",
                 "default": true,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "action-swift-v4.2",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "deprecated": false,
                 "attached": {
@@ -458,12 +388,12 @@ var RUNTIME_DETAILS = []byte(`{
         ],
         "java": [
             {
-                "kind": "java",
+                "kind": "java:8",
                 "default": true,
                 "image": {
                     "prefix": "openwhisk",
                     "name": "java8action",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "deprecated": false,
                 "attached": {
@@ -475,27 +405,13 @@ var RUNTIME_DETAILS = []byte(`{
         ],
         "php": [
             {
-                "kind": "php:7.1",
-                "default": false,
-                "deprecated": false,
-                "image": {
-                    "prefix": "openwhisk",
-                    "name": "action-php-v7.1",
-                    "tag": "latest"
-                },
-                "attached": {
-                    "attachmentName": "codefile",
-                    "attachmentType": "text/plain"
-                }
-            },
-            {
-                "kind": "php:7.2",
+                "kind": "php:7.3",
                 "default": false,
                 "deprecated": false,
                 "image": {
                     "prefix": "openwhisk",
-                    "name": "action-php-v7.2",
-                    "tag": "latest"
+                    "name": "action-php-v7.3",
+                    "tag": "nightly"
                 },
                 "attached": {
                     "attachmentName": "codefile",
@@ -503,13 +419,13 @@ var RUNTIME_DETAILS = []byte(`{
                 }
             },
             {
-                "kind": "php:7.3",
+                "kind": "php:7.4",
                 "default": true,
                 "deprecated": false,
                 "image": {
                     "prefix": "openwhisk",
-                    "name": "action-php-v7.3",
-                    "tag": "latest"
+                    "name": "action-php-v7.4",
+                    "tag": "nightly"
                 },
                 "attached": {
                     "attachmentName": "codefile",
@@ -529,7 +445,7 @@ var RUNTIME_DETAILS = []byte(`{
                 "image": {
                     "prefix": "openwhisk",
                     "name": "action-ruby-v2.5",
-                    "tag": "latest"
+                    "tag": "nightly"
                 }
             }
         ],
@@ -544,8 +460,8 @@ var RUNTIME_DETAILS = []byte(`{
                 },
                 "image": {
                     "prefix": "openwhisk",
-                    "name": "actionloop-golang-v1.11",
-                    "tag": "latest"
+                    "name": "action-golang-v1.11",
+                    "tag": "nightly"
                 }
             }
         ],
@@ -558,20 +474,36 @@ var RUNTIME_DETAILS = []byte(`{
                 "image": {
                     "prefix": "openwhisk",
                     "name": "action-dotnet-v2.2",
-                    "tag": "latest"
+                    "tag": "nightly"
                 },
                 "attached": {
                     "attachmentName": "codefile",
                     "attachmentType": "text/plain"
                 }
             }
+        ],
+        "ballerina": [
+            {
+                "kind": "ballerina:0.990",
+                "default": true,
+                "image": {
+                    "prefix": "openwhisk",
+                    "name": "action-ballerina-v0.990.2",
+                    "tag": "nightly"
+                },
+                "deprecated": false,
+                "attached": {
+                    "attachmentName": "codefile",
+                    "attachmentType": "text/plain"
+                }
+            }
         ]
     },
     "blackboxes": [
         {
             "prefix": "openwhisk",
             "name": "dockerskeleton",
-            "tag": "latest"
+            "tag": "nightly"
         }
     ]
 }`)
diff --git a/specification/html/spec_actions.md b/specification/html/spec_actions.md
index 41e40b6..d4611b6 100644
--- a/specification/html/spec_actions.md
+++ b/specification/html/spec_actions.md
@@ -136,7 +136,7 @@ These packages may vary by OpenWhisk release; examples of supported runtimes as
 |:---|:---|:---|:---|
 | nodejs@10 | nodejs:10 | openwhisk/action-nodejs-v8:latest | Latest NodeJS 10 runtime |
 | nodejs@8 | nodejs:8 | openwhisk/action-nodejs-v8:latest | Latest NodeJS 8 runtime |
-| nodejs@6 | nodejs:default | openwhisk/nodejs6action:latest | Latest NodeJS 6 runtime |
+| nodejs@12 | nodejs:12 | openwhisk/nodejs12action:latest | Latest NodeJS 12 runtime |
 | java | java | openwhisk/java8action:latest | Latest Java (8) language runtime |
 | php, php@7.3 | php:7.3 | openwhisk/action-php-v7.3:latest | Latest PHP (7.3) language runtime |
 | php, php@7.2 | php:7.2 | openwhisk/action-php-v7.2:latest | Latest PHP (7.2) language runtime |