GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves download URLs for a specific Conan package version from a GitLab project. It is useful for automating the process of accessing package download links in CI/CD pipelines or package management workflows within GitLab projects. For example, it can be used to fetch URLs for a Conan package to integrate with build or deployment scripts.

Use Case Examples

  1. Fetch download URLs for a Conan package version in a GitLab project to automate package retrieval in a CI pipeline.
  2. Retrieve package download URLs to verify package availability or to trigger downstream processes that depend on the package.

Properties

Name Meaning
Skip Authentication If enabled, the node will skip using authentication for the request.
Authentication The authentication method used for the request, typically a GitLab API key.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project and Conan package details.

Output

JSON

  • download_urls - Array of URLs to download the specified Conan package version from the GitLab project.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication is enabled.

Troubleshooting

  • Ensure the project ID and package parameters are correctly URL-encoded to avoid 404 errors.
  • Authentication errors may occur if the GitLab API key is missing or invalid; verify credentials.
  • Check network connectivity and baseUrl correctness if requests fail to reach the GitLab server.

Links

Discussion