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
2
votes
2 answers

Unable to build the ASP.Net Core 7 in azure devops pipeline (CI)

Unable to build the ASP.Net Core 7 in azure devops pipeline (CI), Using Classic pipeline and ASP.net core template Error message : ##[error]C:\Program…
2
votes
0 answers

How to tie ansible service account credentials to ssh key for Gitlab CI

I have a gitlab CI project set up and working for terraform by following the steps outlined here: https://ael-computas.medium.com/gcp-workload-identity-federation-on-gitlab-passing-authentication-between-jobs-ffaa2d51be2c It essentially sets the…
2
votes
0 answers

How to correctly pass argument to script from command line with NX15

With the given script in package.json : "deploy": "nx deploy --verbose --" If we run npm run deploy my-application using NX 13.4.5 (@nrwl/nx) it produces the following output (and it works as we expect): > nx deploy --verbose -- my-application >…
2
votes
1 answer

Github Action : failed with "lost connection"

We are Trying to build our gcp instance templated using GitHub Actions. Where we try to build our java archives and transfer it to GCP instance from GitHub Ubuntu machine. We have set sshkey to access the GCP instance from Ubuntu machines…
2
votes
2 answers

Gitlab webhook for sending notifications when image pulled from container registry?

Requirement - In my self hosted gitlab instance there are multiple projects maintained by different users which are all using one particular tag of an image from the container registry of my project. That tag is now outdated and I have created a new…
ashishpm
  • 408
  • 1
  • 6
  • 19
2
votes
1 answer

How to update codemagic environment variable during build process

Is it possible to update environment variable during build process? I need to increase code version before uploading apk to firebase. I have found a case when you receive the last version from play store and increase it, but in my case I store…
2
votes
0 answers

How can I stop a merge in bitbucket if a build fails?

In Bitbucket, After a developers code is PR'd and ready to be merged, I want a build to be made when the developer requests to merge, and for the merge to fail if the build fails. I know I can trigger a build when a pull request is made, and then…
Sebastian King
  • 341
  • 1
  • 11
2
votes
1 answer

How to retrigger a successful gitlab child pipeline?

Is there a way of retriggering a successful child pipeline in gitlab ? I don't see any retry button in trigger job, which we otherwise see in normal pipline job. Is there a way/workaround to get an option to do so ? I went through the gitlab doc, it…
2
votes
2 answers

Flutter- fastlane with iOS multi flavors

I am using Flutter with multiple flavors. I am using fastlane to automate the iOS build like below, I have multiple flavours and I have multiple main.dart variants respectively: private_lane :build4iOS do |options| build_app( workspace:…
2
votes
1 answer

Set current date and time as release APK name in GitHub workflows

I have a GitHub workflow for releasing nightly snapshots of the repository. This is how the workflow file looks right now: # Define workflow name name: main # This workflow is triggered on pushes to the repository. on: push: branches: -…
Nehil Koshiya
  • 1
  • 2
  • 6
  • 23
2
votes
0 answers

Gitlab: execute script when job fails

I'd like to execute a script when a job fails. In Gitlab you can define a job that runs when at least one job in an earlier stage fails: see Gitlab doc here. I'd like to do something on a job-by-job basis instead. There's a previous SO question and…
Seub
  • 2,451
  • 4
  • 25
  • 34
2
votes
3 answers

How to access ArgoCD with istio ingress gateway without TLS auth

We are trying to access the ArgoCD server with the istio ingress gateway but no fate. It is auto redirecting to HTTPS and the page shows the server is not reachable. We have tried various suggestions over the internet but no success yet. Below is…
Nitin G
  • 714
  • 7
  • 31
2
votes
1 answer

How to setup one gitlab agent for all projects in gitlab group to deploy projects separately to the kuberenetes cluster

I have applied the gitlab agents separately to my kuberenetes cluster for each and every project inside the gitlab group by using helm command and separate namespaces to each project. As a example... There are 2 projects inside my gitlab…
Tagzy
  • 21
  • 1
2
votes
1 answer

How to use my own fork of flutter in `pubspec.yaml`

I need to change some parts of the original flutter code in my project. I know that I can do so in my local copy. However, we are working as a group and I don't want my changes to be local. Also, we will probably use GitHub actions for CD. If I only…
2
votes
1 answer

##[error]Error: /usr/bin/xcodebuild failed with return code: 65 on Azure DevOps

I am having trouble while building iOS App in Azure DevOps. I am getting below error while running xcode build task ❌ error: Unable to load contents of file list: '/Target Support…
sujata1180
  • 21
  • 1