Category "continuous-integration"

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

Is it possible to enforce via CI that module_a does not import anything from module_b?

I'm maintaining several open source projects and I want to write code at work that nudges people to do the right thing. I have a situation where I see people im

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

Branch and Release flow for distributed teams in a Monorepo

We are trying to move 3 angular apps(using NX workspace) from their own repo to a single repository/monorepo because they can share lot of code and assets from

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

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

Drone IO Difference between when and trigger?

My need is to run drone build when create a new tag in Gitea. I can see two options there in Drone documentation. Please find below: When when: event: tag

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:

How to run CLI migrations in a Continous Integration pipeline on a private database on AWS RDS

I am currently using a tool that allows you to apply database migrations only using a CLI (Prisma). My database is in a private network in AWS. To do it manuall

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

How to build DocC documentation from CLI

So I have been browsing the web for a while now and can't seem to find an answer on how to build the native DocC Xcode documentation using a CLI command. Both t

How to scanning path in docker image from BlackDuck scanning

I'm using BlackDuck scanning use script detect.sh from Synopsys to scan docker image but I don't know how to scan path in docker image. My setting below: ./dete

How to build a REACT Native app automatically using GitLab

I am looking for a way to build the APK of my React Native App automatically using a GitLab pipeline, I can't seem to find a solution on the web that does not u

Treating warnings as errors because process.env.CI = true. Failed to compile

I am working on a react-weather application for self learning purpose. Deployed the same in gh-pages. URL https://davisraimon.github.io/react-weather/ Repo ht

Prevent fast lane from checking App Store latest build number and increasing it

When I set a build number in my Xcode project lower than the latest uploaded build. Fastlane changes build number for the produced build and set it to latest+1.

Gitlab: Is there a way to limit the concurrency jobs in Gitlab by number?

I have a Gitlab Runner running on Kubernetes. I see there are options to limit concurrent jobs from the runner level, but it would be preferable if we could do

TeamCity / Bitbucket Server pull request with multiple VCS roots

I am using TeamCity Enterprise 2021.2 (build 99542) and Bitbucket Server v7.14.0. I have a build configuration in Teamcity with 3 VCS roots: Repo1, Repo2, and R

I am using Azure Devops to build and push my Docker image. How can I pass arguments while doing buildAndPush using Docker task?

I have created a pipeline to build a Docker image and push it to my container registry. I am using Docker task for doing this (buildAndPush command). Here is a

Azure multistage pipelines: conditionally skip one stage but not the next

I have an Azure multi-stage CI/CD pipeline. It has stages for Test and UAT deployment. I want the UAT release to run if Test succeeds or is skipped, but not if

Github PR triggers multiple Jenkins jobs but reports only the state of the last job

I currently have GitHub connected to Jenkins and for every pull request, GitHub triggers a Jenkins job which seems to work fine. I am extending this to trigger