GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows making a POST request to the GitLab API endpoint `/api/v4/geo/proxy_git_ssh/receive_pack`. It is used in scenarios where you need to interact with GitLab's Geo proxy for SSH receive pack operations, typically for mirroring or syncing repositories in a Geo setup.

Use Case Examples

  1. A DevOps engineer automates repository synchronization between primary and secondary GitLab Geo nodes by using this node to send SSH receive pack requests.
  2. A developer integrates GitLab Geo proxy functionality into a CI/CD pipeline to ensure repository data consistency across distributed nodes.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to which the request is sent.
Method HTTP method to use for the request, default is GET but POST is used for this operation.

Output

JSON

  • response - The JSON response returned from the GitLab API after making the POST request to the Geo proxy SSH receive pack endpoint.

Dependencies

  • GitLab API credentials or an API authentication token

Troubleshooting

  • If authentication is skipped but the endpoint requires authentication, the request will fail with an authorization error. Ensure credentials are provided unless skipping authentication is intentional and supported.
  • Incorrect baseUrl or network issues can cause connection failures. Verify the baseUrl is correct and the GitLab instance is reachable.
  • Ensure the HTTP method is set to POST for this operation as required by the API endpoint.

Links

Discussion