Category "gitlab-ci"

How to send a mail from gitlab after any activity?

We are using gitlab for CI/CD. my colleagues need pipeline, merge request, commit related status. How should I receive the mails from them and how did they rece

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

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

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:

Gitlab CI - Custom variable as a branch in trigger downstream

I would like to use a custom variable as branch inside a trigger downstream stage, but it looks like so far that before_script (when I put the variable assignme

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

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

Gitlab pipeline - reports config contains unknown keys: cobertura

I'm not able run the gitlab pipeline due to this error Invalid CI config YAML file jobs:run tests:artifacts:reports config contains unknown keys: cobertura

Use firebase preview channel in gitlab merge request

I am deploying each merge request to the firebase preview channel and I would like to add generated URL to either comment below the merge request or use the URL

Configuring Container Registry in gitlab over http

I'm trying to configure Container Registry in gitlab installed on my Ubuntu machine. I have Docker configured over http and it works, added insecure. Gitlab is

How to solve permission problems when using GitLab CI Runner with Docker and non-root user?

I am using a GitLab CI Runner with Docker. My dockerfile looks as follows: FROM node:lts-buster-slim # Install docker dependencies RUN apt-get update RUN apt-g

Gitlab CI/CD Spring boot Mysql sample Build and db connection successful but Junit test failing with Unknown database issue..! (DB exist)

Applying CI/CD With Spring Boot MySQL Gitlab I'm created very basic Spring boot crud application with MySQL, What I need to implement is Gitlab CI pipeline to a

GitLab pipeline with dotnet and node image

I'm creating a GitLab pipeline which should build, test and deploy a dotnet core application with Angular application. So far so good! This project was created