Hi, I’ve written a pipeline which has sequential jobs using the same matrix expansion.
Is there some way to write the pipeline definition without duplicating this expansion? Here’s my code:
workflows:
version: 2
deploy:
jobs:
- plan:
name: Plan << matrix.environment >>
matrix:
parameters:
environment:
- red
- blue
- green
- apply:
name: Apply << matrix.environment >>
requires:
- Plan << matrix.environment >>
matrix:
parameters:
environment:
- red
- blue
- green