3,235 questions
1
vote
1
answer
30
views
gitlab-runner is not installed in a docker container. OS debian 12 [closed]
gitlab-runner is not installed in a docker container. OS Debian 12
I am writing the following:
curl -fsSL https://get.docker.com | sh
docker volume create runner01
docker pull gitlab/gitlab-runner:...
Best practices
0
votes
1
replies
42
views
gitlab-runner behavior when run-untagged is set to true
Looking for information on this and can't seem to find it anywhere in the GitLab docs.
I'm currently setting up a scenario where our team will ultimately have our GitLab runners setup to handle ...
0
votes
1
answer
116
views
GitLab Job Token Access
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 ...
0
votes
1
answer
149
views
How to specify multiple pipeline sources for a gitlab-ci.yml build
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 ...
0
votes
0
answers
176
views
Failing healthcheck of GitLab CI PostgreSQL service
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 ...
Best practices
1
vote
1
replies
60
views
Fast and auto scalable gitlab runner
i've a question. We were using Gitlab's Instance runners but for security reasons, we wanna move it to private runner. I tried using ec2 as runner but it can't scale and is so slow for concurrent runs....
Best practices
1
vote
3
replies
85
views
How to build on different operating systems?
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:
-...
0
votes
0
answers
30
views
Modify extended job variable on the fly through script
I have the following jobs:
.build-image:
extends: .build-docker-image
stage: build
variables:
COMPOSER_HOME_DIR: /kaniko/.composer
BUILD_ARGS: >
COMPOSER_HOME=${...
0
votes
1
answer
152
views
Pull the docker image in GitLab registry from pipeline
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 ...
1
vote
1
answer
63
views
Skip dev-only .env file in prod
I got an ASP.NET Core Web API project. For credentials, I created an .env file which is an embedded resource and has Copy always set (I've also tried Do not copy).
As that file contains sensitive data,...
0
votes
0
answers
50
views
How to disable headless mode for gitlab-runner on windows
I have a test suite (webdriverio) which runs in headed mode outside of gitlab-runner. Whenever I put it into my pipeline, the tests become headless. That's generally okay, but I would need sometimes ...
0
votes
1
answer
561
views
Unable to create masked variable because: The value must have 8 characters
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 ...
0
votes
1
answer
43
views
What is the proper way to execute compose scripts on local network via GitLab?
I currently have a docker compose script that brings up a few containers and runs them against some hardware that is installed on a local network. The software in these containers requires that ...
0
votes
0
answers
113
views
Volume mounting issues with Docker-in-Docker in GitLab Runner Kubernetes executor
Problem Summary
I'm running a GitLab CI pipeline with a Kubernetes runner that uses Docker-in-Docker (privileged mode). When I try to mount a volume from the GitLab Runner's filesystem into a Docker ...
1
vote
0
answers
231
views
gitlab runner error: The scheduler failed to assign job to the runner, please try again or contact system administrator
Requesting help to get my first gitlab runner going on my windows PC. I'm self hosting gitlab CE v18.1.1. I've created my runner and you can see it catching the job via the screenshot below. However, ...
0
votes
0
answers
178
views
GitLab Runner on Windows with Docker and ECR login helper – no basic auth credentials error
I'm running into an issue with a GitLab Runner on Windows pulling images from AWS ECR.
Here’s my setup:
Windows Server instance running on AWS
Docker and GitLab Runner installed
The runner is using ...
0
votes
0
answers
63
views
Ultra-Fast Angular CI: Persistent, Local node_modules Cache on Self-Hosted Runner
so I'm having a bit of a headache with my CI setup. I've got my GitLab runner running right here on my own machine, you know, locally.
The main thing is, I want my node_modules to be super, super fast....
-3
votes
1
answer
373
views
glab release create fails: cannot unmarshal upload.ReleaseAsset
I am trying to fix a GitLab runner that creates releases with glab release create, but it is failing.
Within .gitlab-ci.yml:
glab release create $CI_COMMIT_TAG --assets-links "{\"name\":...
0
votes
0
answers
155
views
File Capabilities not working for self hosted podman gitlab runner
On an air-gapped network, I am setting up a podman gitlab runner which needs to run podman-in-podman to build additional containers I'll need on the network. I have created a container file to run ...
0
votes
0
answers
290
views
How can I use variables in (GitLab Runner Helm Chart) Value File (to avoid repetition in another deployment)?
Disclaimer: I am fairly new to Kubernetes and Helm, but not to Docker.
TL;DR: I want to move GitLab Runner Helm Chart configuration values out of the original values.yaml in a home-made configuration ...
1
vote
1
answer
1k
views
GitLab CI pipeline for a uv Python project does not cache environment and dependencies
I have a GitLab runner on a Linux machine that uses the shell executor. This runner is for testing a Python project that uses uv for virtual environment and dependency management. I have the Python ...
0
votes
1
answer
193
views
Cannot connect to the Docker daemon at tcp://127.0.0.1:2375. Gitlab CI
I'm running a basic pipeline on Ubuntu WSL that runs test, build, and deploy. I've tried almost all the advice from issues and Stack Overflow.
When I'm trying to run pipeline, the build stage stops ...
0
votes
0
answers
37
views
How to name Gitlab runner volumes
I have a gitlab runner setup using EC2 and I have few worker nodes for the gitlab runner that are invoked when needed otherwise will be in stopped state. I want to configure the setup in a way that ...
1
vote
0
answers
122
views
Loading a postgres database dump for testing in GitLab CI
For testing I am bringing up PostgreSQL and trying to use the default database postgres to dump my database to test the application, the problem is that I can't do it. I get errors at the moment of ...
0
votes
0
answers
35
views
Trying to update Record in AWS Route53 using gitlab-ci.yml
I am trying to update a record in our Route53 and it seems the code in gitlab-ci.yml syntax is correct but it it getting an error on execution,
See this is the code:
create_dns_record:
stage: ...
2
votes
1
answer
64
views
PromQL for CPU pressure of a certain container "class"
We deploy our gitlab runners in kubernetes, where we offer different classes that distinguish in cpu/memory requests.
My goal is now to find a promQL query, that indicates a high CPU pressure over a ...
2
votes
1
answer
2k
views
gitlab ci runner with docker executor fails docker dind service's health check
I'm trying to run gitlab ci with a self-hosted runner with dokcer executor. I set docker dind as one of the services and it fails the health check with a message "nc: bad address 'docker'".
...
0
votes
1
answer
55
views
Is it possible to support multiple Devart versions on a single GitLab Runner at the same time?
I'm looking to set up GitLab runners with the two different versions of Devart dotConnect at the same time. Most of our company projects have been updated to version 8.1.151.0, but some older projects ...
0
votes
0
answers
105
views
Gitlab-CI / Docker runner - How to get clean docker container for each pipeline?
I'm working on a basic continuous integration (I worked with Gitlab since few years now).
I use a docker runner with a custom image (basic Ubuntu with quiet nothing inside...).
Here is the gitlab-ci....
0
votes
1
answer
79
views
Forked repository still triggering pipeline even though all pipelines are removed - possibly from original repository?
I'm working with a forked repository, and currently unable to merge any changes due to a pipeline failure error message.
The original repository has a merge request pipeline to AWS, and I tried to set ...
0
votes
2
answers
433
views
Restrict GitLab pipeline (or just multiple jobs) to same but implicit runner
Let me preface this by mentioning that we are using on-premise GitLab with our own runners, not http://www.gitlab.com. With our GitLab CI, we commonly do multi-stage jobs where jobs depend on stuff ...
0
votes
1
answer
83
views
How to install tkinter in a GitLab CI pipeline on a RHEL-based runner?
I am trying to run a GitLab CI pipeline on a RHEL-based runner, and I need to install the tkinter module for Python. However, I am encountering issues with permissions and package installation. Here ...
0
votes
0
answers
78
views
noob - gitlab parent child triggers
Trying to wrap my head around parent/child CI/CD builds with feature branch workflow.
We are using GITLAB, the paid for version.
I have two different but similar ci/cd parent/child use cases:
Case 1 - ...
1
vote
1
answer
607
views
GitLab failed to get version server for SonarQube v2025 LTA
Hello everyone,
I am facing an issue when running SonarScanner in my GitLab CI/CD pipeline. The analysis fails with a connection error to the SonarQube server.
Context
Environment: GitLab CI/CD
...
1
vote
2
answers
3k
views
Gitlab-runner environment variables hidden not working witout white spaces Mend Renovate
When I configure gitlab env variable RENOVATE_GIT_PRIVATE_KEY I want to configure it as masked and hidden, so I remove whitespaces and line breaks, -----BEGIN PGP PRIVATE KEY BLOCK----- and -----END ...
0
votes
1
answer
66
views
Gitlab - Run Specific job after it got failed in previous pipeline after changed the code
I have three stages: A, B, and C. when triggers the pipeline Job A is passed, job b is failed and as a result, job c is not carried out. I now want to add a few lines of code to job b and execute it ...
0
votes
0
answers
171
views
Gitlab submodules use in -gitlab-ci.yml files
I'm new at git CI/CD and I want to execute tests that are developed in another private repository. For that, I thought about using gitlab submodules solution.
Right now, the only thing I want to do is ...
0
votes
1
answer
323
views
How to increase the log `output_limit` on GitLab shared / SaaS runners?
I'm struggling to debug a failed GitLab job on a shared / SaaS GitLab runner. The job's log reads:
Job's log exceeded limit of 4194304 bytes.
Job execution will continue but no more output will be ...
0
votes
0
answers
50
views
Pass gitlab merge request target branch into trigger pipeline
How can I pass my merge request's target branch into a trigger pipeline in GitLab CI?
I want to pass the target branch of my merge request to a downstream pipeline triggered in GitLab CI.
Here's the ...
0
votes
0
answers
44
views
Gitlab submodules working only with git binary present
I have .gitmodules on my repo,
[submodule "testing"]
path = scripts/common
url = https://gitlab-ci-token:$CI_JOB_TOKEN@$CI_SERVER_HOST:$CI_SERVER_PORT/testing.git
It will work if the ...
0
votes
1
answer
608
views
GitLab Runner jobs fails after upgrade to 17.7.0
I have a GitLab CI/CD pipeline set up to build a Docker image with a Docker-In-Docker setup. One of my jobs now fails with:
Running with gitlab-runner 17.7.0 (3153ccc6)
on ubuntu-worker-docker Gtyfr-...
0
votes
1
answer
75
views
SECURITY_SCAN artifacts fail to get uploaded to gitlab
Newbeee to CICD
I am running a CICD pipeline to scan my code. After the scanning the test task fails with the error
gl-sast-report.json: found 1 matching artifact files and directories
WARNING: ...
0
votes
1
answer
411
views
Integration of Ansible Molecule with podman in GitLab CI/CD runner context
TL;DR
Does podman need the privileged container (aka root) mode to provide safe runtime environment for Ansible Molecule tests in GitLab CI/CD execution environment as mandatory setup option? If not, ...
0
votes
1
answer
176
views
Unable to Install and Update packages in gitlab-ci-yml
I have a gitlab-ci-yml script to deploy in my remote server, but I got a problem when installing ssh, I already force assigned the DNS but still the same problem and tried different image in docker ...
1
vote
1
answer
547
views
Gitlab CI has empty variable defined in same CI file
I’m running this minimal .gitlab-ci.yml script on gitlab.com with default shared runners:
variables:
VAR: Value
job:
only:
- main
run:
- name: test
script: echo VAR=$VAR
This is the ...
1
vote
0
answers
385
views
With GitLab, getting "fatal: mismatched algorithms: client sha1; server sha256" error when running pipeline on fork
I have a CI pipeline which runs a basic Python unit test command. It uses the python:3.11 Docker base image.
When the pipeline runs in the main repo, everything works fine. However, when running the ...
0
votes
0
answers
125
views
default port 5000 for image specifications in .gitlab-ci.yml
In the past I have skipped the port when specifying images in .gitlab-ci.yml.
some-build-job:
stage: build
image: server/image:tag
After a new gitlab installation I have to add the port.
some-...
1
vote
0
answers
51
views
Telepresence not able to hit api from job container
I have installed telepresence in service container and in that service container i have checked that it is woring fine perfectly hitting api but when running job in gitlab i have provided this service ...
0
votes
1
answer
436
views
chart "gitlab/gitlab-runner" not found in https://charts.gitlab.io repository
I encountered an issue when trying to install the gitlab-runner chart using Helm with the following command:
sudo helm install gitlab-runner gitlab/gitlab-runner --namespace gitlab --create-namespace -...
1
vote
0
answers
49
views
Gitlab Pipeline failes without and modifications
When I try to deploy my magento 1.9, the phpcs pipeline fails, although nothing was changed in the piplines.
I got following in the logs screen:
$ chown -R 0:0 ~/.ssh
$ composer config --global --auth ...