GitLab

GitLab is the most comprehensive AI-powered DevSecOps Platform.

Integrate the GitLab API with the Bash API

Setup the GitLab API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate GitLab and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Commit (Instant) from GitLab API
GitLab + Bash
 
Try it
Run Bash Code with Bash API on New Branch (Instant) from GitLab API
GitLab + Bash
 
Try it
Run Bash Code with Bash API on New Project from GitLab API
GitLab + Bash
 
Try it
Run Bash Code with Bash API on New Audit Event (Instant) from GitLab API
GitLab + Bash
 
Try it
Run Bash Code with Bash API on New Commit Comment (Instant) from GitLab API
GitLab + Bash
 
Try it
New Commit (Instant) from the GitLab API

Emit new event when a new commit is pushed to a branch

 
Try it
New Branch (Instant) from the GitLab API

Emit new event when a new branch is created

 
Try it
New Project from the GitLab API

Emit new event when a project (i.e. repository) is created

 
Try it
New Audit Event (Instant) from the GitLab API

Emit new event when a new audit event is created

 
Try it
New Commit Comment (Instant) from the GitLab API

Emit new event when a commit receives a comment

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Create Branch with the GitLab API

Create a new branch in the repository. See the documentation

 
Try it
Create Epic with the GitLab API

Creates a new epic. See the documentation

 
Try it
Create issue with the GitLab API

Creates a new issue. See the documentation

 
Try it
Get Issue with the GitLab API

Gets a single issue from repository. See the documentation

 
Try it

Overview of GitLab

The GitLab API provides programmatic access to your GitLab projects, allowing you to automate common tasks, manage issues, merge requests, and more. With the GitLab API on Pipedream, you can create customized workflows that integrate with other services, streamline your development process, and enhance project management. By leveraging the power of serverless, you can set up triggers for GitLab events and perform actions across a variety of apps without managing infrastructure.

Connect GitLab

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    gitlab: {
      type: "app",
      app: "gitlab",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.gitlab.$auth.base_api_url}/api/v4/user`,
      headers: {
        Authorization: `Bearer ${this.gitlab.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS