Share pipeline yaml between repositories

Hello everyone.

We are working with golang microservices and each service have a github repo.

The pipeline from all those services are the same because we use makefile to proto, building, test, etc.

Is it possible to have a centralized repository with the pipeline yaml and all other repos share this same pipe?

It would let us archive a single point of control and not repeat code.

Thanks

See docs.drone.io/extensions/configuration

You can use a configuration extension to override the process of fetching the configuration file (e.g. .drone.yml). This can be used to return default or global configurations for projects where none exists

1 Like