GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the Helm chart index.yaml file for a specific project and Helm channel from the GitLab API. It is useful for users who want to programmatically access Helm package metadata stored in a GitLab project, such as for automation or integration with CI/CD pipelines. For example, a DevOps engineer might use this node to fetch the Helm chart index to verify available charts or to trigger deployments based on chart updates.

Use Case Examples

  1. Fetch the Helm chart index.yaml for project ID 123 and channel 'stable' to list available Helm charts.
  2. Automate retrieval of Helm package metadata from a GitLab project to integrate with a deployment pipeline.

Properties

Name Meaning
Skip Authentication Whether to skip authentication when making the API request. If true, no authentication is used.
Authentication The authentication method to use for the API request, defaulting to GitLab API authentication. Hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to send the API request to, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET. Options include GET, POST, PUT, DELETE, HEAD, PATCH.
Path Parameters Parameters to specify the project ID or full path and the Helm channel to retrieve the index.yaml file for.

Output

JSON

  • indexYamlContent - The content of the Helm chart index.yaml file retrieved from the GitLab API.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and channel parameters are correctly set and correspond to existing resources in GitLab.
  • If authentication is enabled, verify that the GitLab API credential is valid and has sufficient permissions to access the project's Helm packages.
  • Common errors include 404 Not Found if the project or channel does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion