Run a common pipeline across all projects for a group
I’m not sure if this is possible, or if it is, how to set it up
- I have an organization, Foo, with many sub-groups containing projects.
- I want to add a common setup in all pipelines.
- I can do this by editing each .gitlab-ci.yml file
- But this involves many updates to setup. If we want to change a line, each pipeline in each project must be edited. This seems fragile.
Is there a way to tell each pipeline in the many projects ‘insert steps X, Y, and Z in your pipeline’ ?
I have this to insert in many pipelines (example)
image: ubuntu stages: - customvalidate customvalidate: stage: customvalidate script: - samplescript.sh
What I’d like to do is tell each of the many pipelines
Use that ci code when you execute your CI process