Skip to main content

CI/CD Collective

Questions

Browse questions with relevant CI/CD tags

114,393 questions

1 vote
1 answer
33 views

Go terraform unrecognized import path from GCP Artifact Registry

I get an error when trying to download private go dependencies from artifact registry via terraform: │ Error: Error waiting to create function: Error waiting for Creating function: Error code 3, ...
CloudNative's user avatar
0 votes
0 answers
41 views

Test Results in Pull Request always show all tests as “new”

I have an Azure DevOps pipeline configured as a Branch Policy build validation for Pull Requests into the develop branch. The pipeline runs automatically for every PR targeting develop. The pipeline ...
Roman Matkovskyi's user avatar
0 votes
1 answer
54 views

Groovy script not working in Jenkins job, but it does on script console

I have the following Groovy/pipeline script I use as an "Active Choice Parameter." I run it in a Groovy sandbox or as an approved script. It gets a job's successful builds' display names and ...
Chris F's user avatar
  • 17.3k
0 votes
1 answer
77 views

docker container not using passed-in JAVA_OPTS="..."?

Docker version 25.0.13, build 0bab007 on Amazon Linux image I run the following script to start Jenkins as a Docker container JENKINS_HOME=/home/jenkins JENKINS_VERSION=2.528.3 docker run --restart=...
Chris F's user avatar
  • 17.3k
1 vote
0 answers
78 views

AWS Lambda TargetInvocationException : could not load file or assembly 'System.Data.SqlClient, Version=4.6.1.6'

I have a .NET 8 based multi-project backend solution. It uses GitHub actions to build the build/publish project with release, that is later used by AWS Lambda to run it whenever an invocation occurs. ...
humblefool's user avatar
-4 votes
0 answers
54 views

How to conditionally run individual jobs based on specific path changes? [duplicate]

In GitLab CI if I want to conditionally run an entire CI file based on certain changes, I'd use include[*].rules.changes: include: - local: .gitlab/ci/file.yml rules: - changes: -...
DevOps Jeremy's user avatar
1 vote
1 answer
34 views

in jenkins how create a pod template with the "Raw YAML for the Pod" filled througth manifest, with helm

in jenkins I want to create a pod template with the "Raw YAML for the Pod" filled througth manifest, with helm at the moment when Jenkins is created I have a jenkins-controller.yaml where ...
Francisco Villegas's user avatar
1 vote
1 answer
84 views

How to automate versioning via CI in a Python project? [closed]

I have a Python project using pyproject.toml and I want to figure out the best method to automate incrementing the version. The requirements are: Each time the package is modified (e.g.: src/**, ...
DevOps Jeremy's user avatar
2 votes
1 answer
69 views

How can Dependabot be configured to update Docker's new hardened images?

Docker have recently made their hardened images available for everyone. Although they're free to use, images in the hardened image catalog require authentication to pull. I'm trying to set up ...
jonrsharpe's user avatar
  • 123k
-3 votes
0 answers
28 views

Handle MFA while running playwright tests in pipeline [closed]

I used all the methods like playwright state, playwright cookies and launch browser on specific port to handle MFA. This is working fine on local browser, but if I run the same in pipeline - MFA gives ...
Saran C's user avatar
3 votes
1 answer
50 views

Argo CD App of Apps – How to automatically sync a dependent application when syncing another app?

We are using Argo CD App of Apps pattern, our structure looks like this: parent-app ├── app-a ├── app-b └── app-c When syncing app-a, we want app-c to be synced automatically as well. We are ...
Shachar297's user avatar
-2 votes
0 answers
79 views

Block commits and PR merges based on OpenAPI spec status (draft/master) [closed]

We’re introducing OpenAPI into our project, and these OpenAPI specifications will have statuses: "draft" and "master". "Draft" means the version isn’t final yet, but it’...
akkio's user avatar
  • 13
-2 votes
0 answers
39 views

Azure DevOps Pipeline Error: "A supported task execution handler was not found" on Windows for Azure APIM Task [closed]

I'm running an Azure DevOps pipeline that uses the "Azure API Management API Utility" task (from the Azure API Management DevOps Marketplace) to deploy APIs. The pipeline fails with the ...
João Calado's user avatar
0 votes
1 answer
118 views

How can GitHub-hosted runners use Visual Studio 2026 Build Tools (MSBuild 18) for CI builds?

It seems Visual Studio 2026 Build Tools (MSBuild 18) are currently not available on GitHub-hosted Windows runners. How to install them during a GitHub Actions job?
Amit's user avatar
  • 1,200
0 votes
0 answers
45 views

Cloud Build no longer authenticates gsutil using service account

I have a Dockerfile that builds an image based on golang:bookworm. It installs the google-cloud-cli package from the https://packages.cloud.google.com/apt repository. I used it to build an image that'...
derat's user avatar
  • 218
Best practices
1 vote
0 replies
97 views

How to securely build Docker images in GitHub Actions on Kubernetes runners (no privileged mode / no DinD)?

I'm setting up a secure CI/CD pipeline using GitHub Actions with self-hosted runners running in Kubernetes, and I want to build Docker images and push them to AWS ECR securely. Goals Build Docker ...
refaeldoron's user avatar
0 votes
0 answers
50 views

Error in credential substitution in downstream job when upstream job is strigged by timer in Jenkins

I am using Jenkins version 2.528.3 with Parameterized Trigger plugin (Version873.v8b_e37dd8418f). I have a job (free style) (JOB A) which is parameterized to accept credential parameter of type secret ...
Kalpa Welivitigoda's user avatar
0 votes
0 answers
64 views

Run Ansible deployment via SSM Failed [closed]

Task failed: DISABLE ECHO command 'stty -echo' timeout Code : - name: Run Ansible deployment via SSM env: AWS_DEFAULT_REGION: ${{ env.AWS_REGION }} AWS_REGION: ${{ env.AWS_REGION }} run: | ...
Rafi's user avatar
  • 301
1 vote
1 answer
54 views

Seeding database in GitLab CI

I'm currently working on the GitLab CI pipeline for my Node.js web app. In my current GitLab CI setup I follow the same steps for a couple of CI jobs: Use the Node image Spin up services: Postgres, ...
SuperHeavy's user avatar
0 votes
1 answer
61 views

Connect-AzAccount : ManagedIdentityCredential authentication unavailable. No Managed Identity endpoint found

Background I have a PowerShell test script that uses azuresigntool.exe to sign a file using a certificate in an hsm-backed azure key vault (Azure Key Vault - Premium tier). The certificate is a ...
Yousef Imran's user avatar
  • 1,214
Best practices
0 votes
1 replies
43 views

Julia: speeding up pipelines by 1) separating project into multiple subprojects, 2) dropping transitive dependencies, and 3) reusing stuff?

former Java developer and total Julia noob here. My problem: My github pipeline takes FOREVER (pipeline see below). Two point of concern: some dependencies are only needed for an example run with ...
konse's user avatar
  • 1,125
1 vote
1 answer
112 views

WARNING: Unable to encode the output with cp1252 encoding

I am trying to run a powershell script on Microsoft hosted agent "windows-latest" (azure pipeline), It uses below az cli command: $projects = az devops project list --organization "...
Potatojaisiladki's user avatar
1 vote
1 answer
141 views

How to pass parameters to Queue new build to Azure DevOps from PowerAutomate?

I want to trigger an Azure DevOps pipeline from PowerAutomate. The pipeline requires a single parameter - UserID. This is the Pipeline: trigger: none pr: none name: User-$(Date:yyyyMMdd)$(Rev:.r) ...
Chumpy's user avatar
  • 53
0 votes
0 answers
33 views

Creating environment variables across jobs

I'm trying to write a CloudBees workflow and it uses GitHub Actions syntax. I'm looking for some advice with environment variables. I want to dynamically create some variables at 'workflow' scope that ...
user1587804's user avatar
0 votes
0 answers
69 views

Wikipedia returns 403 when using sphinx linkcheck to check for broken links

We use sphinx linkcheck to make sure that our docs do not contain broken links, but Wikipedia has started returning a 403, assuming that our CI is a robot. Fair enough, it is a robot, so has anyone ...
jon_two's user avatar
  • 1,278
3 votes
1 answer
135 views

Github Actions '**' pattern matches an unexpected branch

I have the following Github workflow file: name: test-ci2 on: push: branches: [ '**/ci-*' ] jobs: test: runs-on: ubuntu-latest steps: - run: echo "Triggered by **/ci-* ...
Mark Dominus's user avatar
  • 1,879
0 votes
1 answer
84 views

How to specify multiple pipeline sources for a gitlab-ci.yml build

I'm working on a CI script for a gitlab project. The build runs in two stages. The first compiles and packages the code. The second deploys the packaged code to two different remote servers (it's a ...
pbuchheit's user avatar
  • 1,839
0 votes
0 answers
81 views

Azure DevOps Pipeline cannot access GitHub org with IP restrictions when using OAuth service connection

We have a GitHub Organization hosted on a cloud subscription with enterprise-level security controls enabled. One of the key controls is IP allow-listing, where only traffic originating from our ...
user32062994's user avatar
1 vote
0 answers
86 views

Trigger Adding Automatic Parent Feature by Creation of Custom Work Item Type?

I have a custom work item type which will always have the same parent feature. I'm trying to create a pipeline which is triggered by the creation of the work item type to add that particular feature ...
user32056895's user avatar
0 votes
0 answers
57 views

GitLab CI runs even when `changes:` field doesn't match any files

I want my GitLab CI job to run only when one of my doc files at docs/**/*.md or docs/**/*.mdx changes. When I put these patterns in the rules:changes: field, the job always seems to run, even when ...
Tim McMackin's user avatar
Best practices
0 votes
1 replies
44 views

Deploying separate repos to production with azure-pipelines.yml

I have 4 repos in Azure (all are in development branch): - Web App - Web API - Mail Console 1 - Mail Console 2 Here's how I deploy them in testing phase: 1. Publish Web App and Web API 2. Build Mail ...
kebberpee's user avatar
1 vote
0 answers
77 views

Unable to publish private npm packages with Lerna on GitLab CI (403 error after npm changes)

Since the recent changes on npm regarding authentication and token permissions, we are no longer able to publish private packages in our monorepo using Lerna in our CI/CD pipeline on a self-hosted ...
Sami Ghorbel's user avatar
0 votes
0 answers
52 views

Authenticating to GCP npm Artifact Registry using Direct Workload Identity Federation from a Bitbucket Pipeline

In my Bitbucket Pipeline I use the following step, with the intention to download some npm dependencies from a private GCP npm Artifact Registry: - step: &download-dependencies name: Download ...
nucleus's user avatar
  • 25
0 votes
1 answer
66 views

Cake script fails when importing Octopus Tools

I'm working on updating some older systems to slightly more modern code. I have a C# solution that was targeting .NET Framework 4.6.2, but is now on .NET Framework 4.8.1. The solution builds fine in ...
Paul Brindley's user avatar
0 votes
2 answers
70 views

Azure Pipelines: Referencing a script from a template library repository results in ENOENT error

I'm trying to move an azure-pipelines.yml step to a pipeline library repository, to ensure that the step can be reused. The setup consists of a main repository (repo-a) and a shared pipeline templates ...
Michiel's user avatar
  • 3,646
0 votes
0 answers
94 views

E: Unable to locate package libeigen3-dev

In short, in the GitLab CI I get the error E: Unable to locate package libeigen3-dev Context. I'm on Linux. On my machine the makefile works and the program can run. The CI can run the installation of ...
Blue Lama's user avatar
  • 172
Best practices
1 vote
1 replies
50 views

Multi repository synchronisation for deployment

For a crew project I have 2 gitlab repositories (backend and front-end) and I'd like to improve my CICD. As of now, when I merge a PR, it deploys on a ""development environment"" ...
tycyly's user avatar
  • 379
0 votes
0 answers
71 views

Receive 403 inconsistently from GitHub npm registry

We have several (private) npm packages in the GitHub npm registry. Let's say we have repository A and repository B. Repository A publishes an npm package into the GitHub registry, and repository B ...
jleeothon's user avatar
  • 3,216
3 votes
1 answer
87 views

Next.js 15 build fails on Windows during Azure deployment with EPERM symlink error using pnpm and standalone output

I’m trying to deploy a Next.js 15.2.4 application to Azure App Service, and my production build is failing locally on Windows with a symlink permission error. Environment OS: Windows 11 Framework: ...
Shirley's user avatar
  • 31
1 vote
1 answer
54 views

TimeoutExeption in Headless mode

I’m working on a Python project using Selenium and pytest. All tests pass locally in normal (non-headless) mode, but when I run them in GitHub Actions or even locally in headless mode, many of them ...
Dmytro Podoprygora's user avatar
0 votes
0 answers
51 views

ArgoCD applicationset - path and .argocd-source.yaml issues

I have a test setup where I have a base folder structure. This is working and I create the application for staging with the values and the configmap from the staging folder. However, I also need to be ...
furion2000's user avatar
0 votes
0 answers
79 views

How to create an atomic unabortable step in jenkins

I have a Jenkins pipeline with a critical stage that runs my custom .NET CLI performing important tasks. I want this stage to be fully atomic, meaning that if someone tries to abort the build while ...
Raj Mohammed's user avatar
0 votes
3 answers
112 views

Example .gitlab-ci.yml for Laravel 12 with MariaDB that seeds database before running php artisan test

I'm setting up a GitLab Runner for a Laravel 12 project and I want my CI pipeline to do the following: Spin up a MariaDB service for the tests Run php artisan migrate:fresh --seed to seed the ...
Kektuto's user avatar
  • 160
0 votes
1 answer
65 views

Puppeteer "No usable sandbox" on Github Actions with ubuntu-latest (23)

I have some jobs running on Github Actions, that require Puppeteer to run, but it fails to start with this error Cannot start ChromeHeadless [2303:2303:1207/162353.403103:FATAL:content/browser/...
OtaconKiko's user avatar
Advice
1 vote
1 replies
22 views

How do Groovy (Jenkins pipeline) singletons work?

Say I have the following classes. @Singleton class EnvMgr { private String environment = "default" String getEnvironment() { return environment } def setEnvironment(...
Chris F's user avatar
  • 17.3k
Best practices
0 votes
0 replies
47 views

How do I manage Supabase migrations across main and develop branches using GitHub Actions?

I’m using Supabase, Next.js, and GitHub with the following setup: A main branch for production A develop branch for development Two separate Supabase projects: Project A → Production Project B → ...
user12504353's user avatar
2 votes
1 answer
95 views

CosmosDb ExpressionVisitor (SubtreeEvaluator) fails on Azure, works on local machine [duplicate]

Since a few days, code that has always worked, fails on Azure with an Exception "NotSupportedException: Specified method is not supported.". This Exception occurs when building the query ...
Edwin's user avatar
  • 605
0 votes
0 answers
21 views

Jenkins Groovy list user login with Groovy script

I am Rajeswari In the groovy script i have to filter who login in Jenkins but I am able to filter the user list all in the manage/security Realm the user list So How to use it they is no direct method ...
Rajeswari S's user avatar
0 votes
0 answers
39 views

Gitlab CI: Rules based on array parameter

Is there a solution to create a rule that check if an array parameter contains a given element? Below example is not a valid one. spec: inputs: ARRAY: type: array ...
Raphael Vig's user avatar
0 votes
0 answers
30 views

Github Action for test build and run unit tests for iOS library

I have github action written to test build and also run unit tests before performing a release. steps: - name: Checkout repo uses: actions/checkout@v4 - name: Set up Ruby (for ...
Dragisa Dragisic's user avatar


15 30 50 per page
1
2 3 4 5
2288