gitlab-ci-runner Questions

3

I would like to know how to generate artifacts for failed builds in gitlab continuous integration, to view the html report generated by the build. I tried like this: artifacts: when: on_failure...
Capricorn asked 28/9, 2016 at 12:19

4

Is it possible to run a pipeline thanks to Gitlab CI/CD after a branch is deleted. In fact I want to edit file after that branch is removed. For example, I have two repositories, R1 and R2. In R1 I...
Phlegethon asked 7/9, 2020 at 14:2

3

My gitlab-runner service is not running no matter what I do. I used to have same problem before and when I used to update, and it used to start running but now it’s not starting at all. I have un...
Nickolai asked 24/5, 2020 at 7:59

6

I have a mvn project which must be build as an non-root user but by default gitlab-ci allows runners to run as root user. I'm using gitlab.com runners by setting up gitlab-ci.yml file. I tried crea...
Canton asked 2/2, 2018 at 5:45

2

Solved

I use Gitlab for doing Continuous Integration and Development and all of a sudden I get this error message "There has been a runner system failure, please try again" There's no real error messag...
Tania asked 21/5, 2020 at 16:27

2

Solved

Is there a way fail my entire pipeline if the user triggered the pipeline and didn't set a variable called options with a value? I've tried things like only and rules but they just skip the job ins...
Switchblade asked 6/7, 2020 at 15:21

6

I'm trying to set up a gitlab ci pipeline for a python project and I'm having some issues with sonarqube client which is not able to pars the coverage.xml file The error I'm getting is the follow...
Virgel asked 26/7, 2019 at 12:33

3

I am new to docker and jenkins. However ultimately I am creating a job in jenkins so that I can delete the volume cache of gitlab-runner which is stored in our linux machines (CentOS7) To achieve t...
Embitter asked 24/2, 2021 at 6:15

13

Solved

I have GitLab & GitLab CI set up to host and test some of my private repos. For my composer modules under this system, I have Satis set up to resolve my private packages. Obviously these priva...

8

Solved

When a non-owner dev pushes a branch to our Gitlab repo, it returns a "pipeline failed" message, with the detail "Pipeline failed due to the user not being verified". On the dev...

1

I am a beginner and this is the first time I am building a CI/CD pipeline for my maven java selenium project and trying to run the pipeline locally by installing a runner in my local machine. Every...

6

I hosts my repository with gitlab.com and I install runner in the DigitalOcean. It ran fine until today 16March2019 14:24 Thailand time. # gitlab-runner status Runtime platform arch=amd64 os=linux...
Elate asked 16/3, 2019 at 7:30

8

Solved

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 ...
Shotten asked 12/10, 2016 at 19:18

9

Solved

I created a custom docker image and push it to docker hub but when I run it in CI/CD it gives me this error. exec /usr/bin/sh: exec format error Where : Dockerfile FROM ubuntu:20.04 RUN apt-get upd...
Disentomb asked 9/8, 2022 at 1:26

4

Solved

Is it possible to invalidate or clear a pipeline cache with the Gitlab CI after a pipeline completes? My .gitlab-ci.yml file has the following global cache definition cache: key: "%CI_PIPELIN...
Prognostication asked 26/1, 2018 at 21:18

4

I've been trying to initiate my pipeline on gitlab CI/CD for a demo project. I've installed gitlab-runner in my windows local machine and gave the executor type as "Shell". And I've succe...
Beverly asked 24/6, 2021 at 3:28

12

How do I run a .gitlab-ci.yml job only on a tagged Master branch? job: script: - echo "Do something" only: - master - tags The above code will run if either condition exists: a Master branc...
Server asked 14/3, 2017 at 20:31

2

I have a on-prem gitlab where I am trying to run some builds/pipeline but getting the below error - fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.systems/testing/test-project-poc...
Bushelman asked 5/10, 2020 at 13:42

4

Solved

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: - apt-get updat...
Conchitaconchobar asked 30/5, 2017 at 8:26

3

I wanted to send an email when schedule pipeline is failed. I have configure Project -> Settings -> Integrations -> Pipelines emails but these are sending emails for all the pipelines. I...
Jaclyn asked 15/3, 2019 at 8:59

10

Solved

I have registered a personal GitLab runner several months ago, which I no longer use. How do I completely delete it so that it does not show up on my GitLab CI/CD settings page?
Diminish asked 13/3, 2021 at 16:40

2

Solved

I have a GitLab project that utilises GitLab CI. The project also uses submodules, both the project and it's submodules are under the same GitLab account. Here is my .gitmodules file [submodule "...
Tramel asked 17/2, 2018 at 20:8

8

We recently started to use GitLab-CI on the gitlab.com free service. At first everything went fine, but now, seems like we can't build our project anymore. The builds are shown as pending and doesn...
Cabriolet asked 6/1, 2016 at 4:55

12

Solved

How can we configure gitlab to keep only the last 10 CI jobs/builds and keep deleting the rest? For example , in Jenkins , we can configure the job to keep only last X builds.
Simmers asked 17/11, 2018 at 21:5

5

Solved

I am very new to Gitlab CI/CD and I have read its documentation very carefully about creating a new CI/CD process using .gitlab-ci.yml file. As I have found out in order to have Continuous Deployme...

© 2022 - 2024 — McMap. All rights reserved.