GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to retrieve a specific RubyGem package file from a project. It is useful for automating the download or inspection of RubyGem packages stored in GitLab projects, especially in CI/CD pipelines or package management workflows.

Use Case Examples

  1. Downloading a RubyGem package file from a GitLab project to use in a build process.
  2. Automating the retrieval of specific RubyGem versions for deployment or testing.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making 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.
Path Parameters Parameters to specify the project ID and the RubyGem file name to retrieve.

Output

JSON

  • id - The ID or URL-encoded path of the project.
  • file_name - The RubyGem spec file name retrieved from the project.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the project ID and file name are correctly specified and URL-encoded if necessary.
  • Verify that the authentication token has sufficient permissions to access the project and its packages.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion