Category "gitlab"

Continue running scripts even after exit code 1

I'm trying to run Cypress test in Gitlab. Below is the sample script. After executing 'npm run Cypress', if there is any test case fail, it exits with 'exit cod

download artifacts between pipelines in the same project Gitlab ci

I am currently running 2 jobs. One running some test unit which generate a coverage.xml file from php based project and another which launch a sonarqube analysi

Unable to pass variable to downstream pipeline on GitLab CI

For over a week I've been fighting with passing a variables between jobs in multi-project pipeline in GitLab CI and got lots of weird errors. The mechanism look

How do I have permission to use git push in gitlab ci?

CI_JOB_TOKEN has only read-only access to repository, and I am able to have write access to the repository using the gitlab personal access token, but I need to

Gitlab continuous integration across multiple repos

I have a project, based on buildroot, which is composed of two repos: Buildroot root, let's say project A Our packages, project B We host a Gitlab server, and I

How can GitLab Bot accounts use the dependency proxy?

We've recently adopted the GitLab dependency proxy for our project on a self-hosted GitLab instance. This works fine for normal users, but fails for pipelines c

jq: command not found in GitLab CI file

In .gitlab-ci.yml stages: - test-jq test-jq: stage: test-jq image: ruby:2.5 script: - apt-get update - apt-get install

SAST job fails + GitLab + Spring boot + Maven

I have a multi-module maven Spring Boot project. During the Test pipeline stage, I get the below error. The specified user settings file does not exist: /build

Command not found on gitlab ci using cat

I have a Gitlab job in which I get a value from a .txt file. This value (v100322.1) was written into the text file in a previous stage and passing by to the job

Are there some rebase best practices with multiple pushes?

I started a new job at the beginning of the year, whose git practices are different than what I am used to, and I keep running into problems. The documented pro

Unable to get inherited gitlab CI/CD variables

I would like to create a variable for all of my project located under a group. I create a variable in this group I go under a subgroup and check for CI/CD vars

Issue cannot be found when trying to add existing issue to epic

I am trying to add issue to epic. Here I found documentation: https://docs.gitlab.com/ee/user/group/epics/manage_epics.html#add-an-existing-issue-to-an-epic but

Gitlab Kubernetes Agent behind Nginx Reverse Proxy

Dear friendly developer, I am trying to register a Gitlab Kubernetes Agent inside a Minikube with a self hosted Gitlab instance. The Gitlab instance is a docker

Where on GitLab.com do I find the pipeline error logs?

I've been working on getting a .gitlab-ci.yml pipeline to work but cannot find where the logs go. GitLab.com message tells me npm ERR! /root/.npm/_logs/2022

Gitlab CI: why do I get an error when I try to define the pages stage?

I'm trying to publish a create-react-app on Gitlab, using its CI. This is my .gitlab-ci.yml file: stages: - build - pages build: image: node:16 stage:

SSH keys for Docker executor

I have created an image where I run some tasks. I want to be able to push some files to a remote server that runs Windows Server 2022. The gitlab-runner runs on

Download Android .apk from Firebase (APP Distribution) with Gitlab, to run e2e automated tests

We are looking for a way to download from Gitlab an Android .apk that was distributed via Firebase and is located in the (APP Distribution) section, to upload i

Review of gitlab CI using yml

Hi I am using the following gitlab yml file for setting up my pipeline. The project is a maven Java project. But I am not able to run all the steps successfully

using semantic-release to update version strings in release and via commit for non-npm project

I am developing a handful of WordPress projects on Gitlab and I would like to use semantic-release to automatically manage releases. To that end I'm trying to a

Artifacts are not pulled in a child pipeline

This is my gitlab ci config. In the build stage the application is build in the distfolder, which is stored as an artifact. The next deploy stage is a trigger t