You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2022/07/25 10:54:52 UTC

[GitHub] [openwhisk-runtime-docker] ningyougang commented on pull request #92: Support array result include sequence action

ningyougang commented on PR #92:
URL: https://github.com/apache/openwhisk-runtime-docker/pull/92#issuecomment-1193895242

   Supports sequence action for dockerskeleton:support, the test steps as below
   * Write codes
   ```shell 
   [root@nccddev130026 ~]# cat exec 
   #!/bin/bash
   echo '["a", "b"]
   [root@nccddev130026 ~]# zip -r splitAction.zip exec
   
   [root@nccddev130026 ~]# cat exec 
   #!/usr/bin/env bash
   
   arr=$1
   
   echo $arr
   [root@nccddev130026 ~]# zip -r sortAction.zip exec
   ```
   * Create action and invoke action
   ```shell
   wsk -i action create /whisk.system/utils/split-docker splitAction.zip --docker reg.navercorp.com/lambda/dockerskeleton:support-array-result
   wsk -i action create /whisk.system/utils/sort-docker  sortAction.zip --docker reg.navercorp.com/lambda/dockerskeleton:support-array-result
   wsk -i action create mySequence-docker --sequence /whisk.system/utils/split-docker,/whisk.system/utils/sort-docker
   wsk -i action invoke mySequence-docker -r -v
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org