feat: add options to override command and args #1323
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We are running Renovate on few thousand repositories on a self-hosted Gitlab, and time to time, Gitlab produce a 429 return status code when POST/PUT a merge request, making a Renovate returning a non-zero code.
We don't really mind these fails, as it appears 2 or 3 times per run and renovate run twice a day.
But the
set -e
option let the cronjob as fail for Kubernetes, making it to be re run instantly, spamming the resources, without repeating the error on the same repo/branch.So I propose to have an option to override the whole command and args part, to be able to override the
set -e
options