Fetching presets from an HTTP server throws PRESET_PROHIBITED_SUBPRESET #33353
Unanswered
leidsongermano
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab
Please tell us more about your question or problem
I'm trying to use the Fetching presets from an HTTP server, so I can run the settings locally and through my server, but when I try to use in the server it throws the following error
"validationError": "Sub-presets cannot be combined with a custom path (https://gitlab.transics-cicd.aws.zf.com/api/v4/projects/11367/repository/files/teams%2Fnewton%2Frenovate-base.json/raw?ref=newton%2Fupdating-settings)"
.As we can see, I'm trying to use the raw HTTP URL, and there is no sub-preset.
Checking the code, I noticed this:
https://github.com/renovatebot/renovate/blob/6aa5c4238f589c79bb4e3a96fd01a52b6c8c4ea6/lib/config/presets/parse.ts#L95C1-L101C6
I can be wrong, but this validation will not allow us to use the
Fetching presets from an HTTP server
approach.Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions