I want to be able to define an entire workflow in an orb, using the jobs of my orb and allowing parameters to conditionally choose which jobs to run and allow parameterization of branch and tag filters as well.
Build matrix can certainly help, but if you have job1 and job2 which are different jobs (i.e. cannot be consolidated into a single job via parameters), there's still a duplication if two workflows want to use both jobs. In the same way an orb can define custom steps that encapsulate multiple steps, it would be nice if there could be a corresponding feature where an orb can define a "job" that encapsulate multiple jobs.
We've recently released the build matrix feature, which will help reduce duplicate workflows. You can find more information on our blog here: https://circleci.com/blog/circleci-matrix-jobs/
This would be a great asset for us!
I see this as a critical next step for orbs. Right now we have way too much duplicate code in our different repos that follow the same workflow.
You won't be notified about changes to this idea.