Category "gitlab-ci"

How to run Gitlab-CI pipelines only branch and tag?

I just want to run pipelines when tagged from main branch. I tried using workflow but it doesn't work. This is my .gitlab-ci.yml file. workflow: rules: -

Docker compose dind deploy to GitLab Registry

I am working on MS Blazor server two projects solution (Core 6) and GitLab. docker-compose.yml file: version: '3.4' services: admin: image: ${DOCKER_RE

Error in gitlab-ci when trying to use hashicorp/dir/template module

I'm getting the error that base_dir is an invalid argument. But according to the documentation on the hashicorp repo, it's a required string. Here's my main.tf:

Get method names and lines from git commit - python

I am wondering if there is a way to get the list of method names that are modified along with modified lines and file path from git commit or if there are any b

What change to my gitlab-ci.yml is required to get past the errors (only default export is available...)

I'm not able to find many postings on this error on GitLab running my gitlab-ci.yml file. These are the 2 dominant error loggings I see in the 3k lines of debug

Generate env specific properties file in gitlab-ci.yml for gitlab runner

I need to automate the CI/CD pipeline for an SpringBoot application. This application has application.properties file which contains few obvious env specific pr

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