You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2022/05/09 13:12:11 UTC

[openwhisk-wskdeploy] branch master updated: Update runtime versions for go and swift (#1151)

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-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new 30ae829e Update runtime versions for go and swift (#1151)
30ae829e is described below

commit 30ae829e81dafd6f20d1279a2e0e93ccfa28fa5f
Author: AkimitsuTosha <at...@yahoo-corp.jp>
AuthorDate: Mon May 9 22:12:06 2022 +0900

    Update runtime versions for go and swift (#1151)
---
 README.md                                        | 2 +-
 runtimes/runtimes.go                             | 4 ++--
 specification/html/spec_actions.md               | 2 ++
 tests/src/integration/helloworld/manifest.yaml   | 4 ++--
 tests/src/integration/runtimetests/manifest.yaml | 6 +++---
 5 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index d3e6577a..c7ba50f6 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
 # Whisk Deploy `wskdeploy`
 
 [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
-[![Build Status](https://travis-ci.com/apache/openwhisk-wskdeploy.svg?branch=master)](https://travis-ci.com/apache/openwhisk-wskdeploy)
+[![Build Status](https://travis-ci.com/apache/openwhisk-wskdeploy.svg?branch=master)](https://travis-ci.com/github/apache/openwhisk-wskdeploy)
 
 `wskdeploy` is a utility to help you describe and deploy any part of the OpenWhisk programming model using a YAML manifest file. Use it to deploy all of your OpenWhisk project's [Packages](https://github.com/apache/openwhisk/blob/master/docs/packages.md), [Actions](https://github.com/apache/openwhisk/blob/master/docs/actions.md), [Triggers, and Rules](https://github.com/apache/openwhisk/blob/master/docs/triggers_rules.md), together, using a single command!
 
diff --git a/runtimes/runtimes.go b/runtimes/runtimes.go
index db1bea91..0f9f856b 100644
--- a/runtimes/runtimes.go
+++ b/runtimes/runtimes.go
@@ -382,7 +382,7 @@ var RUNTIME_DETAILS = []byte(`{
         ],
         "swift": [
             {
-                "kind": "swift:4.2",
+                "kind": "swift:5.4",
                 "default": true,
                 "image": {
                     "prefix": "openwhisk",
@@ -461,7 +461,7 @@ var RUNTIME_DETAILS = []byte(`{
         ],
         "go": [
             {
-                "kind": "go:1.11",
+                "kind": "go:1.15",
                 "default": true,
                 "deprecated": false,
                 "attached": {
diff --git a/specification/html/spec_actions.md b/specification/html/spec_actions.md
index 14b7f72d..4618b0cb 100644
--- a/specification/html/spec_actions.md
+++ b/specification/html/spec_actions.md
@@ -153,6 +153,7 @@ The following runtime values are currently supported by the OpenWhisk platform "
 
 | Runtime value | OpenWhisk kind | Docker image | Tag | Description |
 |:---|:---|:---|:---|:---|
+| go&nbsp;&#124; go:1.15 (default)| go:1.15 | [openwhisk/action-golang-v1.15](https://hub.docker.com/r/openwhisk/action-golang-v1.15) | nightly | Go 1.15 runtime |
 | go&nbsp;&#124; go:1.11 (default)| go:1.11 | [openwhisk/action-golang-v1.11](https://hub.docker.com/r/openwhisk/action-golang-v1.11) | nightly | Go 1.11 runtime |
 | nodejs@12 | nodejs:12 | [openwhisk/nodejs12action](https://hub.docker.com/r/openwhisk/action-nodejs-v12) | nightly | NodeJS 12 runtime |
 | nodejs&nbsp;&#124; nodejs@10 (default)| nodejs:10 | [openwhisk/action-nodejs-v10](https://hub.docker.com/r/openwhisk/action-nodejs-v10) | nightly |NodeJS 10 runtime |
@@ -166,6 +167,7 @@ The following runtime values are currently supported by the OpenWhisk platform "
 | python&nbsp;&#124; python@3 (default) | python:3 | [openwhisk/python3action](https://hub.docker.com/r/openwhisk/python3action) | nightly | Python 3 (3.6) language runtime |
 | python@2 | python:2 | [openwhisk/python2action](https://hub.docker.com/r/openwhisk/python2action) | 1.13.0-incubating | Python 2 (2.7) language runtime |
 | ruby&nbsp;&#124; (default) | ruby:2.5 | [openwhisk/action-ruby-v2.5](https://hub.docker.com/repository/docker/openwhisk/action-ruby-v2.5) | nightly | Ruby 2.5 language runtime |
+| swift&nbsp;&#124; swift@5.4 (default) | swift:5.4 | [openwhisk/action-swift-v5.4](https://hub.docker.com/r/openwhisk/action-swift-v5.4) | nightly | Swift 4.2 language runtime |
 | swift&nbsp;&#124; swift@4.2 (default) | swift:4.2 | [openwhisk/action-swift-v4.2](https://hub.docker.com/r/openwhisk/action-swift-v4.2) | nightly | Swift 4.2 language runtime |
 | swift@4.1 | swift:4.1 | [openwhisk/action-swift-v4.1](https://hub.docker.com/r/openwhisk/action-swift-v4.1) | nightly | Swift 4.1 language runtime |
 | swift@3.1.1 **(deprecated)** | swift:3.1.1 | [openwhisk/action-swift-v3.1.1](https://hub.docker.com/r/openwhisk/action-swift-v3.1.1) | nightly | Swift 3.1.1 language runtime |
diff --git a/tests/src/integration/helloworld/manifest.yaml b/tests/src/integration/helloworld/manifest.yaml
index 4451de1a..9daab7a5 100644
--- a/tests/src/integration/helloworld/manifest.yaml
+++ b/tests/src/integration/helloworld/manifest.yaml
@@ -123,7 +123,7 @@ packages:
         # helloworld action in swift
         helloSwift:
           function: actions/hello.swift
-          runtime: swift:4.2
+          runtime: swift:5.4
           inputs:
             name:
               type: string
@@ -144,7 +144,7 @@ packages:
                     print (msg)
                     return msg
                 }
-          runtime: swift:4.2
+          runtime: swift:5.4
           inputs:
             name:
               type: string
diff --git a/tests/src/integration/runtimetests/manifest.yaml b/tests/src/integration/runtimetests/manifest.yaml
index c2084a00..2bfec267 100644
--- a/tests/src/integration/runtimetests/manifest.yaml
+++ b/tests/src/integration/runtimetests/manifest.yaml
@@ -135,7 +135,7 @@ packages:
                     web-export: true
                 version: 1.0
                 function: src/hello.swift
-                runtime: swift:4.2
+                runtime: swift:5.4
                 inputs:
                     name: string
                     place: string
@@ -345,7 +345,7 @@ packages:
             helloworldjava-with-swift-explicit-runtime:
                 function: src/hello.jar
                 main: Hello
-                runtime: swift:4.2
+                runtime: swift:5.4
             helloworldjava-with-random-explicit-runtime:
                 function: src/hello.jar
                 main: Hello
@@ -353,4 +353,4 @@ packages:
             helloworlddotnet22-with-swift-explicit-runtime:
                 function: src/helloDotNet.zip
                 main: Apache.OpenWhisk.Example.Dotnet::Apache.OpenWhisk.Example.Dotnet.Hello::Main
-                runtime: swift:4.2
+                runtime: swift:5.4