Monorepo update strategy suggestions #33737
Unanswered
pgmgb
asked this question in
Request Help
Replies: 1 comment 1 reply
-
I'm not aware of any solution to this problem |
Beta Was this translation helpful? Give feedback.
1 reply
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
We have a monorepository in GitLab with the following structure:
In the config folder, we have for each environment apps, which use helmfile like this:
A custom script will parse the config folder and renders with
helmfile --file "$helmfile" template | kubectl slice ...
the needed YAML files to the correspondingrendered
folder.Renovate is able to automatically update the versions of the releases, which, based on CI/CD, re-renders the YAML files and keeps them up to date. ArgoCD on the other hand, is pointed to each
rendered
folder of the application and makes sure to synchronize all needed changes into our Kubernetes cluster.At the moment, the environments
dev
,qual
andprod
will be updated as soon as Renovate detects a newer version of the corresponding helm chart. We, on the other hand, would like to introduce delayed patching.dev
should be updated first, and after some timequal
and at the end theprod
environment.I'm aware of the
minimumReleaseAge
configuration, which somehow could fit becausedev
could have 2 days,qual
7 days andprod
14 days. This would enforce (in my understanding) a delayed patching. But these two points would not be addressed:dev
should be applied inqual
. And only patches applied toqual
should be introduced inprod
. No "untested" update should reachprod
.Not sure, if there is a solution with Renovate or if there are other approaches for that kind of use case? Suggestions and inputs are more than welcome :-)
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions