GitLab API

GitlabTool

Actions905

Overview

This node operation allows users to create a new Debian distribution for a specific group in GitLab via the GitLab API. It is useful for managing Debian package distributions within GitLab groups, enabling automation of package repository management in CI/CD pipelines or DevOps workflows.

Use Case Examples

  1. Automate the creation of Debian package distributions for a GitLab group as part of a deployment pipeline.
  2. Manage Debian distributions programmatically for multiple GitLab groups without manual API calls.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method 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 group ID or URL-encoded path to identify the target group for the Debian distribution creation.

Output

JSON

  • id - The ID of the created Debian distribution.
  • name - The name of the Debian distribution.
  • description - Description of the Debian distribution.
  • components - Components included in the Debian distribution.
  • architectures - Supported architectures for the Debian distribution.
  • codename - Codename of 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

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible with the authenticated user.
  • Verify that the GitLab API key credential has sufficient permissions to create Debian distributions in the target group.
  • Check the request body schema matches the expected format for creating Debian distributions to avoid validation errors.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated API requests for this operation, which is uncommon.

Links

Discussion