Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

In a self-hosted GitLab Community Edition v18.10.1, I execute some jobs that produce color output in their log. (The debian slim docker container that produces the log uses TERM="xterm-256color&...
k0pernikus's user avatar
  • 67.9k
0 votes
0 answers
61 views

I use a GitLab CI/CD pipeline and I develop a new job to include a custom component developped by another team in my company. Inside the .gitlab-ci.yml file, there is an include of the same file 3 ...
Oupat's user avatar
  • 131
-1 votes
1 answer
43 views

I am using GitLab Community Edition v18.9.1. I created a pipeline that builds Docker images and runs specific tasks for the main branch and for merge requests. My .gitlab-ci.yml looks like: --- ...
k0pernikus's user avatar
  • 67.9k
1 vote
2 answers
97 views

I am running Django tests inside GitLab CI and trying to switch between SQLite (for local/test) and PostgreSQL (for production). My settings structure looks like this: settings/_init_.py: import os ...
fluxio's user avatar
  • 21
-1 votes
0 answers
76 views

I have a GitLab CI pipeline, running in repository 'A' where I need to fetch some files from another repository 'B'. Here is some of my .gitlab-ci.yml file: variables: BUILD_CONTAINER: ... # my ...
coriuser's user avatar
1 vote
0 answers
83 views

I am trying to set up a CI pipeline in GitLab, for a Spring Boot project with Maven, which also installs npm. I have tried using docker exec locally to check if doing mvn install would work, and it is ...
coriuser's user avatar
0 votes
0 answers
59 views

I’m using GitLab’s MLflow experiment tracking integration as my tracking server and mlflow==3.10.0. I can successfully log (push) artifacts to a run, but when I try to list them using MlflowClient....
Facundo's user avatar
  • 23
1 vote
1 answer
68 views

I see the following error in GitLab CI/CD (see pages (#13309443054) · Jobs): batch response: Repository or object not found: https://gitlab-ci-token:[MASKED]@gitlab.com/davidvandebunte/public.git/info/...
davidvandebunte's user avatar
Advice
0 votes
0 replies
74 views

Goal Let Powershell Scripts run on existing Linux Runners (Container based, Gitlab), which connect via SSH to Windows Server and execute the powershell scripts. Basically I wanted to replace Scheduled ...
Threepwood's user avatar
0 votes
0 answers
35 views

I'm writing my very first Gitlab CI pipeline for a hacking game aka CTF. The game progresses each level at a time without the possibility of skipping levels without having previous levels flags. Flags ...
wavesinaroom's user avatar
Best practices
0 votes
1 replies
44 views

I try to setup CI on Gitlab for Flutter project. The idea is generate APK when I push some code to Gitlab. But the key point here is that I need the generated APK to be named in the proper way ("...
Alex20280's user avatar
  • 385
0 votes
1 answer
116 views

I am testing a requests-based library, and having the file I'm downloading in GitLab is convenient (the packages in particular), as a test case, this works with a personal access token but appears to ...
Snark's user avatar
  • 1,696
0 votes
0 answers
64 views

I'm trying to publish a Gradle package to the GitLab package registry using a pipeline. I'm very new to Gradle. The Gradle build job runs fine but when the Gradle publish job runs I get this error: ...
mdailey77's user avatar
  • 2,691
1 vote
1 answer
101 views

I'm currently working on the GitLab CI pipeline for my Node.js web app. In my current GitLab CI setup I follow the same steps for a couple of CI jobs: Use the Node image Spin up services: Postgres, ...
SuperHeavy's user avatar
0 votes
1 answer
149 views

I'm working on a CI script for a gitlab project. The build runs in two stages. The first compiles and packages the code. The second deploys the packaged code to two different remote servers (it's a ...
pbuchheit's user avatar
  • 1,839
0 votes
1 answer
89 views

I want my GitLab CI job to run only when one of my doc files at docs/**/*.md or docs/**/*.mdx changes. When I put these patterns in the rules:changes: field, the job always seems to run, even when ...
Tim McMackin's user avatar
2 votes
1 answer
174 views

Since the recent changes on npm regarding authentication and token permissions, we are no longer able to publish private packages in our monorepo using Lerna in our CI/CD pipeline on a self-hosted ...
Sami Ghorbel's user avatar
Best practices
1 vote
1 replies
60 views

For a crew project I have 2 gitlab repositories (backend and front-end) and I'd like to improve my CICD. As of now, when I merge a PR, it deploys on a ""development environment"" ...
tycyly's user avatar
  • 379
0 votes
3 answers
212 views

I'm setting up a GitLab Runner for a Laravel 12 project and I want my CI pipeline to do the following: Spin up a MariaDB service for the tests Run php artisan migrate:fresh --seed to seed the ...
Kektuto's user avatar
  • 160
0 votes
0 answers
76 views

Is there a solution to create a rule that check if an array parameter contains a given element? Below example is not a valid one. spec: inputs: ARRAY: type: array ...
Raphael Vig's user avatar
Best practices
0 votes
0 replies
82 views

We aare developing new features for our code which we use merge requests in Gitlab to a release branch where all features are collected. When doing the actual release we do a MR from release branch to ...
Sverker Abrahamsson's user avatar
Advice
0 votes
2 replies
66 views

Let's say you have a repository in gitlab. For facilitated distribution of the application and according development throughout a team, you convert the app into a Docker Container, which can be ...
DevelJoe's user avatar
  • 1,592
Best practices
0 votes
0 replies
44 views

Is there a best practice to capture screenshots of an unreal app when performing a test in a gitlab ci pipeline? gemini suggest using movie render queue w a vnc session or NICE DCV to stimulate a user ...
simgineer's user avatar
  • 1,926
0 votes
0 answers
176 views

I get this error in my pipelines: Health check container logs: 2025-11-18T09:45:19.064500182Z FATAL: No HOST or PORT found Service container logs: 2025-11-18T09:45:19.061855973Z ...
Lehks's user avatar
  • 3,388
3 votes
1 answer
275 views

I'm running integration tests using Testcontainers with Oracle XE. Locally, everything works fine. On GitLab CI, using a Kubernetes executor with Podman as a Docker service, the tests fail with: java....
SGiux's user avatar
  • 893
Advice
1 vote
3 replies
144 views

There are several questions on stack overflow asking how to get the current branch name on GitLab. The interwebz are full of countless variations of that same question. The answer that is always ...
Mike Nakis's user avatar
  • 63.3k
0 votes
1 answer
93 views

I’m an intern working in DevSecOps. Our repo uses branches: test, dev, preprod, prod. I’ve set up scans (SAST, container scan , DAST ) triggered from the test branch. But the dev team often pushes ...
asmr gig's user avatar
Advice
2 votes
0 replies
72 views

GitLab seem to accept jobs containing anything, including keywords that aren't normally allowed in a job. I've not tested, but this question even suggest that one could even make the hidden job a ...
skyking's user avatar
  • 14.6k
Best practices
0 votes
3 replies
89 views

Our project is a mixture of C++ and Python code (and some SQL queries). The former needs to be built and the existing script clause invokes gmake in the right subdirectory. But the Python code - along ...
Mikhail T.'s user avatar
  • 4,362
0 votes
0 answers
51 views

I want to add to my gitlab-ci a stage that is triggered based on two factors: If a particular stage "a" was also triggered. If a file was added or removed in a directory (not changed). I ...
Remchuk's user avatar
0 votes
1 answer
72 views

I had trouble with the CI/CD configuration, using CI_PIPELINE_TRIGGERED instead of CI_PIPELINE_SOURCE. Now, I don't understand the purpose of CI_PIPELINE_TRIGGERED as it feels that it is always "...
Dorian Turba's user avatar
Best practices
1 vote
3 replies
85 views

Our C++ project's existing .gitlab-ci.yml reads simply: executable: stage: build tags: - C++ - Boost script: - gmake -C src -j11 artifacts: name: the executable paths: -...
Mikhail T.'s user avatar
  • 4,362
0 votes
0 answers
77 views

I'm experiencing intermittent issues with Allure reports in GitLab CI where the console log occasionally displays garbled/corrupted characters instead of readable output. This doesn't happen ...
dreamer's user avatar
1 vote
0 answers
44 views

I have a quite complex GitLab CI config structure which is distributed via multiple files. . ├── .gitlab-ci.yml └── .gitlab-ci.d    ├── main.yml   └── release_main.yml The gitlab-ci.yml looks like ...
MaKaNu's user avatar
  • 1,108
0 votes
0 answers
30 views

I have the following jobs: .build-image: extends: .build-docker-image stage: build variables: COMPOSER_HOME_DIR: /kaniko/.composer BUILD_ARGS: > COMPOSER_HOME=${...
Tarta's user avatar
  • 2,157
0 votes
0 answers
86 views

I’m trying to build and archive my React Native iOS app using GitLab CI/CD, but the build fails during the archive step. Below is the error message I get: note: Disabling previews because ...
Somnath Sabale's user avatar
0 votes
1 answer
152 views

I made a Kernel project (v5.15.15) in my GitLab account and setting up build pipeline. Did some search and made a following .gitlab-ci.yml file. stages: # List of stages for jobs, and their ...
Cprogrammer's user avatar
0 votes
1 answer
71 views

I'm trying to build a GitLab pipeline that calls a Docker component and does the Docker build, scan, and push automatically. My pipeline structure is as below. default: tags: - eks-lnx-prd ...
dude0786's user avatar
0 votes
0 answers
56 views

I have a Gitlab pipeline that has a number of (expensive) steps, which I normally want to be manual and allowed-to-fail, but I want them to run and to succeed when the branch is actually being merged. ...
David Vonka's user avatar
3 votes
1 answer
292 views

My GitLab 18 instance is suggesting me to use inputs instead of variables; Using inputs to control pipeline behavior offers improved security and flexibility. Consider updating your pipelines to use ...
jerome2710's user avatar
0 votes
1 answer
161 views

In our GitLab Pipeline we use Cloud Native Buildpacks (CNB) with the Kubernetes executor & unprivileged Runners (without pack CLI & docker) as discribed in this so answer. Additionally to the ...
jonashackt's user avatar
  • 14.9k
0 votes
1 answer
87 views

Given a pipeline with number #123 for the server. How to choose logs for the all the failed jobs in pipeline via cli? I presume that it could be something like this: job_ids = glab ci <get jobs> ...
Irina's user avatar
  • 1,431
0 votes
1 answer
561 views

I want to set up a Git_CI_USER. I get the message “Unable to create masked variable because: The value must have 8 characters.” My GIT_CI_USER only has 7 characters. Perhaps the problem can be solved ...
Aaron's user avatar
  • 849
1 vote
0 answers
100 views

Log: client.go:14:2: reading gitlab.ts.gitlab.aws.de/ds/l2/clients/go.mod at revision clients/v1.0.1: git ls-remote -q origin in /go/pkg/mod/cache/vcs/...
der papa's user avatar
0 votes
0 answers
51 views

In order to improve the testing process for my Java application I want to introduce postgres as the database for integration tests. In my current approach I am utilizing the maven-docker-plugin to ...
Dumcore's user avatar
  • 11
0 votes
0 answers
64 views

Problem to solve How to prevent Developer/ Maintainer to manually re-run any GitLab jobs of the successful pipeline. Steps to reproduce Create a new pipeline which will executed on merge_request only....
Yogesh's user avatar
  • 313
0 votes
0 answers
174 views

I have a GitLab pipeline in which I need to import a GPG key from a variable and sign with it. Signing fails because the key is not trusted. YAML attached. Some remarks: Masking variables does not ...
user149408's user avatar
  • 6,319
0 votes
3 answers
214 views

I have a CI script on my gitlab repositories to publish plugins for my application. My plugins can either be published in debug or release. The steps for doing them are slightly different, so i have 3 ...
cboittin's user avatar
  • 427
1 vote
0 answers
469 views

I have a .gitlab-ci.yml template that looks something like so # .base.yml spec: inputs: RUNNER_TAG: default: "one" options: ["one", "two"] type: ...
A Simple Programmer's user avatar
0 votes
1 answer
92 views

I'm writing a pytest that should communicate to Docker containers through shared memory. Locally, that's pretty easy to achieve using something like this: # Create a shared memory block shm: ...
user2416984's user avatar

1
2 3 4 5
180