GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the digest information of a specific Conan package from the GitLab API. It is useful for users who need to access detailed metadata about a Conan package version hosted on GitLab, such as package maintainers, versioning, and integrity verification. For example, a developer or DevOps engineer might use this node to verify the integrity of a package before deployment or to automate package management workflows.

Use Case Examples

  1. Retrieve the digest of a Conan package named 'my-package' version '1.0' maintained by 'my-group+my-project' in the 'stable' channel with a specific package reference ID.
  2. Automate the validation of Conan package versions in a CI/CD pipeline by fetching their digest information from GitLab.

Properties

Name Meaning
Skip Authentication Whether to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance to send the API request to.
Method The HTTP method to use for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Path Parameters Parameters to specify the Conan package details in the API path.

Output

JSON

  • digest - The digest information of the specified Conan package.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure all required path parameters (package_name, package_version, package_username, package_channel, conan_package_reference) are provided and correctly formatted.
  • If authentication is enabled, verify that the GitLab API credentials are valid and have sufficient permissions to access the package data.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.
  • Common error messages may include 401 Unauthorized (authentication issues), 404 Not Found (incorrect package details or package does not exist), and 400 Bad Request (invalid parameters).

Links

Discussion