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

How to increase gitlab job concurrency on gke kubernetes runner?

I created two gitlab runners through the standard default runner creation UI in gitlab (3 node n1-standard-4 gke cluster). I've been trying to increase my gitlab runner to handle more than the default 4 concurrent jobs, but for some reason the limit…
1
vote
0 answers

There is no result after auto-deploy an app using GitLab CI/CD on Ubuntu

In my laptop with npm run serve can load my Vue app on http://localhost:8080 so i initialized git and push the app into a new Gitlab repository then created Dockerfile as below: FROM node:12.18.3 AS build-stage WORKDIR /app COPY package*.json . RUN…
1
vote
1 answer

Unable to run Cypress Test with Gitlab CI

I am integrating Cypress Test with Gitlab CI. But when I am running the pipeline, I came up with these issues. Please find the screenshot below and help me with the possible solution for this.
1
vote
1 answer

GitLab Runner - Docker Image

I started to work with GitLab CI/CD. I have setup my own GitLab-runner with docker executor. It is working fine. When I read about docker, I came to know that it creates a separate space for each run so that we could even access it and use it. I…
vbrin27
  • 723
  • 1
  • 6
  • 25
1
vote
1 answer

Passing IAM Role to Docker container for Terraform

I have an EC2 instance running Docker with GitLab Runner that will create containers for jobs. These containers are usually built from the gitlab-terraform registry image. I'm using Terraform containers to create EC2 infrastructure via the GitLab…
Fares
  • 893
  • 1
  • 11
  • 24
1
vote
0 answers

Workflow CICD gitlab for ios/android flutter app with fastlane and match

I'm trying to use the gitlab CICD for a flutter app on ios and android platforms. I am using fastlane and match. I don't want to use appcenter. Just to build and deploy to stores directly. Can someone help me with the workflow in the .gitlab-ci.yml…
1
vote
1 answer

Gitlab Maven Repository upload jar error when try do download it from pipeline

I made a maven project saved into a gitlab project (PROJECT_A). With pipeline I publish this project into a gitlab maven repository. Here the settings.xml file
Dennis A. Boanini
  • 477
  • 1
  • 5
  • 19
1
vote
0 answers

Jest-Puppeteer testing on GitLab CI with : TypeError: Cannot read property 'close' of undefined

I'm running an e2e test for testing a Google Chrome extension on GitLab CI, using Jest and Puppeteer. The tests pass during development on my local machine, but when I implement it using GitLab CI, it gives the error TypeError: Cannot read property…
1
vote
2 answers

gitlab ci can not find docker buildx command with shell executor

I have some troubles getting my gitlab-runner to execute docker buildx command. I have a gitlab-runner which is configured like this: [[runners]] name = "Name" url = "https://gitlab.mypage.com/" token = "token" executor = "shell" shell =…
Silvester Schn.
  • 144
  • 1
  • 2
  • 13
1
vote
0 answers

Passing proxy variables to machine using docker-machine

I'm currently trying to setup Gitlab-runner with Docker-machine executor in AWS behind a proxy. Somehow docker-machine can not properly connect to the spawned machines. Here is what i get: ubuntu@ip-42-1-0-44:~$ sudo -i docker-machine ls NAME …
1
vote
0 answers

How to add ip allias to GKE + GitLab Runner?

I deployed Heml Chart gitlab/gitlab on GKE helm install gitlab gitlab/gitlab \ --set global.hosts.domain=**my.domain.tld** \ --set certmanager-issuer.email=me@example.com then integrated GKE with GitLab. Integration succeed But automatically…
1
vote
1 answer

How to start newly built docker image when deploying?

I've created a gitlab-ci.yml pipeline to deploy a simple react.js application. I installed the gitlab-runner on EC2 (AWS) and inside my pipeline I build the image and push it to the registry. This is my gitlab-ci.yml file: image:…
1
vote
0 answers

Setting up CI/CD for .NET Core in Docker?

I'm new to CI/CD on Gitlab and would like some help filling in the gaps for setting up a pipeline for a Visual Studio solution containing multiple .NET Core projects. I'm hoping for a process something like this: Pass in a PROJECT_NAME variable to…
1
vote
1 answer

How to fetch the target branch in GitlabCI runner when doing merge request?

I encountered a problem about GitlabCI and I was hoping someone could help me with that. The thing is, I want to run a shell script that compare the source branch & target branch in GitlabCI runner when the job is triggered. The .gitlab-ci.yml will…
1
vote
1 answer

VirtualBox executer fails with “prepare environment: Process exited with status 1”

I registered the VirtualBox CI runner using gitlab-runner register and by choosing virtualbox as an executor. However, if I start the runner pipeline in Gitlab, it fails with the following error: What would be causing this error and how to fix…