GitLab API

GitlabTool

Actions1000

Overview

This node operation authorizes access to a specific file within a Conan package stored in GitLab's package registry. It is useful for managing permissions and ensuring secure access to package files in CI/CD pipelines or automated workflows involving Conan packages.

Use Case Examples

  1. Authorize access to the 'conaninfo.txt' file of a specific Conan package version for a given user and channel.
  2. Automate permission management for Conan package files in a GitLab repository.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required to specify the Conan package and file to authorize access for.

Output

JSON

  • status - HTTP response status indicating the result of the authorization request.
  • body - Response body containing authorization details or error messages.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure all required path parameters are correctly provided and valid to avoid 404 or 400 errors.
  • Verify that the authentication token has sufficient permissions to authorize package file access.
  • Check the baseUrl is correctly set to the GitLab instance hosting the package registry.

Links

Discussion