Renovate custom regex not working on ArgoCD monorepo configuration #30683
Replies: 4 comments 7 replies
-
I have the intuition that you have a trailing whitepsace before the new line. Your regex would in that case bot match. Simply remove If that doesn't fix it create a reproduction repo. |
Beta Was this translation helpful? Give feedback.
-
Hi @secustor! Thanks for your recommendation. I will remove |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Hello @secustor 👋🏻 Sorry for the delay, due to the holiday season it took a while for me to get around to this. I've created a minimal reproduction repo. I'm not sure how I activate Renovate against this repo though. |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
I would like help with my configuration
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, Renovate 38.18.8
Please tell us more about your question or problem
In our ArgoCD repository, we have a
values.yaml
which looks like the following:In the ArgoCD repository, I've created a
renovate.json
that looks like this:I've tried numerous times to change the regex, but if I add above
values.yaml
to a regex parser (e.g. regex101.com) and add thematchStrings
regex to it, without escaping the\s
and\n
, the depName and currentValue are matched just fine. However, the renovate runner doesn't seem to pick anything up.Here's an example of the regex working
Any help with debugging the regex would be greatly appreciated!
Reproduction repo
The reproduction repo: minimal reproduction repo
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions