GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves Debian package information from a specified GitLab group using the GitLab API. It is designed to fetch package data for a particular Debian distribution, component, and architecture within a group. This is useful for automating package management and integration workflows in CI/CD pipelines or software distribution systems that rely on GitLab-hosted Debian packages.

Use Case Examples

  1. Fetch Debian package details for a specific group and distribution to automate deployment scripts.
  2. Integrate with GitLab to monitor and manage Debian packages for different architectures and components.

Properties

Name Meaning
Skip Authentication Option to bypass authentication when making the API request.
Authentication The authentication method used for the API request, typically a GitLab API key.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Query Parameters Query parameters for the API request, specifically the Debian distribution codename or suite.
Path Parameters Path parameters required for the API endpoint including group ID, Debian component, and architecture.

Output

JSON

  • packages - The retrieved Debian package information from the GitLab group for the specified distribution, component, and architecture.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID or full group path is correct to avoid 404 errors.
  • Verify the Debian distribution, component, and architecture parameters are valid and exist in the GitLab group.
  • Check API authentication credentials if receiving authorization errors.
  • Confirm the base URL is correct if using a self-hosted GitLab instance.

Links

Discussion