Questions tagged [gitlab-runner]

78 questions
2
votes
3 answers

gitlab-runner cant find git

I am getting the following error when try to configure my gitlab CI, git is installed in my system and i can run git from cmd. This setup is to run gitlab runner on my local machine. Here is my gitlab-ci.yml stages: - build -…
Behinoo
  • 395
  • 5
  • 18
2
votes
0 answers

gitlab-runner giving "invalid value for variable X_PORT" when parsing variables from ci-file

I encountered a problem when running gitlab-runner exec docker ... for a CI stage that has a section with variables containing ports. REDIS_HOST: redis REDIS_PORT: 6379 DB_HOST: postgres DB_USER: $MYSQL_USER DB_PORT: 5432 …
2
votes
1 answer

Gitlab-runner, docker:20.10.2-dind shows error, Cannot connect to the Docker daemon at tcp://docker:2375

On self hosted Gitlab on GCP installed by helm, I use Gitlab-runner. On gitlab-runner I need to use docker so using dind, but I got error tcp://docker:2375. Is the docker daemon running? gitlab-runner deployment ... spec: containers: …
Ryo
  • 485
  • 1
  • 8
  • 26
1
vote
0 answers

Zabbix collecting prometheus encoded data from GitLab runner

I am trying to collect performance data from GitLab runner prometheus Interface to zabbix server. What do I have: A template with a couple of items in zabbix a userparameter conf which relies in a shell script which fetch data from api call and…
solick
  • 2,325
  • 3
  • 17
  • 29
1
vote
1 answer

How to get Terraform providers on GitLab CI runners in an air-gapped environment

I am running a Gitlab CI runner on an Azure Red Hat Linux 7.9 VM which is air-gapped and cannot communicate with the outside world due to our network restrictions. In the .gitlab-ci.yml file of my GitLab pipeline, I run some Terraform commands…
1
vote
1 answer

Use Docker Hub authenticated login for GitLab Runners to fix rate limiting issue

am getting below pull rate limit issue error. Running with gitlab-runner 14.0.1 (c1xsefsq) on gitlab-runners-xxxxxx vjqSst4o Preparing the "docker+machine" executor 01:42 Using Docker executor with image node:14 ... Pulling docker image…
1
vote
1 answer

gitlab runner image not working for maven build

Trying to build a maven proj in gitlab. I m trying to use gitlab runner image as my runner. Registered the runner to my gitlab project , still not able to get the maven build. It fails everytime. Registered the runner with specific tags as well yet…
1
vote
1 answer

gitlab-runner configuration not showing in config.toml

I have a simple question I'm hosting a GitLab server and when I want to register a new runner it's successfully created but when I go to : ~/.gitlab-runner/config.toml this config.toml file doesn't show me, my new configuration runner. it just…
Jessica
  • 127
  • 2
  • 10
1
vote
1 answer

Kubernetes can't pull private image from docker

I hope somebody can help me. I'm trying to pull a private docker image with no success. I already tried some solutions that I found, but without success. Docker, Gitlab, Gitlab-Runner, Kubernetes all run on the same server Insecure Registry $ sudo…
1
vote
0 answers

How to install GitLab Runner on Ubuntu Server?

I have downloaded the package for the system: curl -LJO "https://gitlab-runner-downloads.s3.amazonaws.com/latest/deb/gitlab-runner_${arch}.deb" And then installed the package on my server(system), with this command: dpkg -i…
Warrior
  • 49
  • 1
  • 5
1
vote
0 answers

Disable free minutes in Gitlab Runner

I currently have an instance in AWS running the pipelines in docker using runners. Until yesterday everything was going great running everything in the instance, but today it has used the Gitlab runner again. I was searching for a while for…
1
vote
1 answer

Yarn install in gitlab pipline

I'm using pipline to install my packages and this is my script: default: image: node:latest before_script: - yarn Install Dependencies: stage: install_deps script: - yarn and I got this error: error An unexpected error…
Jessica
  • 127
  • 2
  • 10
1
vote
1 answer

Is there an easy way to to add a secret file to my Gitlab CI/CD pipeline?

I have a .NET application which uses a Web.config which in turn uses ConnectionStrings.config. By default .NET uses xml for it's config files. I found a solution where the content of such a file is base64 encoded in a secret and decoded and stored…
online Thomas
  • 8,864
  • 6
  • 44
  • 85
1
vote
1 answer

Error registering Gitlab Runner in Mac. forbidden

I have been trying to register a gitlab runner in my Mac but I keep getting errors saying it is forbidden. I was able to register on windows but for some reason it doesn't work on my Mac. These are the steps I take: gitlab-runner register \ > …
Mark
  • 49
  • 6
1
vote
1 answer

Remove Gitlab docker containers

Recently i tried to install Gitlab on Ubuntu machine using docker and docker-compose. This was only done for testing so i can later install it on other machine. However, i have a problem with removing/deleting gitlab containers. I tried…
spooky
  • 33
  • 7