GitLab API

GitlabTool

Actions1000

Overview

This node operation allows users to create a Debian distribution for a specific group in GitLab by making a POST request to the GitLab API endpoint `/api/v4/groups/{id}/-/debian_distributions`. It is useful for automating the management of Debian package distributions within GitLab groups, enabling integration with CI/CD pipelines or other automation workflows.

Use Case Examples

  1. Creating a new Debian distribution for a GitLab group to automate package deployment.
  2. Integrating GitLab Debian distribution management into a DevOps pipeline for streamlined software delivery.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically a GitLab API key credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method to use for the API request, default is GET but POST is used for this operation.
Path Parameters Parameters to be included in the API request path, specifically the group ID or URL-encoded path.

Output

JSON

  • id - The unique identifier of the created Debian distribution.
  • name - The name of the Debian distribution.
  • description - Description of the Debian distribution.
  • codename - The codename of the Debian distribution.
  • components - Components included in the Debian distribution.
  • architectures - Supported architectures for the Debian distribution.
  • gpg_key - GPG key associated with the Debian distribution.
  • created_at - Timestamp when the Debian distribution was created.
  • updated_at - Timestamp when the Debian distribution was last updated.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the request body schema matches the expected structure for creating a Debian distribution in GitLab.
  • Check network connectivity and base URL correctness to avoid connection errors.
  • Authentication errors may occur if the API key is invalid or lacks necessary permissions; verify credentials.

Links

Discussion