GitLab API

GitlabTool

Actions1000

Overview

This node operation allows users to send a POST request to the GitLab API endpoint for uploading Helm charts to a specific project's Helm package channel. It is useful for automating the deployment and management of Helm charts within GitLab projects, enabling continuous delivery workflows for Kubernetes applications.

Use Case Examples

  1. Uploading a Helm chart to the 'stable' channel of a GitLab project identified by its ID.
  2. Automating Helm chart publishing as part of a CI/CD pipeline using GitLab API.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but POST is used for this operation.
Path Parameters Parameters to specify the project ID and Helm channel for the API endpoint.

Output

JSON

  • statusCode - HTTP response status code from the API call.
  • responseBody - The JSON response body returned by the GitLab API after uploading the Helm chart.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and Helm channel parameters are correctly set and valid to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to upload Helm charts.
  • Check the request body schema matches the expected Helm chart package format to prevent 400 Bad Request errors.

Links

Discussion