GitLab API

GitlabTool

Actions905

Overview

This node operation updates the Google Cloud Platform Artifact Registry integration settings for a specific project in GitLab. It is useful for automating the configuration of project integrations with Google Cloud Artifact Registry, enabling seamless management of container images and artifacts within GitLab projects. For example, it can be used to programmatically update integration credentials or settings for multiple projects.

Use Case Examples

  1. Updating the Artifact Registry integration for a project with ID 123 to change authentication details or repository settings.
  2. Automating the setup of Google Cloud Artifact Registry integration across multiple GitLab projects in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, 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, defaulting to PUT for this operation.
Path Parameters The path parameters for the API request, specifically the project ID to identify which project's integration to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the integration, containing details of the updated Google Cloud Platform Artifact Registry integration.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and the project exists in GitLab.
  • Verify that the GitLab API key credential has sufficient permissions to update project integrations.
  • Check the request body schema matches the expected structure for the Google Cloud Platform Artifact Registry integration update.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated requests for this operation, otherwise authentication errors will occur.

Links

Discussion