GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the Drone CI integration settings for a specific GitLab group by sending a PUT request to the GitLab API endpoint `/api/v4/groups/{id}/integrations/drone-ci`. It is useful for automating the configuration of CI/CD integrations within GitLab groups, enabling seamless continuous integration setup and management.

Use Case Examples

  1. Automatically update Drone CI integration settings for a GitLab group as part of a DevOps pipeline.
  2. Manage and synchronize CI integration configurations across multiple GitLab groups programmatically.

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

Output

JSON

  • response - The JSON response from the GitLab API after updating the Drone CI integration settings.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is valid and the user has permission to update the group's integrations.
  • Verify that the API key used for authentication has sufficient scopes to modify group integrations.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages include 401 Unauthorized (authentication failure), 403 Forbidden (insufficient permissions), and 404 Not Found (invalid group ID or endpoint). Resolving these involves verifying credentials, permissions, and input parameters.

Links

Discussion