GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to update the Harbor integration settings for a specific GitLab group. It is useful for automating the management of Harbor container registry integrations within GitLab groups, such as enabling or configuring Harbor integration programmatically.

Use Case Examples

  1. Updating Harbor integration settings for a GitLab group by specifying the group ID and providing the necessary configuration in the request body.
  2. Automating the management of container registry integrations in GitLab groups as part of a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request, defaulting to PUT for this operation.
Path Parameters Parameters included in the API request path, specifically the group ID for this operation.

Output

JSON

  • response - The JSON response from the GitLab API after updating the Harbor integration for the specified group.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication credentials are correctly configured and have the necessary permissions to update group integrations.
  • Check the request body schema to ensure it matches the expected structure for the Harbor integration update.
  • Common error messages may include authentication failures, invalid group ID, or schema validation errors. Resolving these involves verifying credentials, group existence, and request body correctness.

Links

Discussion