GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to perform a ping operation on the Conan packages endpoint for a specific project. It is useful for checking the availability or status of the Conan package registry for a given GitLab project by its ID or URL-encoded path. Typical use cases include verifying connectivity or readiness of the Conan package service within a CI/CD pipeline or automation workflow.

Use Case Examples

  1. Check if the Conan package registry is reachable for a project before attempting package uploads.
  2. Automate monitoring of Conan package service status for multiple GitLab projects.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for public endpoints or testing.
Authentication Type of authentication to use for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters to be included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • status - HTTP response status code from the ping request
  • data - Response data from the GitLab Conan packages ping endpoint

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly provided in the path parameters to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct and accessible.

Links

Discussion