fix: add HTTP git paths to long-running HTTPRoute (backport to 10-1-stable)

What does this MR do?

Backport of !5123 (merged) to 10-1-stable.

Adds HTTP git pack paths (git-upload-pack, git-receive-pack) to the long-running HTTPRoute in _datamodel.tpl, alongside the existing SSH paths (ssh-upload-pack, ssh-receive-pack).

Currently, HTTPS git clone/fetch/push operations that exceed 15 seconds fail with curl 18: transfer closed with outstanding read data remaining because they fall through to the default-root route which has a hardcoded 15s timeout. Only SSH git operations are on the unlimited long-running route.

This is a direct backport from !5123 (merged), and as such will be pulled back verbatim unless there are conflicts.

Relates to #6565

Author checklist

For general guidance, please follow our Contributing guide.

Required

For anything in this list which will not be completed, please provide a reason in the MR discussion.

  • Merge Request Title and Description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • MR has a green pipeline.
  • Documentation created/updated. — N/A, no user-facing config change; the paths are hardcoded in the template alongside existing SSH paths.
  • Tests added/updated, and test plan for scenarios not covered by automated tests.
  • Equivalent MR/issue for omnibus-gitlab opened. — N/A, omnibus does not use Gateway API routing.

Reviewers checklist

Edited by João Alexandre Cunha

Merge request reports

Loading