Skip to content

Argo/Git: Update Vendor Identification Logic to poll http endpoint in the event of non-deterministic URL (gitlab only)#1839

Open
rain-on wants to merge 9 commits intomainfrom
tmm/gitlab_detection
Open

Argo/Git: Update Vendor Identification Logic to poll http endpoint in the event of non-deterministic URL (gitlab only)#1839
rain-on wants to merge 9 commits intomainfrom
tmm/gitlab_detection

Conversation

@rain-on
Copy link
Contributor

@rain-on rain-on commented Mar 20, 2026

Calamari is required to create PullRequests (or equivalent) in the customer's git repository.

However, this is vendor-specific behaviour (rather than generically part of git).

As such, Calamari must determine the git repository's vendor prior to attempting to create a PR.

Currently this identification is performed by parsing the repo's URL to determine the vendor (eg if the URL contains gitlab, or github etc.).

However, this process does not work if the repository is a "enterprise" server, and could therefore have any URL.

This change is a (near) duplicate of the work performed in OctopusDeploy server repository OctopusDeploy#41414 which introduces the ability to perform a "deeper introspect" of the git repository by polling known endpoints on the server.

At this stage, only GitLab is supported for this deep-inspection.

⚠️ Does this change require a corresponding Server Change?
⚠️ If so - please add a "Requires Server Change" label to this PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant