Questions tagged [gitlab-runner]
78 questions
0
votes
1 answer
How to speedup python venv caching in GitLab CI local runner?
On trying to cache a venv folder for python job in shell executor, it seems slower than without caching. I am using multiple local runners. Can I use NFS for creating a shared folder and make cache path to same for speeding up? Any alternative…

Jerin Antony
- 133
- 1
- 9
0
votes
0 answers
gitlab runner unable to parse docker host
I run a custom gitlab-runner to processes the ci-pipeline of my projects inside docker containers on my own machine. This machine is a centos 7 machine and hence uses podman instead of docker. I once managed to to set everything up and it worked…

M0M0
- 200
- 9
0
votes
1 answer
Gitlab CI Runner fails to push image to container registry - unexpected HTTP status: 200 OK
Introduction to problem
Hi, i deployed Gitlab on Rocky Linux 8 VM and Gitlab-runner on RHEL 9 VM and custom self-signed CA.
Gitlab is up and running and jobs can be picked up with the runners successfully.
I want to create a custom docker image and…

Technas
- 17
- 5
0
votes
0 answers
After providing domain name and ip address in extra hosts in my gitlab runner my pipeline failed
After providing domain name and ip address in extra hosts in my gitlab runner config.toml my pipeline error shows fatal error unable to access https:// : failed to connect to port 443 : operation timed out

gokul 053
- 1
- 1
0
votes
1 answer
Kubernetes Service Account Token for GitLab Runner
I'm trying to get the right token into the gitlab-runner-token without creating new services.
Can be done?
The token that is there is the wrong one.

msilviu
- 11
- 3
0
votes
0 answers
Unauthorize to run apply Kubernetes via gitLab-runner
I have set up deployment staage in .gitlab-ci.yml as here
deploy_internal_dev:
stage: deploy_internal
only:
- master
image: image
environment:
name: Dev
url: url
script:
- pwd
- whoami
- kubectl config set-context…

Bawantha
- 3,644
- 4
- 24
- 36
0
votes
1 answer
How to force only kubernetes executor for gitlab-runner
I have two projects in gitlab using the same gitlab-runner that I control. The first project is using kubernetes executor when running CI but the second gets "docker+machine". The .gitlab-ci.yml is nearly identical for both. Is there a way to force…

katomaso
- 400
- 3
- 10
0
votes
1 answer
/usr/bin/env: “node”: Permission denied
When I use gitlab runner to package node products, an exception occurs.
I tried to provide gitlab runner permission, but it could not solve the problem for me.
Running with gitlab-runner 15.0.0 (febb2a09)
on deepin-wx mxWVNTaN
Preparing the…

lich
- 3
- 2
0
votes
1 answer
Gitlab CI - Specifying Runner Per Job
We are currently facing a conundrum with our multi-tenant project which contains various configuration files for each of our tenants and their associated environment. Our CI/CD Pipeline is split into two parts
An Upstream pipeline which analyses…
0
votes
1 answer
Is there any work around connecting Gitlab-runner runing in docker-container behind Corporate network?
I spent weeks trying to connect GitLab-Runner running in the docker container behind the corporate network. I try docker run --add-host to add the host IP to /etc/hosts in my container, but I can't register my Runner. I am using Cntlm…

cosky5
- 1
- 1
0
votes
1 answer
Dotnet scanner error on Gitlab pipeline, how to resolve?
I have sonarqube installed via an image with docker on a ubuntu 20.04 machine.
I have gitlab running and use the pipeline to execute sonar scans. For python and javascript repositories this is working just fine, but I have multiple c# projects I…

Mario
- 582
- 5
- 18
0
votes
1 answer
Fix JWT::DecodeError (Nil JSON web token) for Gitlab runner / CI job?
I am trying to install a simple job in Gitlab-CI. It should just copy most of the files (.php) in the repository to a different folder (from repository to Apache's /var/www/html/...).
The output goes like this:
Using Shell executor...
Preparing…

BairDev
- 2,865
- 4
- 27
- 50
0
votes
1 answer
Digital Ocean droplet & gitlab runner problem
I am recently working on GitLab CI/CD and I want to set up a runner on digital ocean droplet however I get the following error:
$ docker network create web
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon…

smrf
- 349
- 3
- 16
0
votes
0 answers
ENTRYPOINT just refuses to exec or even shell run
This is my 3rd day of tear-your-hair-out since the weekend and I just cannot get ENTRYPOINT to work via gitlab runner 13.3.1, this for something that previously worked with a simple ENTRYPOINT ["/bin/bash"] but that was using local docker desktop…

user1561783
- 483
- 1
- 4
- 14
0
votes
1 answer
GitLab Runner register shows i/o timeout in Docker
I'm trying to setup GitLab in my local machine and install GitLab and GitLab Runner in Docker:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS …

NikSU
- 21
- 6