rabbah commented on issue #2927: bash kind action URL: https://github.com/apache/incubator-openwhisk/issues/2927#issuecomment-347018584 The easiest way to support `kind --bash` if that's what you'd like to achieve is to adjust the [runtime manifest](https://github.com/apache/incubator-openwhisk/blob/master/ansible/group_vars/all#L38) to add a new kind ```bash diff --git a/ansible/group_vars/all b/ansible/group_vars/all index 02c2b08..8b0deb1 100644 --- a/ansible/group_vars/all +++ b/ansible/group_vars/all @@ -96,6 +96,12 @@ runtimesManifestDefault: deprecated: false image: name: "action-php-v7.1" + bash: + - kind: "bash" + default: true + deprecated: false + image: + name: "dockerskeleton" ``` Note that I'm reusing the `dockerskeleton` image. Then you can do this (after redeploying controller & invoker): ```bash > wsk action create mybash exec --kind bash ok: created action mybash > wsk action invoke mybash -p b 123 -p c '[1,2,3]' -r { "result": 124 } ``` +1 to the idea of allowing users to register their docker images as kinds. I see this related to re-architecting how we handle docker actions in general (related to: https://github.com/apache/incubator-openwhisk/issues/1362#issuecomment-337943114)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
