GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation allows users to post Helm chart data to a specific project's Helm package channel in GitLab via the GitLab API. It is useful for automating the upload or update of Helm charts in a GitLab project, facilitating continuous integration and deployment workflows involving Helm packages.

Use Case Examples

  1. Uploading a new Helm chart to the 'stable' channel of a GitLab project identified by its ID.
  2. Automating Helm chart updates in a CI/CD pipeline by posting chart data to a project's Helm package channel.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API access.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET but can be set to POST, PUT, DELETE, HEAD, or PATCH.
Path Parameters Parameters to specify the project ID and Helm channel for the API endpoint.

Output

JSON

  • response - The JSON response from the GitLab API after posting the Helm chart data.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID and Helm channel parameters are correctly set to avoid 404 errors.
  • Verify that the authentication token has sufficient permissions to post Helm charts to the project.
  • Check the request body schema matches the expected Helm chart data format to prevent validation errors.

Links

Discussion