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
0 answers

Gitlab-CI cannot connect to services on windows based containers

I'm currently migrating our CI/CD pipeline from a Bitbucket/Jenkins environment to hosted GitLab with additional custom gitlab-ci runners. So far anything seems fine, except when it comes down to services, especially regarding MSSQL server. I've…
Lukas
  • 156
  • 11
1
vote
1 answer

what is the meaning of a colon in a list value in a yaml file, specifically :image of the stage build:image in a .gitlab-ci.yml file

Is the list value build:image just a name like build_image? Or does it have special usage in either the yaml file or the .gitlab-ci.yml file? If there isn't a special usage, what is the value of using name1:name2 instead of name1_name2? The :image…
maogenc
  • 203
  • 7
  • 13
1
vote
1 answer

gitlab-ci with docker executor: maven cannot retrieve scmbranch, buildScmBranch: UNKNOWN

I use Gitlab-ci with a docker as an executor to build my maven project. I use buildnumber-maven-plugin v1.4 to retrieve git information like this:
medkhelifi
  • 1,071
  • 3
  • 17
  • 35
1
vote
1 answer

Gitlab CI shared runner won't start

I'm trying to use Gitlab.com shared runner, and I have added my gitlab-ci.yml file into my repo. My project is configured to use Shared Runners (in Settings ➔ CI/CD), but the pipeline page does not show any job when I push commits. I tried to…
Thilak Rao
  • 1,841
  • 2
  • 19
  • 26
1
vote
1 answer

Gitlab CI runners connection to Kubernetes cluster in private AWS subnet

I'm going to set up the Gitlab CI pipeline to deploy containers in AWS EKS cluster deployed in private AWS subnets. For sure I'd prefer Gitlab SaaS server, so it's managed by the Gitlab team and I shouldn't care about its maintenance. However, I…
jumpy
  • 317
  • 1
  • 12
1
vote
1 answer

How to use Git command in GitLab-runner?

I’m new to the GitLab CI/CD. I’m having a problem with the continous integration. This is my config.toml concurrent = 1 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "runner-pc" url = "https://gitlab.com/" …
the moon
  • 29
  • 2
  • 9
1
vote
0 answers

Connection error with Docker Swarm in Gitlab Runner - half bare - half containers

I'm trying to use Docker Swarm with a Gitlab Runner to roll out deployments on 5-6 servers. The swarm atm consists of 1 manager (call it M1), 2 workers (W1 and W2). My Gitlab Runner is using a docker executor with a docker in docker image. When a…
bbbbbb
  • 116
  • 6
1
vote
1 answer

How to organize my git repository with dependencies?

I am using a self-hosted GitLab instance with several Python projects. All of these projects now have a pipeline which execute several Py linters and static analyzers. The gitlab runners have python3 installed, including the required…
Daniel Stephens
  • 2,371
  • 8
  • 34
  • 86
1
vote
0 answers

The pipelines in Gitlab fail due cache in gitlab-runner of type Docker Executor

I have been pushing branches at the project in Gitlab. And it is a project shared. Before, the pipelines were working correctly. Suddenly, anyone new branch or anyone push of the same branches begin to fail. Locally, it works fine. I want to…
rubenesda
  • 21
  • 1
  • 2
1
vote
1 answer

Gitlab not show JUnit test summary for dotnet

I try to configure the JUnit test reports for a dotnet project. I would like to view the test summary in Gitlab. An example project is given in the official documentation. I use the windows gitlab runner. But i never see some test summary on my…
live2
  • 3,771
  • 2
  • 37
  • 46
1
vote
1 answer

What version of the gitlab-runner herm chart matches with GitLab version 10.8.7-ee?

I want to install the GitLab runner version 10.8.7 so that it matches the same version as the GitLab installation that I'm using. I tried to figure out the helm chart version with the following command: helm search repo -l gitlab/gitlab-runner NAME…
RubenLaguna
  • 21,435
  • 13
  • 113
  • 151
1
vote
0 answers

Git Lab CI/CD for web app running in windows serer(VM) IIS

I created git lab runners in the server and added yaml CI file in the repo similar to this Link but not working anyone worked on this ?
1
vote
1 answer

Run docker commands from gitlab-ci

I have this gitlab-ci file: services: - docker:18.09.7-dind variables: SONAR_TOKEN: "$PROJECT_SONAR_TOKEN" GIT_DEPTH: 0 MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode" MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository" DOCKER_HOST:…
1
vote
1 answer

How to check if runner is currently running a job using jobs API

I would like to check which runners are currently running jobs but i fail to find anything that would give me this information using API. I know which ones are active and can take jobs but not the ones that are actually running them at the current…
Marcin
  • 510
  • 6
  • 22
1
vote
2 answers

How can I securely push from a GitLab Runner KubernetesExecutor pod to a private container registry?

Goal Build a CI/CD pipeline multiple GitLab repositories with a certain project structure can make use of. For this, a Docker container with Python code is built and subsequently securely pushed to Google Cloud's Container Registry. Set…
1 2 3
99
100