GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a specific Debian package file from a GitLab group repository using the GitLab API. It is useful for automating the download or inspection of Debian package files stored in GitLab groups, especially in CI/CD pipelines or package management workflows.

Use Case Examples

  1. Fetching a Debian package file for deployment automation.
  2. Verifying the existence and details of a Debian package in a GitLab group repository.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the API path to specify the exact Debian package file to retrieve.

Output

JSON

  • id - The group ID or full group path.
  • project_id - The Project ID.
  • distribution - The Debian Codename or Suite.
  • letter - The Debian Classification (first-letter or lib-first-letter).
  • package_name - The Debian Source Package Name.
  • package_version - The Debian Source Package Version.
  • file_name - The Debian File Name.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters are correctly provided and valid to avoid 404 errors.
  • Verify authentication credentials if access is denied or unauthorized errors occur.
  • Check the base URL if connecting to a self-hosted GitLab instance to avoid connection errors.

Links

Discussion