GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves the digest information of a specific Conan package version from a GitLab project using the GitLab API. It is useful for developers and DevOps engineers who manage Conan packages in GitLab and need to verify or inspect package digests for version control, security, or deployment purposes. For example, it can be used to automate the validation of package integrity before deployment.

Use Case Examples

  1. Retrieve the digest of a Conan package version '1.0' named 'my-package' in a project with ID '123' to verify its integrity before deployment.
  2. Automate the process of fetching package digests for auditing and compliance in a CI/CD pipeline.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential.
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 API path to specify the project and package details.

Output

JSON

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

Dependencies

  • GitLab API authentication token or API key credential

Troubleshooting

  • Ensure all required path parameters (id, package_name, package_version, package_username, package_channel) are correctly provided and URL-encoded if necessary.
  • Authentication errors may occur if the API key or token is missing, invalid, or lacks sufficient permissions. Verify credentials and permissions.
  • Network or base URL issues can cause request failures; confirm the baseUrl is correct and accessible.

Links

Discussion