GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the Release.gpg file for a specific Debian distribution from a GitLab project's Debian package repository. It is useful for verifying the authenticity and integrity of Debian package distributions hosted on GitLab. For example, it can be used in automated CI/CD pipelines to fetch and verify Debian package signatures before deployment.

Use Case Examples

  1. Fetch the Release.gpg file for the 'my-distro' Debian distribution in a project with ID '12345' to verify package authenticity.
  2. Use in a security audit workflow to ensure Debian packages have valid GPG signatures.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is GET.
Query Parameters Query parameters for the request, specifically the 'distribution' which is the Debian Codename or Suite.
Path Parameters Path parameters for the request, specifically the 'id' which is the ID or URL-encoded path of the GitLab project.

Output

JSON

  • response - The raw response content of the Release.gpg file from the GitLab API.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID ('id') is correct and accessible with the provided authentication.
  • Verify that the 'distribution' query parameter matches a valid Debian Codename or Suite in the project.
  • Check network connectivity and baseUrl correctness if the API request fails.
  • Authentication errors may occur if the API token is missing, expired, or lacks necessary permissions.

Links

Discussion