Grouping multiple 'in_parallel' tasks using 'do' steps #5968
-
I'm currently investigating running groups of serial steps in parallel, for example: - in_parallel:
- do:
- task: generate-output-1
..
- task: use-output-1
..
- do:
- task: generate-output-2
..
- task: use-output-2
.. Both Syntactically the pipeline is valid and it runs as expected—exposing the correct outputs to the individual |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@marcransome This is indeed a gotcha - outputs are effectively in a global namespace through a build, so it's very likely for this to result in a race condition (last write wins). I would recommend using It would be nice for these to be lexically scoped or something. 🤔 |
Beta Was this translation helpful? Give feedback.
@marcransome This is indeed a gotcha - outputs are effectively in a global namespace through a build, so it's very likely for this to result in a race condition (last write wins). I would recommend using
input_mapping
andoutput_mapping
to give them unique names.It would be nice for these to be lexically scoped or something. 🤔