I can’t seem to find a use case which describe using flags-dest
in a pipeline of steps that all specifies flags using flags-dest
and flags-import
.
It seems I must explicitly specify the flags that needs to be passed to individual steps in a pipeline, which is quite trivial. I wonder if there’s a way I can automatically pass the flags to all the steps in the pipeline? E.g. something like this
ops1:
flags-dest: config:config.yaml
flags-import: all
...
ops2:
flags-dest: config:config.yaml
flags-import: all
...
pipeline:
flags-dest: config:config.yaml
flags-import: all
steps:
- run: ops2
$include:all-flags
- run: ops2
$include:all-flags
# This works less convinient obviously if I have many flags
pipeline_current:
flags-dest: config:config.yaml
flags-import: all
steps:
- ops1 flag1=${flag1} flag2=${flag2}
- ops2 flag1=${flag1} flag2=${flag2}