So I am trying to make my pipeline work, but I keep getting stuck. I have a docker runner for my git-ci.yml file I do this because my deploy stage errors with shell runners (but my build, test and sonarqube stage do work with the shell runner) **git-ci.yml** image: docker:latest stages: – build – sonarqube-check ..
The executor for the project gitlab-runner is docker. I try to run docker-in-docker and I get the following Error from pipeline: ERROR: Job failed (system failure): Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: resulting devices cgroup doesn’t ..
Currently, I am testing some self-made piplines on my gitlab-runner and all works fine, until it gets to the part where it needs my Cisco CML server. When I run the following: gitlab-runner –debug exec docker myjob The following error is thrown: Please enter the IP / hostname of your virl server: Please enter the ..
I have stored variables in My Gitlab project i would like to pass this variables so when i build the nuxtjs app all the vars should be available like Google API keys Firebase credentials ….. This is my files: Dockerfile FROM node:12.13.0-alpine RUN mkdir -p /usr/src/project-name WORKDIR /usr/src/project-name RUN apk update && apk upgrade RUN ..
I want to use ECR registry as a registry mirror with gitlab-runner. How can I pass ECR registry url as registry mirror while register the runner? I have setup the login of ECR from my instance and able to push images to ECR directly so login/auth is not the issue here. Thanks. Source: Docker..
I am new to Devops and I am trying to build a Docker image in a self-hosted gitlab instance. I have installed Gitlab from Docker image, I have installed gitlab-runner from Docker image and I can see the runner inside Gitlab and I have configured it for a certain project, I created a gitlab-ci.yml file ..
I created an image from the docker image named pskp95/gitlab_runner_image:1.2 and using that image I am running the ci pipeline in gitlab. pipeline is using docker+machine runner Pipeline image: pskp95/gitlab_runner_image:1.2 stages: – test test: stage: test services: – name: docker:dind script: – export PORT=8080 – docker-compose up -d – pytest -v but running container is ..
I deployed gitlab shell executor on raspberry pi. and I have local setup on pi like docker. I want to run pipeline which uses docker. .gitlab-ci.yml stages: – build – test build: stage: build script: – docker -v – docker build . -t pskp:latest-1 test: stage: test script: – ls – echo $PATH But I ..
Trying to run a python script inside gitlab ci, (docker container running ubuntu18:04). My script is working perfectly fine on host using the same directory structure. However, inside the docker container I’m getting CMake errors. + echo ‘cmake_flags: -DCMAKE_BUILD_TYPE=Release -DCS_TARGET_SYSTEM=amd64.linux -DCMAKE_TOOLCHAIN_FILE=************’ cmake_flags: -DCMAKE_BUILD_TYPE=Release -DCS_TARGET_SYSTEM=amd64.linux -DCMAKE_TOOLCHAIN_FILE=************ + mkdir -p build/amd64 + cmake -G ‘Unix Makefiles’ -H/tmp/app_dir ..
I have a project on gitlab that uses a custom CI/CD directory like so: my-project/ ├─ .ci/ │ ├─ gitlab-ci.yml │ ├─ local-ci.sh ├─ .git/ ├─ my-project/ ├─ tests/ Where local-ci.sh is a script that invokes gitlab-runner on the pipeline in gitlab-ci.yml. On gitlab you can identify a custom path for the gitlab-ci.yml file, so ..