GitLab
by GitLab Inc.
GitLab keeps planning, code and delivery in one application, so its API covers projects, issues, merge requests with approvals, commits, CI/CD pipelines and deployments to each environment. Bringing that data into DataMind lets a team compute DevOps metrics on its own terms, compare groups and projects side by side, and relate deployments to incidents and errors from other tools.
- Category
- Developer Tools
- Type
- Code hosting
- Interface
- REST API
- Built with
- Connect Any API
- Credentials
- OAuth 2.0, Access token
- Write back
- issues
- Docs
- GitLab API docs
02Data
What you can sync.
- Projects
- Merge requests
- Issues
- Pipelines
- Commits
- Deployments
Report on GitLab projects in DataPrism BI and let an AI Mind answer delivery questions in plain words.
Need more? Name any other GitLab data the API returns, and the AI adds it to the connector.
03Credentials
Credentials you will need.
- OAuth 2.0 (client ID, client secret, refresh token)
- An access token
GitLab uses OAuth 2.0 (client ID, client secret, refresh token) or an access token. You add the credentials once, when the AI asks for them, and it tells you where to create them in GitLab Inc. if you need help.
04Questions
Questions you can answer.
Once GitLab data is in your Lake, ask an AI Mind in plain words or build the answer in DataPrism BI.
- What is merge request cycle time per group, from first commit to merge?
- How many production deployments does each project make per week, and how long does a commit wait before it is deployed?
- Which pipelines fail more often, and at which job?
- How many issues are opened and closed per milestone, and how many slip to the next one?
- Which merge requests were merged without any approval?
05How it works
How it works in DataMind.
-
Pick GitLab.
Open Lake, pick GitLab in the source picker and name the connection. Connect Any API opens with a ready prompt that points the AI at the GitLab API docs.
-
Answer a few questions.
The AI reads the GitLab documentation, then asks which credentials you will use, which data to sync (for example projects and merge requests), whether you want a one-time load or a recurring sync, and which accounts or filters apply.
-
Your data lands in Lake.
It builds the connector, tests it and shows you sample rows. Then GitLab data loads into your Lake on your schedule, ready for the Warehouse, DataPrism BI and AI Minds.
06Write back
Write data back to GitLab.
Send issues from your Lake and Warehouse to GitLab, on a schedule or when you run it. The AI reads the GitLab API docs, asks you a few questions and builds the destination with you.
Write to Any API
What you can send.
- Issues
A sync can create GitLab records from your rows and update the ones it finds by a key you choose.
Keep GitLab issues in step with what your data says, on the schedule you set.
Credentials
Credentials for writes.
- An API key
- An access token
GitLab takes an API key or an access token for writes. You add the credentials once, when the AI asks for them, and it tells you where to create them in GitLab Inc. if you need help.
-
Add GitLab in Writeback.
Open Writeback, click Add destination, choose Write to Any API and name the destination. Then tell the AI it sends to GitLab and point it at the GitLab API docs.
-
Answer a few questions.
The AI reads the GitLab documentation, then asks which credentials you will use, which GitLab objects to fill (for example issues) and whether to create or update records.
-
Preview, test, then send.
Choose a Lake table, a Warehouse table or your own SQL, map the fields and preview the requests. Send one test record, approve the first run, and the sync keeps GitLab current on your schedule.
07Pairs
Works well with GitLab.
Sources teams join with GitLab in the Warehouse, each one connected the same way.