GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific Debian package file from a GitLab project using the SHA256 hash of the file. It is useful for automating the download or verification of Debian package files hosted in GitLab repositories, especially when precise file identification by hash is required.

Use Case Examples

  1. Automating the retrieval of a Debian installer binary for a specific architecture and component in a CI/CD pipeline.
  2. Verifying the integrity of a Debian package by fetching it using its SHA256 hash from a GitLab project.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication. Hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Query Parameters Parameters sent in the query string of the request.
Path Parameters Parameters included in the URL path to specify the project, component, architecture, and file hash.

Output

JSON

  • response - The response data from the GitLab API containing the Debian package file or metadata.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and path parameters are correctly specified to avoid 404 errors.
  • Verify that the SHA256 hash matches an existing file in the Debian package repository.
  • Check authentication credentials if access is denied or unauthorized errors occur.
  • Confirm the baseUrl is correct for the GitLab instance being accessed.

Links

Discussion