GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation allows users to post evidence for a specific release associated with a Git tag in a GitLab project. It is useful for adding proof or documentation related to a release, such as build artifacts or verification data, directly to the release entry in GitLab. Practical applications include automating release management workflows, ensuring release traceability, and integrating CI/CD pipelines with GitLab releases.

Use Case Examples

  1. Automatically attach build evidence to a release after a successful CI pipeline run.
  2. Add security scan results as evidence to a release for compliance tracking.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used for the request, typically an API key credential for GitLab.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is POST for this operation.
Path Parameters Parameters required in the request path to identify the project and release tag.

Output

JSON

  • response - The JSON response from GitLab API after posting evidence to the release.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID and tag name are correct and exist in the GitLab instance to avoid 404 errors.
  • Verify that the authentication credentials have sufficient permissions to post release evidence.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.

Links

Discussion