GitLab API

GitlabTool

Actions905

Overview

This node operation allows uploading or updating a file associated with a specific machine learning model version in a GitLab project. It is useful for managing ML model files directly within GitLab's package registry, enabling automation of model version file management in CI/CD pipelines or ML workflows.

Use Case Examples

  1. Uploading a new file to a specific ML model version in a GitLab project.
  2. Updating an existing file for a model version to reflect changes or improvements.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project, model version, and file name.

Output

JSON

  • response - The JSON response from the GitLab API after uploading or updating the file.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID, model version ID, and file name are correctly specified to avoid 404 errors.
  • Authentication errors may occur if the API key is missing or invalid; verify credentials.
  • Check that the base URL is correct for your GitLab instance, especially if using a self-hosted GitLab.

Links

Discussion