How to configure credentials #30539
Unanswered
LvffY
asked this question in
Request Help
Replies: 1 comment
-
I landed here because I had the same problem, but in the end I missed the correct hostRule. If you activate LOG_DEBUG=debug you should see something like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Azure Devops
Please tell us more about your question or problem
Problem
I'm currently trying to update a repository with some Ansible playbooks.
These playbooks are using some collection that is hosted on a private git repository.
To be clear, in my Ansible repository, I have a requirements.yml file this
When I'm running renovate interactively, renovate asks me for my git password. If I enter my git password, it works.
Now the tricky part is when I want to run the bot non interactively, it stills ask me for the password, but I can't give it.
I tried multiple hostRules trying to tell Renovate which token to use but wasn't able to find the right configuration. Am I missing some documentation on how to define this configuration ?
Workaround
As of now, I'm using a more low-level git configuration based on GIT_ASKPASS environment variable.
Which ends to :
Then run Renovate bot and everything runs fine 👍
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions