GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves detailed information about a specific deployment within a GitLab project. It is useful for scenarios where users need to monitor or audit deployment statuses, track deployment history, or integrate deployment data into workflows. For example, a DevOps engineer might use this node to fetch deployment details to trigger notifications or update dashboards.

Use Case Examples

  1. Fetch deployment details by providing the project ID and deployment ID to monitor deployment status.
  2. Integrate deployment information into a CI/CD pipeline to automate post-deployment tasks.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The 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 required in the request path to identify the project and deployment.

Output

JSON

  • id - The unique identifier of the deployment.
  • iid - Internal ID of the deployment within the project.
  • ref - The Git reference (branch or tag) associated with the deployment.
  • sha - The commit SHA associated with the deployment.
  • created_at - Timestamp when the deployment was created.
  • updated_at - Timestamp when the deployment was last updated.
  • status - Current status of the deployment (e.g., success, failed).
  • environment - The environment to which the deployment was made.
  • user - Information about the user who triggered the deployment.

Dependencies

  • GitLab API credentials

Troubleshooting

  • Ensure the project ID and deployment ID are correctly provided and exist in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to access deployment information.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to deployment data.

Links

Discussion