Questions tagged [gitlab-runner]
78 questions
17
votes
3 answers
Gitlab where is config.toml
Im working on adding code quality to gitlab.
one of the step requires making changes to config.toml.
I have .gitlab-ci.yml at root level of project repository.and pipeline picks up this file.
where do i define config.toml ? at root level or i need…

wcsSunil
- 181
- 1
- 1
- 5
5
votes
2 answers
Gitlab Pipeline failing "remote: HTTP Basic: Access denied"
I'm new to Gitlab Pipelines and want to set up one for one of my Python projects.
I'm using the docker GitLab-runner container with this Configuration file:
version: '3'
services:
runner:
container_name: runner
image:…

Dustin
- 98
- 1
- 8
4
votes
3 answers
Gitlab-Runner | x509: certificate signed by unknown authority
I'm trying to build then push image on gitlab container registry but i found below issue i'm using on premise Gitlab instance and the Gitlab runner is ubuntu that using shell executor
I appreciate if someone can help to solve this issue
Thanks a lot…

Yassen Fouad Anis
- 43
- 1
- 4
4
votes
0 answers
gitlab-runner: Segmentation Fault? How to solve this?
I have been trying to figure out what's the problem with gitlab-runner,I have installed gitlab-runner on unix. it suddenly shows an error "Segmentation fault (core dump)". I tried to reinstall gitlab-runner, or check status. every command i try then…

Azeem Khan
- 41
- 2
4
votes
2 answers
Gitlab CI/CD using ssh / knownhosts error
I'm trying to use gitlab CI/CD to auto deploy my code, after push on an specific branch (in my case 'staging' branch)
after push on 'staging' branch I see following error on jobs section in gitlab UI:
Running with gitlab-runner 15.0.0 (xxxxxx)
on…

shahab valizade
- 98
- 1
- 8
4
votes
2 answers
Secret variables with a dollar sign are not correctly set
when trying to use a secret variable with a value containing dollar sign on gitlab-ci secret variables it's not got variable value correctly.

javidasd
- 1,126
- 13
- 18
4
votes
1 answer
gitlab-ci runner takes a long time to download / upload to and from S3 cache (without "ServerAddress")
we have a gitlab runner running in a kubernetes cluster on AWS. the testjob:
test-job:
image: centos
stage: build
cache:
paths:
- output
script:
- mkdir -p output
- date +"%Y-%m-%d" > output/date.txt
tags:
- docker
…

rmalchow
- 2,689
- 18
- 31
3
votes
1 answer
Problems with Gitlab CI/CD on local machine
I'm using gitlab-runner to run CI/CD locally.
It works properly when I specify all jobs in .gitlab-ci.yml like
stages:
- test
test1:
stage: test
script:
- echo "ok"
and run gitlab-runner exec shell test1
In general, I'd like to store…

Дима Коробков
- 31
- 2
2
votes
2 answers
Assign Gitlab Runner daemon's pod and the jobs's pods to two separate node groups in Kubernetes when using Kubernetes executor
We're using Gitlab Runner with Kubernetes executor and we were thinking about what I think is currently not possible. We want to assign the Gitlab Runner daemon's pod to a specific node group's worker with instance type X and the jobs' pods to a…

Rshad Zhran
- 496
- 4
- 17
2
votes
1 answer
nx command not found on gitlab-runner
I have installed nx globally using Sudo
sudo npm install -g nx
and it works fine, but sometimes it gives the below error
bash: line 136: nx: command not found
After retry, it works fine again.

Shashikumar KL
- 1,007
- 1
- 10
- 25
2
votes
1 answer
how to clone without root on gitlab-runner docker
I'm trying to create a ci pipeline for my code. I have registered a runner with docker executor in my machine. I noticed it is cloning the repository with root privileges inside the docker container
$ ls -l
total 4
drwxrwxrwx 4 root root 4096 Jan 3…

afvmil
- 362
- 3
- 11
2
votes
1 answer
Using Gitlab-Runner for Windows on GitLab CI Pipeline with Docker Desktop
I would like to run my Gitlab-CI Pipeline in a Windows environment. Therefore, I use a Windows Gitlab-Runner which
uses Docker Desktop version 4.3.0 as executor.
The "Server", on which the Gitlab-Runner operates, has Windows 10 1809, build…

Inka.F
- 21
- 4
2
votes
0 answers
403 Forbidden appears when deleting merge requests using the Gitlab API
I would like to put the wrong sum and request closure. After using the API's DELETE method, 403 appears and the personal token has been used。
curl --request DELETE --header "PRIVATE-TOKEN: ${TOKEN}"…

YuSheng
- 97
- 7
2
votes
0 answers
Access forbidden for Dependency Proxy in Gitlab CE
I am trying to use the Gitlab Dependency Proxy on my on-promise instance of Gitlab CE 14.4.1 in the CI/CD jobs. I have updated the local gitlab runners to version 14.4.0, and activated the Dependency Proxy for the shared group. When running a simple…

Guillaume
- 2,912
- 3
- 35
- 59
2
votes
1 answer
Gitlab Runner : Preparation failed: Cannot connect to the Docker daemon at unix:///var/run/docker.sock
I created a gitlab runner in GCP VM following a tutorial. But I'm getting the following error.
.gitlab-ci.yml
stages:
- ".pre"
- lint
- integration
image: node:stable
before_script:
- apt-get update
- npm install --progress=false
- node…

A.S. SAMARASINGHE
- 215
- 1
- 12