GitLab API

GitlabTool

Actions1000

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. Updating Drone CI 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 CI/CD integrations in GitLab groups as part of a DevOps workflow.

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, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to PUT for this operation.
Path Parameters The path parameters for the API request, specifically the group ID (`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.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID (`id`) path parameter is correctly provided and corresponds to an existing GitLab group.
  • Verify that the API key credential has sufficient permissions to update group integrations.
  • Check the request body schema to ensure all required fields for the Drone CI integration update are correctly formatted and included.
  • If authentication is skipped, ensure the GitLab instance allows unauthenticated requests for this endpoint, otherwise authentication errors will occur.

Links

Discussion