gitlab-ci-runner Questions

2

When running dotnet test inside a gitlab cicd pipeline with the package testcontainer, containers are started but this error appears : Error Message: Docker.DotNet.DockerApiException : Docker API ...

3

Solved

I want to tag a build and when trying to push the tags I get the below error in CI How to create a CI token and set in the build environment which can push tags to the repository. [01:59:14]: Exit ...
Thamos asked 19/9, 2020 at 13:59

6

Solved

I have a gitlab-ci integration that require a sonar analysis and if the quality gates pass, to build a docker image. Is this possible using gitlab-ci ?

4

Solved

Gitlab CI keeps ignoring the sql-files in /docker-entrypoint-initdb.d/* in this project. here is docker-compose.yml: version: '3.6' services: testdb: image: postgres:11 container_name: lbsn-...
Deen asked 8/5, 2019 at 17:20

2

Solved

We know that, by default, gitlab ci runners uses set -o pipefail, as explained in coderwall.com this particular option sets the exit code of a pipeline to that of the rightmost command to exit with...
Moulding asked 8/1, 2019 at 9:12

5

Is there any way to get an id of the project via GitLab API . I created a project using GitLab API providing the project name - curl -kX POST --header "PRIVATE-TOKEN: <access_token>" https...
Daedalus asked 15/2, 2019 at 21:6

4

Solved

I’m unable to update my Gitlab-runner install due to bad keys being detected. Is this a Gitlab update issue or something gone wrong on my system? Update and install was working without problems in ...
Yeasty asked 22/3 at 7:49

1

I have several jobs that runs in the same stage sequentially. However in the GitLab UI the display order is as per job names (ascending order). Job_C: stage: dev Job_B: stage: dev needs: [&quot...
Fawcette asked 1/2, 2023 at 16:2

3

I've been trying to get more familiar with GitLab's CI functionality and find the idea of splitting up a CI pipeline into multiple separate jobs interesting. This would allow me to maintain one pro...

5

Solved

We've been using Gitlab CI for some months, and in the last 1 week, we've been using the specific runner installed on a VPS. Currently, we are using "shell" as the executor. Today our pipeline got...
Newark asked 29/1, 2018 at 7:5

2

Solved

Q1: Whats the difference between concurrent = 3 [[runners]] .. executor = "shell" and concurrent = 3 [[runners]] ... executor = "shell" [[runners]] ... executor = &quo...
Psychodiagnostics asked 5/2, 2019 at 12:24

13

Solved

recently my runners have been stopped and I don't know why? I've just upgraded nodejs on the server and it did happen. after this problem, I've tried to update gitlab to the latest version and ch...
Chaim asked 25/6, 2017 at 12:26

5

I want to install a gitlab-runner (executor shaell) on my Windows 10 box. I start the job on the gitlab server and it always ends up with the message the command "git" cannot be found (roughly tran...
Charybdis asked 15/9, 2017 at 15:4

6

Solved

I looked at any other questions but can't find my own solution! I setting up a CI in gitlab and use the gitlab's shared runner. In build stage I used docker image as base image but when i use docke...
Patric asked 29/12, 2018 at 10:35

1

Docker supports a --cpus option which constrains a container to using a certain proportion of the host's computing resource. For example, --cpus 2.5 will allocate computing resource equivalent to a...
Fletcherfletcherism asked 13/12, 2021 at 22:5

5

Solved

I am new to GitLab and facing a problem where if I trigger two pipelines at the same time on same gitlab-runner, they both run in parallel and results in failure. What I want is to limit the run to...
Amaras asked 1/4, 2020 at 7:18

3

Trying to transform a project in gitlab to docker image. The gitlab is selfhosted. This is the error I get: Running with gitlab-runner 13.12.0 (7a6612da) on test -KnwQXuT Preparing the "docker...
Thalia asked 22/6, 2021 at 9:39

8

Solved

Even though all my steps pass successfully , Gitlab CI shows this - "Cleaning up file based variables 00:01 ERROR: Job failed: exit code 1" and fails the job at the very end . Also intere...
Despondent asked 22/12, 2020 at 16:18

15

I've enabled the option - Settings/General/Merge Requests/Merge Checks - Pipelines must succeed. Since then every merge requests automatically starts execution of the pipeline which is actually wha...
Coralyn asked 12/10, 2020 at 7:21

2

I am running a gitlab-ci job that will fetch locally a file from a remote server, more or less as follows: retrieve_docs: stage: fetch_docs image: debian:jessie script: - ssh $USERNAME@$SERVER...
Sensitize asked 14/11, 2017 at 10:2

4

I'm running a Laravel api on my server, and I wanted to use Gitlab-runner for CD. The first two runs were good, but then I started to see this problem listen_address not defined, session endpoints ...
Bowleg asked 15/5, 2019 at 16:16

6

Here is my gitlab-ci.yml: image: vibraniumcore/gcc-cmake-boost-mysqlcon #image: gitlab/dind stages: - test - build Run Tests: stage: test tags: - c++ script: - mkdir build - cd build - c...
Mcneill asked 8/12, 2021 at 9:44

3

I am trying to run GitLab's job using their shared Runners, I've created a .gitlab-ci.yml and kept it at my project's root, Configured AWS creds as the environment variables - AWS_ACCESS_KEY_ID AW...
Dabber asked 13/6, 2019 at 9:54

2

Jobs on my self-hosted GitLab deployment recently started failing sometimes with this git error: An example of a full job log is: Running with gitlab-runner 13.12.0 (v13.12.0) on ....50ab V... Pre...
Weinert asked 5/10, 2021 at 20:42

3

I was hoping to get some assistance with Gitlab runner instance which throws "Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?" my gitlab-ci.yml:...
Anatomical asked 21/1, 2022 at 19:41

© 2022 - 2024 — McMap. All rights reserved.