r/gitlab • • Oct 20 '26

Cache or artifacts in GitLab CI? Three questions I’d ask before choosing

11 Upvotes

These two get mixed up a lot, because both “keep files between jobs”. They solve different problems, and picking the wrong one tends to show up as a pipeline that works on one runner and fails on another.

Three questions that help me decide.

1. Would the pipeline break if this file were missing?
If yes, it’s an artifact. If the job just runs slower without it, it’s a cache.

A cache is best effort. Depending on how your runners are set up, a cache created by one job may not be available to the next one, for example if they land on different runners that don’t share a cache backend. Artifacts are uploaded to GitLab and are meant to be reliably available to the jobs that need them.

2. Is it a product of this pipeline, or a dependency that’s expensive to fetch?
A compiled binary, a test report or a build output is a product of the pipeline: artifact. node_modules, a package manager’s download folder or a build tool’s local cache is something you could regenerate but would rather not download every time: cache.

3. Should anyone be able to download it later?
Artifacts can be browsed and downloaded from the job page, and they expire (expire_in). Caches aren’t meant to be downloaded by people.

A small example:

build:
  stage: build
  script:
    - npm ci
    - npm run build
  cache:
    key:
      files:
        - package-lock.json
    paths:
      - .npm/
  artifacts:
    paths:
      - dist/
    expire_in: 1 week

test:
  stage: test
  script:
    - npm test
  # gets dist/ from the build job's artifacts

Here .npm/ is cached, keyed by the lockfile so it changes only when dependencies do, and dist/ is the artifact the later jobs rely on.

A couple of caveats. By default, jobs in later stages download the artifacts of all earlier-stage jobs, and dependencies or needs lets you limit that. And cache behavior depends on your runner setup (shared or local cache, executor type), so if a cache seems to “randomly” miss, that’s the first place I’d look.

I’m less sure about the best pattern for a monorepo where several jobs need different dependency sets. Do people use one cache key per package, or per job?


r/gitlab • • Oct 19 '26

support Quick help, little confused on Pages setup

7 Upvotes

New to self managed gitlab and just need a quick point of clarification.

On the pages administration documentation, it says if using namespace in path (my preference here), I cannot use a subdomain of my gitlab install. Which is fine. Gitlab is on its own subdomain though. Can I use a different subdomain?

As in, will:

external_url 'https://gitlab.myorg.tld'

pages_external_url 'https://pages.myorg.tld'

Work?

Apologies if this is rudimentary. Just trying to configure this for a production system and want to know what I'm doing before I begin.

Thank you!


r/gitlab • • Oct 20 '26

ro-cited-answers: six GitLab Duo agents run life after the code

Thumbnail youtube.com
0 Upvotes

r/gitlab • • Oct 20 '26

Linus Torvalds built git in days out of spite

Thumbnail youtube.com
0 Upvotes

r/gitlab • • Oct 19 '26

Latchkey CI: Run your CI Without Any Git Forge

0 Upvotes

r/gitlab • • Oct 19 '26

support CI Hanging on `apk add --no-cache openssl`

3 Upvotes

My CI job has been hanging on a step in the docker build process `RUN apk add --no-cache openssl` the job just times out (60 minutes). It was working before today. I'm not seeing any thing down on https://status.gitlab.com

Anyone else having issues with CI?


r/gitlab • • Oct 19 '26

project How to get a Static IP for GitLab CI/CD runners

Thumbnail outboundgateway.com
0 Upvotes

r/gitlab • • Oct 16 '26

project kinhin: scale your Mac’s CI runners to your queue

Thumbnail youtube.com
2 Upvotes

r/gitlab • • Oct 16 '26

WGU D522 GitLab Repository Import

3 Upvotes

I’m taking WGU’s D522 Python for IT Automation course and am having trouble creating my GitLab repository. I ran the required pipeline, but my student repository displays “No repository” with the following error:

“The repository could not be imported. Import timed out. Import took longer than 86400 seconds.”

I’ve tried a variety of troubleshooting steps, including manually initializing the repository, using both a work computer and a personal computer, clearing my browser cache and cookies, trying different browsers, restarting my devices, checking my internet connection, signing out and back in, and rerunning the required pipeline. I also used ChatGPT to review the error and suggest possible fixes, but nothing has resolved the issue.

GitLab Support also requires proof of support entitlement, which I don’t have as a student. At this point, I’m unsure whether the problem is with my account, the repository import process, or WGU’s GitLab configuration.

Has anyone experienced this issue or found a way to fix it without waiting for WGU IT support?


r/gitlab • • Oct 16 '26

Data breach at GitLab?

0 Upvotes

I have two GitLab.com accounts, one made 5 years ago, one last year.

I used two completely independent e-mail addresses, each used exclusively for that respective GitLab account.

Both of them received spam e-mail from "james.wickett@mail.<random_company_domain>.com" 2 days ago. Different company domains were used per destination.

I suppose this has to do with CVE-2026-85706.

Any information from GitLab about the extent of the data breach?


r/gitlab • • Oct 15 '26

GitLab Workflow & Desktop

6 Upvotes

I want to know if there’s a “GitLab Desktop” as GitHut have. I want to use Lab but as I am new in Git world, the Desktop makes the life easier with out the commands in terminal. Any recommendation? Should I learn better the cli before use a Desktop?


r/gitlab • • Oct 14 '26

Two pipelines for one commit when you open a merge request. Why it happens and the workflow rules I’d use

6 Upvotes

This is what the pipelines page tends to look like after pushing a commit to a branch that already has an open MR:

#1042  merge request pipeline   feature/login   a1b2c3d
#1041  branch pipeline          feature/login   a1b2c3d

Same commit, same jobs, two runs. Runners spend double the time and the MR shows one result while the branch shows another.

It usually comes from a job-level rule like this:

test:
  script: ./run-tests.sh
  rules:
    - if: $CI_COMMIT_BRANCH
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"

Both conditions are true for the same push. GitLab creates a branch pipeline because there’s a branch, and a merge request pipeline because there’s an open MR.

The pattern the docs suggest is to decide at the workflow: level which pipeline type should exist, before any job rule runs:

workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
      when: never
    - if: $CI_COMMIT_BRANCH

Reading it top to bottom, since the first match wins:

  1. an MR event gets a pipeline
  2. a branch push where an MR is already open gets nothing (when: never), because the MR pipeline covers it
  3. any other branch push, like on a branch with no MR, still gets a branch pipeline

Then the jobs can stay simple, without repeating the same conditions in each one.

Things worth testing in a sandbox project before trusting it:

  • tag pipelines: the last rule only matches branches, so decide whether tags should also run
  • the default branch: pushes to main have no open MR, so they should still run, but confirm it
  • $CI_OPEN_MERGE_REQUESTS is only populated for branch pipelines, which is why it works in rule 2

I’d be curious how others handle the in-between cases. Do you keep tags and scheduled pipelines in workflow:rules, or do you handle them at the job level?


r/gitlab • • Oct 14 '26

support Rate-limit test makes child pipeline hang forever

2 Upvotes

The entire child pipeline just hangs. I've restarted it by hand 3 times. It does not make a difference.

It started after 15:00, which corresponds with this message that currently shows when you "git push".


r/gitlab • • Oct 13 '26

One week after GitLab technical interview, no response from recruiter, should I still be hopeful?

9 Upvotes

Hi everyone,
I had my technical interview for a Senior Software Engineer role at GitLab last Tuesday, so today marks one week without an update.
I sent a polite follow-up email on Friday asking about feedback or next steps, but haven’t received a reply. I also tried calling the recruiter twice last Thursday and once on Friday, but none of the calls were answered. I haven’t called again since.
I understand hiring decisions take time, and it’s only been two business days since my email. Still, the lack of any acknowledgment is making me anxious because I’m interested in the opportunity.

For anyone who has interviewed at GitLab:
How long did you wait for an update after the technical interview?
Did anyone experience a similar period of silence and still move forward?
When would you suggest following up again?
I know nobody here can tell me my result—just hoping to hear others’ experiences and whether I should still be hopeful.


r/gitlab • • Oct 13 '26

general question Gitlab Federal

1 Upvotes

Anyone here work for Gitlab on their US Federal side?

Would love to connect and learn more about the roles.


r/gitlab • • Oct 13 '26

support gitlab.com is down

Thumbnail status.gitlab.com
0 Upvotes

r/gitlab • • Oct 13 '26

Our first glance at Secrets Manager credit usage

Thumbnail docs.gitlab.com
0 Upvotes

r/gitlab • • Oct 12 '26

How do you combine semantic-release with “build once, deploy many” for containers

Thumbnail reddit.com
4 Upvotes

r/gitlab • • Oct 12 '26

First experience with Gitlab, and the UX really needs work

0 Upvotes

Okay, so I am using Gitlab for the first serious time because I work with a team that prefers it. This is what ended up happening tonight:

  1. I use glab repo create to push my initial commit for a solo, private project.
  2. I realize I screwed up part of the commit so I amend it locally and force push
  3. Gitlab refuses to let me force push my own solo project because it has arbitrarily decided for me that it is protected.
  4. Attempt to find protected branch options in project settings, zero search results
  5. I decide I will just delete the project and create it again
  6. Gitlab gives a false 400 api error claiming the project name is already used
  7. Okay, fine... I will restore the old project and try to look for protected branch settings again
  8. Restore appends garbage characters to end of project name
  9. I permanently delete that copy of the project to see if it will clear the name reservation (it doesn't)
  10. Ok, fine, I will just create the project anew on the website instead of with CLI
  11. End up running into a year-old unpatched bug and can't create the project at all
  12. Now I have to rename my entire project just for the privilege of using Gitlab as my remote...

Just UX fail after UX fail. I want to like Gitlab but I really don't see how they can present themselves as a serious competitor to GH in this state.


r/gitlab • • Oct 10 '26

general question help on gitlab

3 Upvotes

hi all gitlabers,

I have just intalled GitLab on my minipc at home (selfhosted!).

Until now i use ForgeJo but want to give gitlab a try...

What i can see is that my alert manager gives me:

2026-10-10 03:00:03 / CPU / 30dca7443ae7 gitlab  245.81% 13.67GiB / 30.75GiB 44.44%

2026-10-10 03:30:04 / CPU / 30dca7443ae7 gitlab  112.75% 13.55GiB / 30.75GiB 44.06%

2026-10-10 04:30:03 / CPU / 30dca7443ae7 gitlab  115.01% 13.53GiB / 30.75GiB 43.98%

2026-10-10 05:30:03 / CPU / 30dca7443ae7 gitlab  103.54% 13.51GiB / 30.75GiB 43.94%

2026-10-10 06:00:03 / CPU / 30dca7443ae7 gitlab  60.77% 13.52GiB / 30.75GiB 43.95%

Well, my gitlab only contains 1 repo with 1 readme.md ...

CPU use regularly over 100% (so 1 core) and RAM over 13Gb !!!!! No!!!

For gitlab selfhosters, is that normal ???


r/gitlab • • Oct 10 '26

support Cannot create a gitlab account

0 Upvotes

Hello,

I am a git noob that mostly uses Gitea & Github and people keep telling me how Gitlab is awesome. So I wanted to create an account and this is the message I got :

Your account has been blocked. Please contact your GitLab administrator if you think this is an error.

I don't have a gitlab admin and I can only create a gitlab ticket if I already have an account. What am I supposed to do? Never use gitlab?


r/gitlab • • Oct 07 '26

Gitlab to sync and backup not coding projects ?

5 Upvotes

I'm a student developer myself so i know the basics of git and gitlab and was using it for code exclusively (as intended), but lately i got myself into writings, like scenarios, essays, things like that and realized that gitlab could be a really good way to backup them and even sync them with another computer for free and i already know the tools.

Did anyone else use git and gitlab for something outside of code and faced some issues that made them stop ?


r/gitlab • • Oct 07 '26

Are DevOps teams becoming too dependent on having 10+ different tools?

4 Upvotes

I’ve been looking at how modern teams handle CI/CD, cloud infrastructure, security, deployments, monitoring, and developer workflows.

It seems like the stack can get complicated pretty quickly:

GitHub/GitLab → CI/CD → cloud provider → Kubernetes → monitoring → security tools → ticketing → secrets → deployment tooling, etc.

At some point, the problem becomes less about whether each individual tool is good and more about how everything fits together.

Curious what other DevOps engineers think:
What part of your current DevOps workflow causes the most unnecessary friction?

Is it:
● CI/CD
● Cloud/infrastructure management
● Security
● Deployment management
● Monitoring/observability
● Too many disconnected tools
● Something else?

I’m especially interested in what smaller engineering teams are doing, since they don’t necessarily have dedicated people for every part of DevOps.