I figured out today that I can even use matrix jobs with contexts… sweet!
- myorb/foo:
some-param: false
post-steps:
- run: xyz $SOME_VAR
filters:
branches:
only:
- main
matrix:
parameters:
context:
- context1
- context2
Trying to make a minor tweak, I had a question… if I run the job like this, the generated job name will be, e.g., myorb/foo-context1
and myorb/foo-context2
. But let’s say I want to have it be foo-context1
etc… if I add name: foo
to myorb/foo
, I get name-1
and name-2
instead; ditto if I pass in `name: [“foo”].
Is there a way to control the pattern such that I can change the prefix, but not the naming pattern?