Questions tagged [cicd]

Use for questions related to practices of CICD (Continuous Integration and Continuous Delivery or Continuous Deployment) and its related tools.

2046 questions
3
votes
3 answers

Does "Allow access to this project with a CI_JOB_TOKEN" in GitLab work between private repositories?

I am part of a private group (our team in our department). All underlying projects and subgroups can only be private (this is how GitLab works) and we all have at least Report-level access to those. Not to be confused with the personal namespace for…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161
3
votes
1 answer

GitHub Actions requiring secrets on a fork-origin PR

We have a function code in our organization's GitHub repository that is supposed to get compiled and deployed in an AWS Lambda Function and give emit an expected output. We are trying to implement this as an integration test in CI/CD pipeline using…
Akshay Rane
  • 403
  • 4
  • 13
3
votes
1 answer

GitHub Actions - read choice parameter options values from variable

I'm using the workflow_dispatch option to trigger my workflow and I have a choice input variable. I would like to set the choice variable's options parameter from either an environment variable or a simple variable. Is it possible? The code would…
KatKibo
  • 133
  • 2
  • 9
3
votes
1 answer

Overwriting of environment variables in Dockerfile with passed by `--build-arg`

I am building two docker images, one is a base docker image, and another is a custom image. The custom image is build from base image, but I want to assign different environment variables in the image. For example, I prepare following Dockerfiles…
AMA
  • 174
  • 11
3
votes
0 answers

How to trigger bitbucket pipeline on branch creation or deletion

What is the bitbucket-pipelines equivalent of github's? on: create: on: delete:
GDev
  • 428
  • 1
  • 5
  • 14
3
votes
1 answer

Run a pre job before GitLab pipeline

I want to run a job each time a new pipeline gets triggered. It's a kind of preparation job which should always be executed before every other job defined inside the .gitlab-ci.yml For Example stages: - build - test my-prep-job: stage: .pre …
Abid Khan
  • 145
  • 2
  • 9
3
votes
0 answers

Docker-compose in GCP Cloud build

I'm trying build deploy a app in GCP Cloud run using GCP Cloud Build. I already build, push and deploy the service using Dockerfile, but i need use the Dockerfile of the project. My dockerfile run in Docker desktop perfectly, but i am not finding…
3
votes
2 answers

Integrating OWASP Dependency-Track into GitLab CI/CD Pipeline

Who can help me? I want to implement uploading SBOM-file xxxx.xml to Dependency Track in GitLab СI/СD pipeline Global idea (next step): at the start of the build (beginning of the pipeline), create a SBOM-file and upload it to Dependency Track, now…
3
votes
0 answers

How to deploy two laravel applications with docker?

When you deploy the laravel application using docker in production you need at least two containers Nginx, PHP and the source code should be in both containers, if you deploy another laravel application on the same (port, server) you have to put the…
osama Abdullah
  • 193
  • 1
  • 12
3
votes
1 answer

Azure Data Factory CI npm validate step suddenly crashing

We've been using the "new" CICD setup for Azure Data Factory as descibed by the documentation page: https://learn.microsoft.com/en-us/azure/data-factory/continuous-integration-delivery-improvements. We're doing this using Azure DevOps pipelines…
3
votes
1 answer

Error in CI: act(...) is not supported in production builds of React

Getting an error on CI when running jest --coverage act(...) is not supported in production builds of React. 80 | describe('sample test', () => { 81 | it('sample', () => { > 82 | component = render(); …
Jeffraux
  • 31
  • 2
3
votes
1 answer

unable to build iOS project using Github actions

I have a simple iOS project (just a new project created with Xcode) that I can build and test locally. I want to integrate Github actions for CI/CD. Here is my workflow script: name: iOS starter workflow on: push: branches: [ "main" ] …
Mohammad Rahchamani
  • 5,002
  • 1
  • 26
  • 36
3
votes
0 answers

Custom default value for github actions

How to add custom default value for github actions I want something like on: workflow_dispatch: inputs: release_notes: description: 'Release Notes' required: false default: "Build by: ${{github.actor}}" #Doesn't…
Saranjith
  • 11,242
  • 5
  • 69
  • 122
3
votes
1 answer

Is it possible to set the expiration of artifact to 'next-successful-build' in gitlab?

In the documentation, it seems that we can set the expire-in to several days or weeks. But I cannot decide an accurate fixed date. Is it possible to always keep the 'lastest' artifact, and remove the old one when a new one is successfully built?
D Asp
  • 85
  • 8
3
votes
1 answer

Minimize `docker build` execution time inside Docker-in-Docker containers

The use case: We have several "Release jobs" in Jenkins that build and push a Docker image of the application to a docker registry, update the project version in various files and finally push the release tag to the corresponding Git…
pats
  • 53
  • 3