Questions tagged [gitlab-runner]
78 questions
1
vote
2 answers
ERROR: Registering runner with gitlab-runner
I read other posts and solutions described but they didnt work for me.
I have my own gitlab server running at AWS with its url mygitlab.com. The gitlab server works fine with a lot of projects.
I have another server S1 in the same AWS network than…

Fabrice
- 355
- 4
- 9
1
vote
2 answers
Operation not permitted on gitlab-runner
I'm trying to run a gitlab ci on my own server. I registered gitlab-runner in a separated machine using privileges
sudo gitlab-runner -n \
--url https://git.myServer.com/ \
--registration-token TOKEN \
--executor docker \
--description…

afvmil
- 362
- 3
- 11
1
vote
0 answers
Could I change the container's name of GitLab runner's job?
I can use docker to build GitLab CI/CD now, and I know how to assign the name of 'gitlab-runner'. But when it builds projects, it will create lots of containers, some jobs consume lots of CPU but it's not easy to know the killer.
For example, the…

Dennys
- 587
- 2
- 13
- 33
1
vote
2 answers
gitlab-runner doesn't run ENTRYPOINT scripts in Dockerfile
I use gitlab-ci in my project. I have created an image and push it to gitlab container registry.
To create an image and register it to gitlab container registry, I have created a Dockerfile.
Dockerfile:
...
ENTRYPOINT […

Hossein Safari
- 252
- 3
- 15
1
vote
2 answers
AWS Gitlab Autoscale runner with private IP, don't want to enable Public IP
In AWS, Gitlab Autoscale runner with private IP, don't want to enable Public IP.
Currently our Gitlab Autoscale runner is configured with public IP, hence the Runner Hub is connected via Public IP of autoscale runners. For that we are opening ALL…

praseeb kdas
- 37
- 8
1
vote
1 answer
How does GitLab CI/CD determine if two branches can be merged?
For example, if the dev branch is behind the build branch when the two branches merge, the merge request can be created. But it is clear that it cannot merge because it is not possible to merge a backward branch into the current branch. In this…

YuSheng
- 97
- 7
1
vote
0 answers
How to configure interactive web terminal on docker+machine GitLab runners?
I've added the following configuration to the runner toml config:
[session_server]
listen_address = "[::]:8093" # listen on all available interfaces on port 8093
advertise_address = "runner-host-name.tld:8093"
session_timeout = 1800
The…

Alexander Pravdin
- 4,982
- 3
- 27
- 30
1
vote
1 answer
Gitlab Shared Runner docker build after npm install
I'm trying to build docker image and push to gitlab registry.
I'm using gitlab-shared runner.
There is no problems for npm install but how to build docker image on next job?
image: node:14.17.3
stages:
- install
- build
install_dependencies:
…

Matthew
- 125
- 2
- 11
1
vote
1 answer
How to use nvm in user-mode through Gitlab on Windows?
I use GitLab and I have several projects using different versions of node. I came across the nvm-windows project, and installed it on my local machine to try it out.
$ nvm install 14.18.0
$ nvm use 14.18.0
raises an exception:
exit status 1: You do…

HelloWorld
- 2,392
- 3
- 31
- 68
1
vote
1 answer
Do gitlab runners need to be re-registered after a migration if the external url does not change?
I am migrating primary and secondary GitLab nodes to new nodes. In order to do this, I am following the backup and restore documentation.
Do GitLab runners need to be re-registered after a migration if the external url does not change?
Thanks all!!

user557657
- 856
- 1
- 12
- 35
0
votes
0 answers
"Failed to create D3D renderer:could not create D3D11 device" while running protractor typescript through gitlabrunner pipeline
We are setting up gitlab runner pipeline to run the protractor typescript..Test is getting called,chrome browser is launched but test failed with error mentioned in title
VM used to run test is Windows 7 VM. Please let us know if anyone observed…

Rakhi
- 1
- 1
0
votes
0 answers
Running gitlab-runner on the same ec2 instance used for deployment
I am testing gitlab CI/CD for the first time with a gitlab project and an EC2 instance that I had purchased to deploy my project. I would ssh into the instance and then do the rest to update the project there. Till now I was using free shared…

Kanojian
- 45
- 5
0
votes
1 answer
gitlab-runner helm: Incorrect Usage: flag provided but not defined: -template-config
I'm trying to install a new Gitlab runner on Kubernetes cluster using Helm. I have followed this link and as it is mentioned, it is just needed to provide appropriate values for gitlabUrl and runnerRegistrationToken (other keys were not modified).…

Mostafa Ghadimi
- 5,883
- 8
- 64
- 102
0
votes
1 answer
Cache location with gitlab-runner and docker executor on Windows?
Where are the zips of the job caches when running gitlab-runner on Windows with docker executor ?

Gabriel Devillers
- 3,155
- 2
- 30
- 53
0
votes
0 answers
Gitlab runner error on local isntance The remote end hung up unexpectedly after reboot
Update:
I did end up finding a solution to the issue, but it doesn't explain why this happened. I am leaving this question up in case anyone can answer why and how to avoid it in the future.
Here are the errors I was getting
Fetching changes with…

Brandon Kauffman
- 1,515
- 1
- 7
- 33