Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support array result include sequence action #92

Conversation

ningyougang
Copy link
Contributor

@ningyougang ningyougang commented Jul 25, 2022

Depend on below prs:

@ningyougang
Copy link
Contributor Author

Supports sequence action for dockerskeleton:support, the test steps as below

  • Write codes
[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
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

@ningyougang ningyougang force-pushed the support-array-result-include-sequence-action branch from ccfe651 to ef401fc Compare August 8, 2022 06:10
Copy link
Member

@dgrove-oss dgrove-oss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dgrove-oss dgrove-oss merged commit 2c8df9b into apache:master Aug 15, 2022
@dgrove-oss dgrove-oss mentioned this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants