Category "continuous-integration"

Expo app cannot see env variable from Github action

We store our configurations on the vault and during the Github action workflow we pull this and intend to use this for the app during build time. This is our wo

first commit in branch

Whith command git rev-list --max-parents=0 HEAD I get first commit in project 37a8bdc19ce1fd41ebfa1611621da3b30e92ff03 With this two I get the same output: gi

Command failed with exit code 134: npm run generate

I'm trying to deploy my nuxt js project to netlify. The installation part works fine, But it returns an error in the build process. I tried to search google but

npm ci passing locally but failed on gitlab

Getting this error during npm ci command, but it is working fine locally (tried removing node_modules and running npm ci to reinstall it, no errors) $ npm ci np

Is it possible to only allow some branches to trigger Github actions?

I was wondering if there were a way to restrict the branches that can trigger an action. Here is my use case. I have a repository that have a workflow. This wor

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.