You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/codefresh-yaml/advanced-workflows.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -303,11 +303,12 @@ first.txt second.txt
303
303
304
304
This illustrates the side effects for both parallel steps that were executed on the same volume.
305
305
306
-
>It is therefore your responsibility to make sure that steps that run in parallel playnice with each other. Currently Codefresh performs no conflict detection at all. If there are race conditions between your parallel steps (e.g. multiple steps writing at the same files) the final behavior is undefined. It is best to start with a fully sequential pipeline and use parallelism in a gradual manner if you are unsure about the side effects of your steps
306
+
>It is therefore your responsibility to make sure that steps that run in parallel play nice with each other. Currently, Codefresh performs no conflict detection at all. If there are race conditions between your parallel steps, (e.g. multiple steps writing at the same files), the final behavior is undefined. It is best to start with a fully sequential pipeline, and use parallelism in a gradual manner if you are unsure about the side effects of your steps
307
307
308
308
##Implicit parallel steps
309
+
>If you use implicit parallel steps, you_cannot_ use_parallel pipeline mode_.
309
310
310
-
In all the previous examples, all parallel steps have been defined explicitly in a pipeline. This works well for a small number of steps, but in some cases it can be cumbersome to write suchasa pipeline, especially when the parallel steps are similar.
311
+
In all the previous examples, all parallel steps have been defined explicitly in a pipeline. This works well for a small number of steps, but in some cases it can be cumbersome to write such a pipeline, especially when the parallel steps are similar.
311
312
312
313
Codefresh offers two handy ways to lessen the amount of YAML you have to write and get automatic parallelization with minimum effort.
313
314
@@ -524,6 +525,7 @@ of matrix variations can quickly grow if you add too many dimensions.
524
525
Notice that, as with the`scale` syntax, the defined values/properties are merged between parent step (`MyUnitTests` in the example above) and children steps. For example, if you set an environment variable on the parent and also on child matrix steps , the result will a merged environment where all values are available.
525
526
526
527
##Parallel pipeline mode
528
+
>If you use parallel pipeline mode, you_cannot_ use_implicit parallel steps_.
527
529
528
530
To activate advanced parallel mode for the whole pipeline you need to declare it explicitly at the root of the`codefresh.yml` file: