I want to create an extension which enables me to use an include mechanism. This include would allow to overwrite fields and reference pipeline steps from another project. This helps with architecting pipelines for microservices.
To avoid a mechanism like paths-changed where you have to define a service account to be able to pull the repository and only a subset of the providers are actually supported, it would be cool to be able to receive some credentials to actually pull the repository.
Is there a possible way? There must be some credentials as drone can clone the repository during the build itself. Or is it too risky to send the extensions? For me this would be only a small problem as the drone server and all extensions are running in the same docker network where only the server is exposed.
Would be glad for any feedback.