RegEx URL for credentials don't work for Git Push step unless it's all lowercase
Checklist
- [X] I've searched the issue queue to verify this is not a duplicate bug report.
- [X] I've included steps to reproduce the bug.
- [X] I've pasted the output of
kargo version. - [X] I've pasted logs, if applicable.
Description
When using a RegEx URL with camelcase within the credentials, I'm able to clone a repo in promotion, but not able to git push. There is some issue with the normalization logic.
Version
Kargo 1.8.0
Logs
step "task-1::step-6" met error threshold of 1: error running step "task-1::step-6": error pushing commits to remote: error checking for existence of branch
Assigning @fuskovic who recently worked on git url normalization in https://github.com/akuity/kargo/pull/4852
There is some issue with the normalization logic.
@dhpup I'm not seeing the connection between the error text you posted and this conclusion. Do you have more information you can share?
Nevermind... just found internal thread about this.
Root cause identified. Assigning to myself.