3,247 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
83
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
131
views
Failing healthcheck of GitLab CI PostgreSQL service
I get this error in my pipelines:
Health check container logs:
2025年11月18日T09:45:19.064500182Z FATAL: No HOST or PORT found
Service container logs:
2025年11月18日T09:45:19.061855973Z ...
Best practices
1
vote
1
replies
55
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
78
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
27
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
104
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
57
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
41
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
341
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 ...
-1
votes
0
answers
33
views
Error: Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running? [duplicate]
I'm working with gitlab and gitlab-runner on openshift and my ci-cd file looks like this:
image: docker:18-git
stages:
- ci
- build
- upload
variables:
DOCKER_HOST: tcp://docker:2375
...
-1
votes
1
answer
35
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 ...
-1
votes
0
answers
71
views
GitLab Runner with bash executor in windows failing to load bash profile
I see this error in gitlab runner job when im trying to use bash executor:
Running with gitlab-runner 17.11.0 (0f67ff19)
on xx-shell txxxx, system ID: 123
Resolving secrets
Preparing the "shell" ...
0
votes
0
answers
81
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
163
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
130
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 ...