GitLab API

GitlabTool

Actions1000

Overview

This node operation allows users to create a new Debian distribution for a specific project in GitLab by making a POST request to the GitLab API endpoint `/api/v4/projects/{id}/debian_distributions`. It is useful for managing Debian package distributions within GitLab projects, enabling automation of Debian distribution creation as part of CI/CD pipelines or project management workflows.

Use Case Examples

  1. Automate the creation of Debian distributions for new project versions in GitLab.
  2. Integrate Debian distribution management into a DevOps pipeline to streamline package deployment.

Properties

Name Meaning
Skip Authentication Determines whether to skip API authentication for the request.
Authentication Specifies the authentication method to use, typically a GitLab API key credential.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters included in the request path, specifically the project ID or URL-encoded path required to identify the project for which the Debian distribution is created.

Output

JSON

  • id - The unique identifier of the created Debian distribution.
  • codename - The codename of the Debian distribution.
  • components - The components included in the Debian distribution.
  • architectures - The architectures supported by the Debian distribution.
  • description - A description of 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 project 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 if the API request fails to reach the GitLab server.
  • Authentication errors may occur if the API key is missing, invalid, or lacks necessary permissions.

Links

Discussion