GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows users to post Helm chart packages to a specific project's Helm channel in GitLab via the GitLab API. It is useful for automating the deployment and management of Helm charts within GitLab projects, enabling continuous integration and delivery workflows for Kubernetes applications.

Use Case Examples

  1. Automate uploading Helm charts to a GitLab project channel for deployment.
  2. Integrate Helm chart publishing into CI/CD pipelines using GitLab API.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
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 The HTTP method to use for the request, defaulting to GET but can be set to POST for this operation.
Path Parameters Parameters for the API path including the project ID or full path and the Helm channel name.

Output

JSON

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

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and Helm channel parameters are correctly set and valid.
  • Verify that the authentication credentials for GitLab API are correctly configured and have sufficient permissions.
  • Check the base URL if using a self-hosted GitLab instance instead of gitlab.com.
  • Common errors include authentication failures, invalid project ID or channel, and malformed request body. Verify the request body schema matches the expected Helm chart package format.

Links

Discussion