gitlab-ci Questions

4

Solved

I got some problems with a detached head for my repository in a CI pipeline. In the build stage of the pipeline I am running a script, which changes a specific file. After changing this file get pu...
Volturno asked 21/9, 2021 at 10:4

11

Solved

I have a private repository at gitlab.com that uses the CI feature. Some of the CI jobs create artifacts files that are stored. I just implemented that the artifacts are deleted automatically after...
Pleiades asked 28/2, 2017 at 15:28

2

Is there a way to add a need in order for a job to run? Or is there a specific way to add a condition if you're on a specific branch, please add this job as a dependency? So far I have a "need...
Teishateixeira asked 18/7, 2022 at 23:1

4

I created a trigger (using settings/ci_cd page). The instructions below the trigger tell me to call it using version 3 API (of course, I set the token variable to the token stated under the trigger...
Angelia asked 12/3, 2017 at 11:8

3

Do you know if GitLab have any permalink for download LATEST Release (zip format) from my repositories? Gitlab's documentations and issues is confused about this simple functionality..
Chantellechanter asked 8/8, 2019 at 17:6

18

Solved

I want to copy data with scp in a GitLab pipeline using PRIVATE_KEY. The error is: kex_exchange_identification: read: Connection reset by peer Connection reset by x.x.x.x port 22 lost connection P...
Extravert asked 30/9, 2021 at 14:28

2

Solved

As several other users, I'm facing issues with duplicate pipelines in GitLab CI/CD. While there is some documentation on how to prevent this scattered around in the GitLab docs, my impression is th...
Limburg asked 9/12, 2021 at 13:33

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

5

Solved

I'm using Gitlab CI, and so have been working on a fairly complex .gitlab-ci.yml file. The file has an after_script section which runs when the main task is complete, or the main task has failed so...
Diatropism asked 17/4, 2018 at 0:14

5

I'm trying to download and install Cypress within GitLab CI runner and getting this error output: The cypress npm package is installed, but the Cypress binary is missing. We expected the binary to...
Scriptwriter asked 11/6, 2020 at 7:58

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

2

Solved

I have a job in a GitLab CI pipeline that I want to temporarily disable because it is not working. My test suites are running locally but not inside docker, so until I figure that out I want to ski...
Democritus asked 9/2, 2021 at 9:54

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

6

Solved

So I have a react/typescript app in my repo that I'm working on and in my repo I have a .env file that I'm ignoring so that my secrets don't get exposed and a .env-example file of important environ...

5

The internet is full of complains about Gitlab not caching, but in my case I think, that Gitlab CI indeed caches correctly. The thing is, that npm seems to install everything again anyway. cache:...
Mini asked 26/3, 2019 at 14:37

3

I can't find out why the GitLab CI Pipelines for my Repo won't run. I have a .gitlab-ci.yml file and the feature enabled, but the pipeline won't run. Also if I try to trigger the pipeline manually ...
Coastline asked 30/1, 2023 at 14:47

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

6

Solved

tl;dr How do I pass data, e.g. the $BUILD_VERSION variable, between jobs in different pipelines in Gitlab CI? So (in my case) this: Pipeline 1 on push ect. Pipeline 2 after merge `building` job ....
Mm asked 29/6, 2021 at 13:22

3

Since gitlab limited free tier minutes on gitlab CI/CD. I would like to disable auto start for my pipeline after commit. I would like to run pipeline only manually by click in gitlab interface. How...
Settler asked 7/11, 2020 at 8:42

3

Solved

Currently, I'm duplicating the information about skip-ci in every single job, like so job1: except: variables: - $CI_COMMIT_MESSAGE =~ /skip-ci/ ... job2: except: variables: - $CI_COMMIT_MES...
Nonillion asked 31/1, 2021 at 18:24

21

Solved

I use GitLab on their servers. I would like to download my latest built artifacts (build via GitLab CI) via the API like this: curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "ht...
Kinswoman asked 18/9, 2016 at 16:1

© 2022 - 2024 — McMap. All rights reserved.