kargo icon indicating copy to clipboard operation
kargo copied to clipboard

RegEx URL for credentials don't work for Git Push step unless it's all lowercase

Open dhpup opened this issue 2 months ago • 4 comments

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

dhpup avatar Nov 04 '25 23:11 dhpup

Assigning @fuskovic who recently worked on git url normalization in https://github.com/akuity/kargo/pull/4852

jessesuen avatar Nov 05 '25 00:11 jessesuen

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?

krancour avatar Nov 05 '25 00:11 krancour

Nevermind... just found internal thread about this.

krancour avatar Nov 05 '25 00:11 krancour

Root cause identified. Assigning to myself.

krancour avatar Nov 05 '25 02:11 krancour