Promote Versions trough folders #27871
-
What would you like help with?Other How are you running Renovate?Self-hosted 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 problemWe have lots of platform repos with version pind in different folders for different stages. An example folder structure could look like this:
We pin version in both dev and prod folders and use the renovate regex manager to bump dependencies pinnend in both folders. [...]
# renovate: datasource=helm depName=ingress-nginx registryUrl=https://kubernetes.github.io/ingress-nginx
ingress_nginx_version: "1.2.3"
[...] To be able to bump versions independently in dev and later in prod, we use the `additionalBranchPrefix' to split the bump into two separate PRs.
What we really want, however, is for dev to point to the upstream source (as in the previous example), but for prod to point to the version already deployed in dev. Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You maybe can use |
Beta Was this translation helpful? Give feedback.
-
Okay, I figured this one out. Shoutout to this blog post that pointed me in the right direction. It still took me a few hours to figure out how everything works, so here is the important part of my config:
(In the meantime, I migrated to .yaml config files, which made things easier for Now I can specify versions in
|
Beta Was this translation helpful? Give feedback.
Okay, I figured this one out. Shoutout to this blog post that pointed me in the right direction. It still took me a few hours to figure out how everything works, so here is the important part of my config:
(In the meantime, …