GitLab-CI Multi Runner php composer cache

I'm using gitlab-ci-multi-runner with docker containers. Everything is going fine, but docker containers don't keep the composer cache so in every run composer downloads dependencies again and...

How to avoid reinstalling dependencies for each job in Gitlab CI

I'm using Gitlab CI 8.0 with gitlab-ci-multi-runner 0.6.0. I have a .gitlab-ci.yml file similar to the following: before_script: - npm install server_tests: script: mocha client_tests: ...

Unable to run build for gitlab-ci

Gitlab unable to complete gitlab-ci build for the project. Logs showing it cannot connect to docker endpoint. gitlab-ci-multi-runner 0.7.1 (ee7a001) Using Docker executor with image ruby:2.1 ......

Using a private Docker Image from Gitlab Registry as the base image for CI

How should I authenticate if I want to use an image from the Gitlab Registry as a base image of another CI build? According to...

GitLab CI Pipeline Stage Timeout

I'm using a self-hosted GitLab CI server (community edition v8.9.5) and gitlab-ci-multi-runner 1.2.0 to build a project. One of my pipeline stages (test) takes a while to run and I get the...

How do I enable cloning over SSH for a Gitlab runner?

I am having some trouble cloning large repositories over HTTP on my Windows Gitlab runner. I've tried several methods to do shallow clones or disable clone compression. Still no luck. Cloning the...

gitlab runner The requested URL returned error: 403

I'm currently using gitlab.com (not local installation) with their multi-runner for CI integration. This works great on one of my projects but fails for another. I'm using 2012R2 for my host with...

Gitlab CI runner not able to expose ports of nested Docker containers

When using GitLab CI, as well as the gitlab-ci-multi-runner, I'm unable to get internally-started Docker containers to expose their ports to the "host", which is the Docker image in which the...

Maven not found while using Gitlab-ci-multi-runner

I've been trying to set up GitLab-CI to build Maven Java projects in Raspbian, but whenever It tries to run the build script it fails because it can't find Maven. I used this guide to install the...

Rubygems update fails on strange ruby versions

I'm working on a gem (atd) and I just tried to get gitlab CI to run my tests on all versions of ruby my gem supports (2.2.2 - 2.4.0) including bugfix releases. I had an issue (GitLab CI pipline...

Using docker-compose in a GitLab CI pipeline

I'm trying to implement a GitLab continuous integration (CI) pipeline with the following .gitlab-ci.yml file: image: docker:latest # When using dind, it's wise to use the overlayfs driver for #...

Cannot connect to the daemon docker in a docker image of docker

I am trying to build CI with gitlab, I go from a docker image of docker, and i didn't have any problem with my front repository, but now with the back withe the same gitlab-ci configuration file,...

xcodebuild: error: 'APP.xcworkspace' does not exist

I am trying to set up CI with gitlab. When I try to build locally, I get this error : xcodebuild: error: 'APP.xcworkspace' does not exist. "APP" not being the real name. I am also using...

Gitlab-runner local build - login from non TTY device

I'm trying to build my project locally using gitlab-runner on Linux. docker-build: stage: build image: docker:latest script: - docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN"...

Gitlab-runner with syntax error

I recently used the docker image gitlab/gitlab-runner:9.1.0 in conjunction with a gitlab container to have some CI. An error occurs and similar support requests recommended using a different...

Blackbox on GitLab CI, unable to load GPG private key

I'm trying to use Blackbox to encrypt sensitive files in a repository I'm working with, but I am unable to make the GitLab CI pipeline load the private GPG key required to decrypt the files. At...

GitLab-CI: Cannot link to a non running container

I've tried to get my setup work with gitlab-ci. I have a simple gitlab-ci.yml file build_ubuntu: image: ubuntu:14.04 services: - rikorose/gcc-cmake:gcc-5 stage: build script: -...

Gitlab CI - SSH Permission denied (publickey,password)

I've been trying to setup CD for my project. My Gitlab CI runner and my project will be on same server. I've followed https://docs.gitlab.com/ee/ci/examples/deployment/composer-npm-deploy.html but...

Gitlab-CI runner: ignore self-signed certificate

gitlab-ci-multi-runner register gave me couldn't execute POST against https://xxxx/ci/api/v1/runners/register.json: Post https://xxxx/ci/api/v1/runners/register.json: x509: cannot validate...

Gitlab CI + DinD + MySQL services permission issue

I created two GitLab jobs: Test unit (using a PHP registered docker on GitLab) Sonar (using docker service to run "Letsdeal/docker-sonar-scanner") I use the following gitlab-ci-multi-runner...

How to execute a script located in the runner from the ci-pipeline?

I have a gitlab-runner image as follows: Dockerfile FROM alpine:3.6 RUN apk add --no-cache curl bash COPY trigger-jenkins /usr/local/bin/trigger-jenkins ENTRYPOINT ["/bin/bash"] Its purpose...

Gitlab CI 9.5 service is not running

I am searching a solution since 2 weeks on the web and I really need some help. I am facing 3 problems: Linux Gitlab-runner is not running I have been trying to install gilab-runner with all the...

Gitlab CI Build failed gitlab-runner-prebuilt.tar.xz: no such file or directory

I just installed Gitlab Runner on my dev machine (Ubuntu 17.10) for testing. When I run the runner I got: $: sudo gitlab-runner exec docker test Running with gitlab-ci-multi-runner dev...

Gitlab CI: How to use the bash shell on a Windows runner

From the GitLab CI documentation the bash shell is supported on Windows. Supported systems by different shells: Shells Bash Windows Batch PowerShell Windows ✓ ✓ (default) ✓ In my...

Gitlab-Runner on Kubernetes/Openshift

I'm trying to deploy Gitlab-runner(s) on Openshift/K8S, but can't succeed in having runners communicating with Gitlab (itself deployed in pods on OCP). I followed couple of different instructions...

Gitlab Runner auto CI stuck at downloading

Until now I worked a lot with github/bitbucket and jenkins/bamboo. Right now I'm trying to setup a Gitlab CE server with a private kubernetes cluster. I want to run a hello world project in java...

Failed to create container Gitlab CI docker excutor

registred a new gitlab runner with the following docker image jakzal/phpqa:php7.3-alpine, and the docker executor. This is my gitlab-ci.yml: composer-validate: image:...

How to create a XML report by executing a JAR

I want to develop a stand-alone test-solution delivered as a jar that can be used in a CI/CD environment without being recompiled all the time. Therefore I packed a fat-jar from a...

Does gitlab-ci have a way to download a script and store it on the local file system so it could be run?

Does gitlab-ci have a way to download a script and store it on the local file system so it could be run? Looks like other's have asked similar questions (see below). One way to do it would be to...

Testing gitlab-runner run command in a separate shell?

Context While testing the functions of an installation script that automatically installs and runs GitLab and GitLab runners, I experienced some difficulties running the GitLab runner in the...