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

List concatenation #39

Open
dustinblack opened this issue May 15, 2024 · 0 comments
Open

List concatenation #39

dustinblack opened this issue May 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dustinblack
Copy link
Member

Please describe what you would like to see in this project

Two foreach sub-workflows produce list outputs:

$.steps.sub1.outputs.success.data
$.steps.sub2.outputs.success.data

I would like the ability to concatenate these lists into one when passing the data to a step or output, hopefully with something very simple liike:

my_step:
    plugin:
      deployment_type: image
      src: my_plugin_path
    input:
      my_list: !expr $.steps.sub1.outputs.success.data + $.steps.sub2.outputs.success.data

Where the my_list input to the step is a single list object consisting of all of the list items from the outputs of both sub-workflows.

@dustinblack dustinblack added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants