r/gitlab

GitLab CI skill for ai agents based on official docs
▲ 32 r/gitlab+1 crossposts

GitLab CI skill for ai agents based on official docs

I use ai agents as helper I talk to, not for blind vibecoding. One thing I kept noticing is asking agent to write or refactor gitlab ci pipeline, and results are often questionable. It creates a god yaml, outdated keywords, no thought about debugging or developer experience.

I looked for existing skills but did not find anything I would actually trust, most looked generated in one shot. So I spent some time and made my own. Used agent help of course, but went through everything myself and checked it against official docs for GitLab 18+

It covers pipeline structure and refactoring, bash in ci jobs, pipelines and other common patterns, debugging failed pipelines, readable logs and naming

https://github.com/beeyev/skills/

Works with claude code and anything supporting skills format
I have been using it privately for couple of month and improving constantly, maybe it will useful for someone else too

u/beeyev — 22 hours ago
▲ 31 r/gitlab

Update: glab-tui (now v2.3.0) — New features and refinements

Hey everyone,

I’m dropping a quick update for glab-tui, the TUI I shared previously for managing GitLab (and GitHub) workflows directly from your terminal.

I’ve just released v0.4.0, which includes a number of stability improvements and refinements to make your terminal-based code review and pipeline management even smoother.

If you’re still context-switching between your terminal and the browser for MRs, issues, or CI/CD, give the latest version a look:

https://github.com/rcieri/glab-tui

Thanks to everyone who has checked it out or contributed so far! Would love to hear what you think if you’ve had a chance to test the latest build.

u/Obvious-Ad-5476 — 4 days ago
▲ 0 r/gitlab+1 crossposts

Issue with cloning to Github Desktop

So basically I'm trying to copy a gitlab repository that isn't mine (but I gave guest access) to my github desktop.

When I put it there and input my username with password (I've even tried many different PAT's) it gives me this error message.

If it helps anyone the repository is a Hoi4 mod.

u/Kuci21 — 3 days ago
▲ 2 r/gitlab

Renovate opens the MR, but who fixes the ones that break?

Renovate's solid for the safe stuff, automerge the patch/minor bumps and forget them. But it stops at opening the MR. The hours left are the annoying kind: a major bump where tests go red, a flake blocking a clean update, lint errors the new version introduced.

We started letting an agent take a crack at those before a human sees it. It's promising but I'm nervous about an agent force-pushing fixes to real repos.

Anyone else trying this? How are you handling the breakage Renovate leaves behind, do you just eat the hours?

reddit.com
u/Rude-Recursion1024 — 5 days ago
▲ 5 r/gitlab

Is it not possible to delete a closed merge request?

I'm pretty sure my project has merge requests that are still referencing branches, commits and files/assets that don't exist anymore.

I'm pretty certain that these merge requests are causing these files to still be remembered by Git LFS, which costs a lot of storage space

I want to delete all of my closed merge requests, but I can't find a delete button anywhere. Are merge requests (once completed) not supposed to be deleted? or am I blind AF ...

u/MaybeAFish_ — 4 days ago
▲ 1 r/gitlab

Gitlab pipeline include explorer

Hi. So am working on some gitlab yaml pipelines editing. One thisng that embarasses me is that there is a lot of nesting in my case. Included files have their own includes and so on. Navigation to these included files, especially if they are from different projects, is quite annoying.

There is Full configuration tab under Pipeline editor, but it just shows resulting yaml, without denoting where certain piece comes from.

Is there a plugin/extension for VS Code/VS/Gitlab Web UI/whatever that does described above?

reddit.com
u/pstololo — 4 days ago
▲ 3 r/gitlab

I want scheduled pipeline to not attach to commit

I have a nightly bdd test pipeline for our project, but I do not want it to be attached to the commit as the latest pipeline, I want that to be the latest build pipeline. Is there a way to run the scheduled bdd test pipeline with it becoming the latest pipeline for the latest commit?

Thanks

reddit.com
u/The_Aspalar — 6 days ago
▲ 2 r/gitlab

Is it possible to garbage collect unused assets in Git LFS?

This project has been completely cleaned to only contain 1 branch with 1 super squashed commit, which only references 15.6 GB worth of Git LFS assets.

However, the usage breakdown reports 19.4 GB worth of storage being used for the assets. The remaining 3.8 GB appears to be from old LFS assets that existed before the cleanup, but are no longer referenced by any branch or commit.

Does Git LFS/GitLab have a way to force garbage collection of unreferenced LFS objects?

u/MaybeAFish_ — 6 days ago
▲ 19 r/gitlab

I built a better Slack integration for GitLab & GitLab Self Hosted

I recently joined a new company and coming from GitHub and the 100s of integrations for it, the GitLab and especially the GitLab Self Hosted marketplace felt dire.

I was very used to my PRs (and now MRs) landing in a Slack channel like #fe-reviews, and the comments & reviews on it to land in that Slack thread. It meant I never missed comments and my PR/MRs were reviewed MUCH quicker.

Other than Axolo, no other tool that does what I'd like supports GitLab, so I built mergeme.dev

Some of the key features that I wanted myself (and I'm sure others will appreciate) are:

  • One Slack message per MR that updates in place (open > in review > approved > merged)
  • Review comments as thread replies on that card
  • Per-project channel routing - each project can map to whichever Slack channel you want
  • GitLab @ mentions ACTUALLY ping the right person on Slack with a one-time username map
  • GitLab.com via OAuth - webhooks registered for you
  • Self-hosted GitLab - paste a webhook URL into your instance
  • [New] You can set up label mapping too, an MR with "bug" as it's label goes to #qa-reviews instead

If your team already works tightly in Slack and you ping your colleagues "hey can you review this again" then mergeme.dev might just be a great inclusion to your workflow!

----

Aside from this, I am genuinely curious as to how people handle this problem in their own setup?

My personal story before MergeMe was that I set up webhooks into Slack from GitLab directly and I made a custom webhook triggered workflow to send myself messages when my own MRs were responded to. It was a MESS to look at and it's what unironically pushed me to build a better tool lmao.

u/maruan21 — 7 days ago
▲ 1 r/gitlab+2 crossposts

gtp — Git Persona Manager

Hello, World

I was facing a issue when i used to push commits and i have multiple github accounts to solve that problem i have released gtp

please let me know if you find it useful

https://github.com/sarangkkl/gtp

leave a start on repo if you find it helpful thanks

u/That-Heat-64 — 8 days ago
▲ 0 r/gitlab

I need help with the project I am leading

I am a baby sysadmin who has been sysadmin for only a year, so I'm sorry if somethings doesn't makes sense or sound stupid!

So I became in charge of setting up a on-prem gitlab server, and migrating two of my company's subsidiary's github into it.

I already took care of the licensing end, but I have never work with any kind of gitlab, github instance so this is my first project involving gitlab/github.

On prem server has more then enough capacity to house both of the gitlab instances.

My question is, is it better to host each gitlab separately? One VM per entity? or both entities in one gitlab instance and set up the access policy for it?

I saw Linux server tends to work better with gitlab so I was thinking about spinning up a Linux VM..

Oh and another thing to mention is that we are in DoD contracting environment and going through CMMC L2 audit soon...

Is there anything I am misunderstanding or shouldn't do??

Thank you in advance!!!

-Baby sysadmin-

reddit.com
u/Traditional-Cell3566 — 12 days ago
▲ 24 r/gitlab

GitLab now supports 3rd-party security scanners via SARIF ingestion

If you missed it, third-party SARIF ingestion landed in 19.1 (Ultimate). Any scanner that emits SARIF json can have its findings pulled directly into GitLab. Ingestion is performed natively by adding the following syntax to a scanner job within the .gitlab-ci.yml:
artifacts:
 reports:
  sarif: scanner.sarif

I created a deliberately vulnerable Python app and ran several open-source scanners against it in a single pipeline:

  • Semgrep (SAST)
  • Bandit (Python SAST)
  • Trivy (containers/vulns)
  • Gitleaks (secrets)
  • OSV-Scanner (dependencies)
  • Ruff (lint)

Some scanners may require some tuning in order for the ingestion to work, these are just the ones I've tried. Each emits SARIF, the findings get ingested, the results integrate with several security workflows:

Vulnerability Report with Scanner Filtering

Curious to see whether anyone here has wired up any scanners themselves since the release.

reddit.com
u/awkwardferny — 13 days ago
▲ 13 r/gitlab+1 crossposts

I built a GitLab Duo skill that traces any SDLC event to its source merge request (and can open a fix). It's a hackathon project - I'd love bug reports if you try it

I'm building Orbit Navigator for the GitLab Transcend Hackathon. It's a Duo skill that uses GitLab Orbit's knowledge graph to trace any SDLC event back to the merge request behind it — and it can open a draft fix.

What it does (one graph query each):

  • Which MR shipped what's currently in production?
  • Why did the pipeline fail, and which job?
  • What breaks if I change this shared library? (blast radius)
  • Who resolved these vulnerabilities?
  • /guardian --remediate — finds vulnerable dependencies and opens a draft MR that bumps them to fixed versions.

It's just a skill file (no backend, no vector DB) that runs through the Duo CLI with the Orbit MCP connected. The agent calls query_graph on the live knowledge graph directly.

👉 Try the agent directly (AI Catalog): https://gitlab.com/explore/ai-catalog/agents/1011766/

Source code + how to run it from the CLI: https://gitlab.com/gitlab-ai-hackathon/transcend/12108860

Honest heads-up: it's built on the Orbit beta, so there are real rough edges. For example, security Finding nodes get purged in the current beta, so some security traces pivot to durable Vulnerability nodes instead. Custom agents also don't get Orbit by default — you connect it via the Orbit MCP.

What I'd love: if you try it, please break it and tell me. Bug reports, rough edges, queries that return wrong or empty results — all welcome. Easiest way is an issue on the project linked above, or just drop a comment here.

Thanks!

u/Key_Flatworm_4889 — 13 days ago
▲ 0 r/gitlab

Issue on renewing Let'sEncrypt

Can some please help me to troubleshoot and fix this issue

sudo gitlab-ctl reconfigure - not working

error:
Attributes not found in /opt/gitlab/embedded/nodes/ip-172-31-7-182.ap-southeast-1.compute.internal.json,
(GitlabCtl::Errors::NodeError)

reddit.com
u/Ordinary-Subject4 — 13 days ago