GitLab API

GitlabTool

Actions1000

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, a developer can use this node to programmatically fetch download 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 deployment processes.

Properties

Name Meaning
Skip Authentication Whether to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Path Parameters Parameters required in the API path to specify the project and Conan package details.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters (project ID, package name, version, username, channel, and package reference) are correctly provided to avoid 404 or parameter errors.
  • If authentication is enabled, verify that the GitLab API token has sufficient permissions to access the project and package data.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the URL is correct and accessible.

Links

Discussion