GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a Helm package file (.tgz) from a specified GitLab project using the GitLab API. It is useful for automating the download of Helm charts stored in GitLab package registries, enabling integration with CI/CD pipelines or deployment automation.

Use Case Examples

  1. Download a Helm chart package from a GitLab project to use in Kubernetes deployments.
  2. Automate fetching specific Helm chart versions from GitLab for testing or deployment.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to specify the project ID or path, Helm channel, and Helm package file name to retrieve.

Output

Binary

The node outputs the Helm package file as binary data (a .tgz file).

JSON

  • id - The project ID or full path used in the request.
  • channel - The Helm channel specified in the request.
  • file_name - The Helm package file name requested.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

Troubleshooting

  • Ensure the project ID or path, channel, and file name are correctly specified to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API key has sufficient permissions to access the project and packages.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion