Open koushyk opened 1 month ago
@koushyk is <gitlab_url>
on gitlab.com or self-hosted GitLab?
@krancour self-hosted
I'm perplexed by why it's attempting to checkout master
in the first place.
It has reason to check out a specific commit from master
as well as the env/<env>/<service-name>
branch you intend to write to, but no reason that I can spot that master
should be checked out here.
Would you possibly be able to enable debug logging and see if there's any useful details about what exactly it was doing leading up to this?
Edit: These legacy promotion mechanisms were deprecated in v0.9.0 and will be fully removed in v1.0.0. I suspect the issue here isn't with the gitlab bits, but with the more general git bits preceding the opening of an MR. It would also be interesting to see if the equivalent workflow using a promotion template is prone to the same issue or not.
I've updated manifests to promotion templates and merge requests are creating fine, so I have to switch to promotion templates anyway.
Thank you for doing that. It's a good data point. While we're not investing in further development of the old promotion mechanisms, we still plan to fix bugs in them for some time so that we can extend the life of v0.9.x while people make the transition to the promotion templates. This has really helped to narrow down where I need to be looking. Thanks again.
Checklist
kargo version
.Description
When promoting a fright to stage which has merge request creation enabled I'm getting an error
but for stages without merge request features promotions are working as they should.
Screenshots
Steps to Reproduce
Version
Logs