Open PierreJeanjacquot opened 8 months ago
you must set a configure file in all your repositories, whether it's a mono-repo or not.
Have you looked at the config option PLUGIN_ALLOW_LIST_FILE
? This is how you control this behavior.
Yes, that's a good point, thank you @mach6! Unfortunately, the development team has no access to configure the drone server deployment in our organization, which adds some friction in the process of keeping the drone configuration up to date... I'll check what suits the best for us :+1:
Update, I finally got access to drone deployment to update the allow list and I didn't need the fallback anymore :smiley: I leave the PR open but feel free to close it if you think this feature isn't needed :+1:
Repo config fallback option when
consider file
is not foundThe consider file feature is great, but you must set a configure file in all your repositories, whether it's a mono-repo or not. With many repositories (mono-repo and standard repo), this can be tedious. We went into this issue while refactoring our codebase into mono-repos.
This PR adds the option
PLUGIN_CONSIDER_REPO_CONFIG
to allow falling back to the drone configuration of the repository when the server defines aPLUGIN_CONSIDER_FILE
but the repository does not have one.