GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve Debian package files from a specific group repository based on detailed Debian distribution parameters. It is particularly useful for automating the retrieval of Debian package files by specifying the group ID or path, Debian distribution codename or suite, component, architecture, and the SHA256 hash of the file. For example, it can be used in CI/CD pipelines or package management workflows to fetch specific Debian installer binaries securely and efficiently.

Use Case Examples

  1. Fetching a Debian installer binary for a specific architecture and component from a GitLab group repository using the file's SHA256 hash.
  2. Automating package retrieval in a deployment pipeline by specifying Debian distribution details and verifying file integrity via SHA256.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication to use, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, defaulting to GET.
Parameter Schema Defines the required path and query parameters for the API call, including group ID or path, Debian distribution, component, architecture, and file SHA256 hash.
Query Parameters Collection of query parameters, specifically the Debian distribution codename or suite.
Path Parameters Collection of path parameters including group ID, component, architecture, and file SHA256 hash to identify the Debian package file.

Output

JSON

  • id - The group ID or full group path.
  • distribution - The Debian Codename or Suite.
  • component - The Debian Component.
  • architecture - The Debian Architecture.
  • file_sha256 - The SHA256 hash of the Debian package file.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the group ID or full group path is correct to avoid 404 errors.
  • Verify that the Debian distribution, component, architecture, and SHA256 hash parameters are accurate and correspond to existing packages.
  • Authentication errors may occur if the API key is missing or invalid; ensure proper credentials are configured.
  • Network issues or incorrect base URL can cause connection failures; verify the base URL and network connectivity.

Links

Discussion