Workflows in orbs
Please add this, I have many repos with same workflow and it would benefits a lot to have a single place to manage and change workflows for many repos
Any news about this feature? I think it would improve a lot your product if you include something to reuse workflows.
Merged in a post:
Add support for reusable workflows
Orbs offer a way to reuse jobs and commands to compose steps for workflows. However the workflows themselves is not offered as reusable from orbs. This requires a lot of code duplication for microservices which are supposed to have exactly the same workflows. And workflow changes require changes in every microservice repository.
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/