GitLab API

GitlabTool

Actions1000

Overview

This node operation updates the Drone CI integration settings for a specific project in GitLab. It is useful for automating the configuration of CI/CD integrations within GitLab projects, especially when managing multiple projects or automating deployment pipelines. For example, a DevOps engineer can use this node to programmatically enable or modify Drone CI integration settings for a project identified by its ID.

Use Case Examples

  1. Updating Drone CI integration settings for a GitLab project by specifying the project ID and providing the necessary configuration in the request body.
  2. Automating the setup of CI/CD pipelines across multiple GitLab projects by updating their Drone CI integration settings via this node.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use for the API request, defaulting to GitLab API 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 Parameters included in the API request path, specifically the project ID to identify which project'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 authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and the project exists in GitLab.
  • Verify that the authentication credentials are valid and have sufficient permissions to update project integrations.
  • Check the request body schema to ensure it matches the expected format for the Drone CI integration update.
  • Common error messages may include authentication failures, 404 not found if the project ID is invalid, or 400 bad request if the request body is malformed.

Links

Discussion