Questions tagged [gitlab-ci-runner]

GitLab Runner is the open source project that is used to run your jobs and send the results back to GitLab. It is used in conjunction with GitLab CI, the open-source continuous integration service included with GitLab that coordinates the jobs.

1
vote
1answer
18 views

GitLab CI/CD job without pulling LFS files?

When our GitLab CI/CD job runs, it first pulls a Docker image and then git clones the entire repo. Afterwards, the Build commands are executed in the Docker image, etc. Is it possible to only clone ...
1
vote
0answers
10 views

How to launch a docker container from within a GitLab Shell runner?

Situation My CI pipeline needs to do the following: log into a VM and have access to a bash terminal run a bash script that launches a Docker container with parameters (e.g. -it mode or providing ...
0
votes
1answer
14 views

What package manager does the gitlab docker CI image use?

I'm trying to install additional software but apt-get is not available. So in my .gitlab-ci.yml file I have: image: docker:stable What is the image based off from?
2
votes
2answers
54 views

Installing azcopy in Gitlab Runner (Alpine Linux)

How can I install azcopy and use it in my gitlab runner CI/CD script? First I have two scripts that download the tar file and extract it. wget -O azcopy.tar.gz https://aka.ms/downloadazcopy-v10-...
0
votes
1answer
151 views

No space left on device when running job on photon-os

I'm using gitlab and gitlab-ci along with gitlab-runner. Gitlab-runner is choking on my build jobs for a day now and I can't find a way to solve the problem. The problem appears when the npm install ...
1
vote
0answers
50 views

How to use shared runner (dind) for build stage and runner with shell executor on my server for deploy stage?

I want to do the build of my image on a shared runner and build it on gitlab registry. then I want to pull that image, on my server using the runner on my server using shell executor. but I face a ...
0
votes
1answer
30 views

Understand GitLab CI/CD better

Did I understand this correctly, that stages will run in parallel if they have the same name? stages: - build rust-latest: stage: build image: rust:latest script: - apt-get update &&...
1
vote
0answers
512 views

Access denied when pulling private registry image using helm with gitlab runner helm chart and ci job

I have a kubernetes cluster with 1 master and 2 workers. All nodes have their IP address. Let's call them like this: master-0 worker-0 worker-1 The network pod policy and all my nodes communication ...
0
votes
1answer
151 views

How to deploy to Appengine standard from gitlab CI?

How to deploy from Gitlab CI to AppEngine Standard environment?
0
votes
1answer
791 views

Is it possible to have multiple gitlab-ci files in a single repo?

I have a single repo handling integration tests for 4 different software projects. As those projects share common resources, I'd like to create a generic file in which all those common features are ...
0
votes
0answers
18 views

How to spawn on-demand cloud batches with GitLab similar to Jenkins EC2 plugin?

While you need your build agents/slaves just to execute a build, infrastructure as code allows you to get disposable build/test machines which thus require zero maintenance on demand. For example, if ...
4
votes
2answers
132 views

How to pull all alternative tags of a Docker image?

I administer a GitLab instance with a build pipeline. All components are encapsulated in Docker images from the official GitLab maintainer. Whenever I update - usually once a week - I need to check ...
0
votes
0answers
22 views

How to filter GitLab jobs by runner?

One of the GitLab runners has got itself into a bit of a state, and to find out how I would like to show only jobs (or just the logs of jobs, if possible) on that runner. I do have shell access on the ...
3
votes
0answers
240 views

SSL error when deploying from gitlab runner (GitLab-CI) to remote docker host

I am trying to deploy an docker image, which is located inside the gitlab.com registry, to an external docker host. The docker host was created using docker-machine. I am using a shared runner and ...
1
vote
1answer
105 views

Chef resource to register gitlab runner automatically

We would like to automate installation of gitlab runner using chef. we are successful with it. Now, the Issue is regarding registering gitlab runner with chef resource. we have gone through chef ...
2
votes
1answer
812 views

obtaining token to register a gitlab runner

I have a gitlab repository. I want to add a runner to it. I was able to install it,with the instruction here without docker (step 3). Now I have to register it according to the instructions here. In ...
1
vote
0answers
271 views

Kubernetes Continuous deployment stage in Gitlab Online fails

I am working on setting up a cloud DevOps deployment pipeline using Gitlab CI online, Kubernetes, and docker. I am following an example post at Continous delivery of a spring boot application with ...
0
votes
1answer
268 views

Adding a persistent volume to a Kubernetes deployment from Gitlab Auto Dev-ops

Recently, GitLab partnered up with Google Cloud to provide automatic deployment to Kubernetes clusters directly from project repos. I enabled Auto Dev-Ops on my project, which just contains some Node....
2
votes
1answer
283 views

One time/set up jobs on gitlab ci?

I'm setting up a pipeline that compiles and builds new docker images, and then deploys those images to testing kubernetes cluster. I'm using a shell runner. I need to setup my kubectl client to ...
6
votes
3answers
7k views

How to tag source code using gitlabCI

We got gitlab new to our environment and trying to create some CI CD pipelines using gitlab CI. I have got some better progress with running some maven goals, creating pipelines and archiving ...
0
votes
1answer
426 views

Have Jenkins trigger GitlabCI

Assuming a user initiates a Jenkins job, passing some input parameters. Is there a way, at some point to have the Jenkins job trigger a gitlab-ci, and also pass to it (i.e. the gitlab pipeline) some ...
2
votes
1answer
548 views

Gitlab CI Runner command line doesn't care about --parameters

I'm trying to write a windows batch file to automate the gitlab runner registration : SET /p token=Token ?: gitlab-runner register --locked false --run-untagged true --tag-list java --name foo --...
3
votes
1answer
2k views

GitLab - trigger pipeline to build on specific runner

Scenario Create a new virtual machine with runner installed Trigger a pipeline to run (from another project), which runs on this new virtual machine Do something else, or fail if pipeline above fails ...