New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error configuring GitLab CI_REGISTRY setting using registryAliases #17963
Comments
We had the same problem today. Adding |
Workaround is to put them in |
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi there, Get your issue 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. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
When a bug has been marked as needing a reproduction, it means nobody can work on it until one is provided. In cases where no reproduction is possible, or the issue creator does not have the time to reproduce, we unfortunately need to close such issues as they are non-actionable and serve no benefit by remaining open. This issue will be closed after 7 days of inactivity. |
Minimal reproduction: https://github.com/PatrickSpies/renovate-17963 |
Reproduction forked to https://github.com/renovate-reproductions/17963 |
🎉 This issue has been resolved in version 35.122.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
whitesource/renovate-on-prem v2.5.1 (renovate 32.185.3)
If you're self-hosting Renovate, select which platform you are using.
GitLab self-hosted
If you're self-hosting Renovate, tell us what version of the platform you run.
GitLab EE
Was this something which used to work for you, and then stopped?
I never saw this working
Describe the bug
As initially discussed here.
I'm having an issue configuring CI_REGISTRY following the documentation here.
For a given GitLab repo I attempted to add a
registryAliases
entry by updating therenovate.json
file as follows:This approach does not work as I get the following
Action Required: Fix Renovate Configuration
generated under GitLab issues:As mentioned in the initial discussion, it's expecting the URL to be in format
https://.....
. That validation might be too strict. E.g. in my example above, usinghttps://docker-registry.mycompany.net
will not generate the renovate error.However, prepending the
https
results in incorrectly formatted docker images.Perhaps there is an expectation that this setting belongs exclusively in
config.js
? In this case, a documentation fix seems in order.Maybe the code needs to be modified to properly handle a
CI_REGISTRY
assignment?Relevant debug logs
Logs
Have you created a minimal reproduction repository?
No reproduction repository
The text was updated successfully, but these errors were encountered: