Patterns for Build Pipeline Encapsulation

Hi,

I was wondering what patterns exist for encapsulating build pipeline configuration. I have dozens of projects with very similar (in some cases, identical build scripts).

Thanks!
Richard

This is out-of-scope for drone, and should be handled by third party tools or extensions.

You can use a tool like jsonnet (and jsonnet-bundler) to centralize and include common modules. Here are some useful resources:

You can also create extensions to the Drone yaml. You could, for example, create an extension that imports yaml snippets from a central repository. This is briefly discussed in Break-up/split drone.yml file.

Thanks for the quick response and the pointers, I will take a look at the options. Thanks!