GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows users to upload RubyGem packages to a specific project in GitLab via the GitLab API. It is useful for automating the publishing of RubyGem packages directly to a GitLab project's package registry, facilitating continuous integration and deployment workflows for Ruby projects.

Use Case Examples

  1. Uploading a new RubyGem package to a GitLab project to make it available for use in other projects.
  2. Automating the release process of RubyGem packages by integrating this node in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication to use, 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 or URL-encoded path where the RubyGem package will be uploaded.

Output

JSON

  • id - The ID of the project where the RubyGem package is uploaded.
  • packageDetails - Details of the uploaded RubyGem package returned by the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • Verify that the authentication credentials (GitLab API key) are valid and have sufficient permissions to upload packages.
  • Check that the request body conforms to the expected schema for uploading RubyGem packages to avoid validation errors.

Links

Discussion