gitlab-ci-runner Questions

10

Solved

Im using 2 containers on my Ubuntu OS: Gitlab-ce and gitlab-runner Containers names are: gitlab_gitlab_1 and gitlab_gitlab-runner_1 I access to my gitlab app via gitlab.localhost.com:801 I register...
Bookbinding asked 14/5, 2018 at 8:24

0

I got an error when deploying firebase functions in GitLab. I understand that package.json and firebase.json has to have Unix EOL, which I converted with Notepad++, however that didn't solve any pr...

7

Solved

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 certif...
Trot asked 9/6, 2017 at 12:55

2

Solved

When having one gitlab runner serving multiple projects, it can only run one CI pipeline while the other project pipelines have to queue. Is it possible to make a gitlab runner run pipelines from ...
Modality asked 13/8, 2018 at 18:51

3

Solved

I'm having issues with parsing a build directory between stages using Gitlab-CI. Gitlab-CI wipes the created build artifacts between stages which seems weird. I'm trying to store the build artifa...
Subroutine asked 15/9, 2017 at 14:29

4

Solved

I am new to GitLab CI/CD's and I wonder what my pipeline is doing. The syntax is correct but the job keeps failing, but I don't know why and would like to check the trace. When viewing the job trac...
Assize asked 17/8, 2021 at 9:5

2

I wonder if it is possible to perform some operations before the repository is cloned. Indeed, as far as I know, gitlab-ci runner first action is to clone the repository to be built before any scri...
Spancel asked 13/10, 2016 at 20:40

4

(I can see there are many questions about this but I haven't found one that solves my exact problem). I'm running gitlab-ci and when the runner checks out my code it does so as a detached head. He...
Blenheim asked 7/11, 2017 at 9:21

3

I am trying to pass the variable to parallel/matrix and do not see that getting expanded and the job failing. This is being set in the job from the environment variable. I am trying to echo the var...
Decidua asked 25/2, 2022 at 7:45

3

In the setup that I have, there are two repositories in GitLab, one of which has a version file that the other needs for naming the artifact produced by its CI/CD pipeline. Right now, I'm just clo...
Prevaricator asked 21/2, 2019 at 16:18

2

I think I'm fundamentally missing something. I'm new to CI/CD and trying to set up my first pipeline ever with gitlab. The project is a pre-existing PHP project. I don't want to clean it up just ...
Propjet asked 14/11, 2017 at 8:45

8

Solved

I registered 11 projects of GitLab runner. Runners of each project work fine except 1 project. First time I registered runner of this project, it works. But after I commit/push some changes, an err...
Mapping asked 19/6, 2019 at 8:19

3

Solved

I am using Gitlab for repository and ci/cd. Currently trying to set up pipeline that creates a docker image from a build stage. All examples I have seen have a simple naming of image where e.g. the...
Diez asked 19/7, 2018 at 21:5

5

Solved

I am trying to configure my gitlab-ci to use yarn install instead of npm install My current gitlab-ci.yml looks like: image: node:6.9.4 cache: paths: - node_modules/ - .yarn before_script: ...
Sagitta asked 2/3, 2017 at 23:47

5

Solved

GitLab's running in kubernetes cluster. Runner can't build docker image with build artifacts. I've already tried several approaches to fix this, but no luck. Here are some configs snippets: .gitla...
Windlass asked 17/3, 2017 at 21:2

6

Well, very basic question but I just didn't find (good) documentation; here we go: Can I setup/run several runners on the same server? What means runner? Is this the (omnibus) installation or the...
Decoy asked 9/3, 2015 at 15:15

2

Solved

I'm trying to use docker command inside container. i use this command to mount /var/run/docker.sock and run container docker run -d --name gitlab-runner --restart always \ -v /var/run/docker.soc...
Amadis asked 23/3, 2019 at 15:47

2

Solved

Right now, anyone that creates a branch in my project and adds a .gitlab-ci.yml file to it, can execute commands on my server using the runner. How can I make it so that only masters or owners can ...
Etiolate asked 30/8, 2016 at 17:13

5

Solved

When I try to install gitlab runner I get the error message below: Microsoft Windows (Version 18618362778) (c) 2019 Microsoft Corporation. All rights reserved. C:\gitlab runner>gitlab-runner.e...
Yahairayahata asked 19/4, 2020 at 19:49

2

Solved

How the gitlab-ci cache is working on docker runner? What is /cache directory? What is cache_dir? Where and how files matching the "paths" in "cache" gitlab-ci.yml are stored?
Coheman asked 24/2, 2019 at 19:6

4

I'm have a Gitlab cloud connected to a k8s cluster running on Google (GKE). The cluster was created via Gitlab cloud. I want to customise the config.toml because I want to fix the cache on k8s as ...
Counteraccusation asked 15/2, 2019 at 10:43

3

Im working on adding code quality to gitlab. one of the step requires making changes to config.toml. I have .gitlab-ci.yml at root level of project repository.and pipeline picks up this file. where...
Ronen asked 18/8, 2021 at 10:31

2

Solved

I want to create some nested conditions: i need this pipeline to work when it is a merge or merge request and with certain name start "feature". So, is there an AND condition in the 'only...
Atonsah asked 22/4, 2021 at 19:4

2

I am using gitlab community edition 14.4.1 along with one single gitlab runner with version 14.4.0. Its configuration reads as follows: concurrent = 1 check_interval = 0 [session_server] session_...
Currycomb asked 23/11, 2021 at 5:34

1

Solved

The documentation specifies how to set tags on the job side so it only runs on runners equipped with the right tags: osx job: stage: build tags: - osx script: - echo "Hello, $USER!" ...
Guacin asked 20/4, 2023 at 8:36

© 2022 - 2024 — McMap. All rights reserved.