GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates the Harbor integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/harbor`. It is useful for automating the configuration of Harbor container registry integration within GitLab groups, enabling seamless management of container images in CI/CD pipelines.

Use Case Examples

  1. Updating Harbor integration settings for a GitLab group to enable container registry features.
  2. Automating the configuration of group-level integrations in GitLab for Harbor registry.

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 key 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, fixed to PUT for this operation.
Path Parameters Parameters included in the request path, specifically the group ID to identify which group's Harbor integration to update.

Output

JSON

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

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key used has sufficient permissions to update group integrations.
  • Check the baseUrl to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab.
  • If skipping authentication, ensure the API endpoint allows unauthenticated requests, otherwise the request will fail.

Links

Discussion