GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows updating the Harbor service integration settings for a specific project in GitLab via the GitLab API. It is useful for automating the configuration of Harbor container registry integration within GitLab projects, enabling seamless management of container images and related services.

Use Case Examples

  1. Automatically update Harbor integration settings for a project when deploying new containerized applications.
  2. Manage Harbor service configurations across multiple GitLab projects programmatically.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET but can be set to PUT for this operation.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

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

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and accessible with the authenticated user.
  • Verify that the GitLab API key credential has sufficient permissions to update project service integrations.
  • Check the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab.
  • Common errors include authentication failures, invalid project ID, or malformed request body. Verify the request body schema matches the expected structure for Harbor service settings.

Links

Discussion