Questions tagged [gitlab-ci-runner]

This is GitLab Runner repository, this application run tests and sends the results to GitLab CI. GitLab CI is the open-source continuous integration server that coordinates the testing.

For Documentation see docs.gitlab.com/runner/

3028 questions
1
vote
1 answer

Pipeline is stuck on "pending"

I'm using GitLab's shared CI runners for training. Since this morning I can't build my project because the pipeline's status is "pending". Is it because the number of shared runners is maxed out ? Too busy running other people's code ? Is there a…
wood
  • 75
  • 1
  • 7
1
vote
1 answer

GitLab CI - :image needed if runner runs on a vm with pre-installed docker-compose

I'm wondering that most of tutorials for the configuration of .gitlab-ci.yml use the image: docker or image: docker/compose. In my case we have a pre-installed docker and docker-compose on our virtual machine (Linux). So is it necessary to use a…
Ndrslmpk
  • 125
  • 9
1
vote
2 answers

Gitlab Code Quality not found file to write

I try to include Gitlab Code Quality in my pipeline. I host Gitlab on a windows 10 machine. After reading documentation about code quality I was tried all examples, with docker, without docker, with include but the pipeline still throws error…
user13821287
1
vote
1 answer

Getting error 'jq: command not found' in Gitlab pipeline for docker

I am building the Docker images and deploying it to AWS ECS service using Gitlab pipeline but getting the error as 'jq: command not found' in spite having successfully installed the jq package (Refer images) Error Image jq package installation step…
Bharat Vishe
  • 153
  • 1
  • 2
  • 12
1
vote
1 answer

Gitlab-ci and docker - env variables

My scenario: Gitlab runner deploying my react app in ubuntu server using docker. My problem: I want to know how can i pass the environmental variables created in gitlab to docker compose ( or dockerfile). In order to use them when building the…
1
vote
1 answer

Gitlab CI Runner + Docker Compose + React, problem with "ENV Variables"

Hello i have the following scenario. I have set up a gitlab runner that with deploy my react application to my ubuntu server using docker. I cannot find a way to get the environmental variables when deploying. The only way it works is if i push .env…
1
vote
1 answer

Use script variable in artifact path

is there any chanche to use the TEST_VAR variable in the artifacts path? inject: stage: inject script: - echo "testDownload.zip" > varName.txt - export TEST_VAR=$(cat varName.txt) - echo $TEST_VAR #This is working - wget…
pinas
  • 2,708
  • 4
  • 21
  • 33
1
vote
1 answer

Pull access denied for registry.gitlab.com when the project is transfered to a group in Gitlab.com

Recently I have transfered a private project to a group in Gitlab. The problem is that the gitlab-runner fails at pulling an image from gitlab.registry.com. Does anybody know why it's complaining now?. No changes were made to the file…
Adri
  • 11
  • 1
  • 2
1
vote
1 answer

ArgoCD with kustomize to replace images during runtime

We are trying to deploy few deployment files with argocd app create command. Our yaml file contains a parameter for specifying the image name dynamically. We are looking at passing the image value with argocd cli to replace this variable during…
1
vote
1 answer

Gitlab pipeline running very slow

I am using Gitlab as my DevOps platform and running pipeline in docker container. So i am using docker executor and my runner is running as a docker container. Below is my gitlab-ci.yml file which is doing nothing but npm install cypress stages: -…
mikita agrawal
  • 571
  • 1
  • 12
  • 27
1
vote
1 answer

How to fail a job in gitlab-ci.yml when certain file exists?

I want to fail a job in Gitlab Runner if a certain file exists. How can I do this? Thanks.
vilppu
  • 29
  • 1
  • 2
1
vote
2 answers

How to solve permission problems when using GitLab CI Runner with Docker and non-root user?

I am using a GitLab CI Runner with Docker. My dockerfile looks as follows: FROM node:lts-buster-slim # Install docker dependencies RUN apt-get update RUN apt-get install -y --no-install-recommends \ apt-transport-https \ …
Michael Andorfer
  • 1,660
  • 5
  • 25
  • 45
1
vote
0 answers

TestCafe docker image doesn't run on a Gitlab runner

Setup: Specific runner (Gitlab runner configured on EC2) TestCafe job using docker image: e2e: image: name: testcafe/testcafe entrypoint: ['/bin/sh', '-c'] stage: e2e only: - develop tags: - myrunner …
Ania
  • 327
  • 3
  • 12
1
vote
1 answer

Automatically download binaries from a public site, then index those files and make available to a gitlab runner?

If there's a better place to post this, I apologize and please let me know! I have a cron job that runs on a server daily which downloads the latest version of a particular Chrome Extension from a public site. This works great, and I end up with a…
1
vote
1 answer

Why is my Gitlab CE crashing every time I run a pipeline?

I have self hosted Gitlab CE 13.4.6 and a GitLab Runner installed, via docker. Everything runs fine (I can do normal admin tasks, submit code, etc.), until I start a pipeline. Every time the pipeline runs, it will get through a job or two…
Dan Largo
  • 1,075
  • 3
  • 11
  • 25