Use for questions related to practices of CICD (Continuous Integration and Continuous Delivery or Continuous Deployment) and its related tools.
Questions tagged [cicd]
2046 questions
3
votes
1 answer
Cannot deploy Cloud Functions with Cloud Build saying "GOOGLE_MANIFEST_DANGLING_TAG: Manifest is still referenced by tag: latest"
I'm trying to build a simple CI that goes
When pushed to main branch on one of my Source Repo
Deploy Cloud Functions
But after all process seems to succeed,
Unable to delete previous cache image: DELETE・・・
& the error in the title shows up and…

Kantumrobot
- 97
- 7
3
votes
1 answer
Playwright failed in the Gitlab pipeline with browserType.launch: Host system is missing dependencies
I know my question is similar to this one, but hope someone can help me to execute Playwright tests in the Gitlab pipeline.
My .gitlab-ci.yaml insludes next lines:
image: node:16.13.0
...
test e2e:
stage: test
script:
- npx playwright…

Dima Dorogonov
- 2,297
- 1
- 20
- 23
3
votes
1 answer
Playwright test works fine localy, but fails in pipeline
I am trying to run this code:
test('should login', async ({ page }) => {
await page.goto(localhost);
await page.fill('[name=username]', 'username');
await page.fill('[name=password]', 'password');
await page.click('[name=login]');
await…

Tomáš Hrubý
- 31
- 4
3
votes
1 answer
DotNet NuGet push causes TLS error on PowerShell
We're facing a issue in our CI/CD pipeline to publish our package to Nuget.
Executing this command on PowerShell:
& dotnet nuget push "*.nupkg" --api-key $env:NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
Causes the…

Gustavo Mauricio De Barros
- 165
- 2
- 14
3
votes
1 answer
Problems with Gitlab CI/CD on local machine
I'm using gitlab-runner to run CI/CD locally.
It works properly when I specify all jobs in .gitlab-ci.yml like
stages:
- test
test1:
stage: test
script:
- echo "ok"
and run gitlab-runner exec shell test1
In general, I'd like to store…

Дима Коробков
- 31
- 2
3
votes
1 answer
AWS CodePipeline role is not authorized to perform AssumeRole on Role in "action" block of a stage
The "Deploy" stage in my CodePipeline should be having a different IAM Role (Arn: another_codepipeline_role_arn) than that of the CodePipeline (Arn: codepipeline_role_arn). Below is my terraform configuration.
resource "aws_codepipeline"…

Rohith
- 87
- 1
- 7
3
votes
2 answers
How to checkout specific submodule branch in GitHub action?
I have a Github workflow file with a checkout action that looks something like this:
name: Build project
on:
workflow_dispatch:
# Allows for manual build trigger
jobs:
buildForAllSupportedPlatforms:
name: Build for ${{…

Dr-Bracket
- 4,299
- 3
- 20
- 28
3
votes
2 answers
New deployed Azure web app is returning 404 Error code
I have deployed an ASP.NET Core Web API project using terraform. I can see it has been deployed successfully and the web app service is running. When I browse to the link it returns 404. I was wondering if i can get help on identifying why I am…

kiflay
- 699
- 2
- 7
- 14
3
votes
2 answers
How Can I pass secret manager secret using cloudbuild to app engine environment variable in app.yaml
Below is my app.yaml
runtime: python39
entrypoint: gunicorn -b :$PORT main:app
runtime_config:
python_version: 3
env_variables:
SEC: %sec%
manual_scaling:
instances: 1
resources:
cpu: 1
memory_gb: 0.5
disk_size_gb: 10
This is my…

Aadesh kale
- 228
- 1
- 13
3
votes
2 answers
Github Workflows CI/CD failing
My CI/CD pipeline that is using github workflows is failing giving the following error:
Error: Unable to process command '##[add-path]/opt/hostedtoolcache/aws/0.0.0/x64' successfully.
Error: The add-path command is disabled. Please upgrade to using…

Vimal Kurien Sam
- 246
- 4
- 10
3
votes
1 answer
How to pass values to gitlab pipeline variable sourced from a file
For example the file that I have is test.env
test.env has the content
export SAMPLE="true"
I want the variable SAMPLE to be set as a pipeline variable before running the pipeline
I am trying the below mentioned solution but it is not really…

Sourabh Ninawe
- 389
- 1
- 6
- 17
3
votes
1 answer
Classic ASP azure pipeline
The application technology is classic ASP. Can the azure CICD be setup for this classic ASP application?
If yes, then what are the tasks to be used in build and release pipelines for build,unit test,code analysis etc?

AzureDevOpsBeginner
- 73
- 1
- 6
3
votes
2 answers
How to trigger GitHub actions on push of current branch?
I have created the following GitHub Actions workflow.
name: Testing CI
on:
push:
branches: [ my-branch ]
Here in branches: [my-branch] I am putting the name of the current branch.
But I want the workflow file to automatically take the name…

manish soni
- 515
- 1
- 7
- 19
3
votes
2 answers
Allow unauthenticated parameter does not work
I am creating a CICD pipeline, via GitHub and Google Cloud Build, using the following .yaml file:
# Cloud Function specifications
steps:
- name: 'gcr.io/cloud-builders/gcloud'
args:
- functions
- deploy
- hello_world
- --source=./src
-…

Alessandro Ceccarelli
- 1,775
- 5
- 21
- 41
2
votes
2 answers
How to make GitHub Actions safely access Secrets for PRs created from forks?
I have a public repository that runs end-to-end tests. These tests require secrets that are stored in GitHub.
The corresponding workflow yaml file has pull_request entry as follows:
on:
pull_request:
....
Problem: If I (the owner) create a pull…

Sasha Shpota
- 9,436
- 14
- 75
- 148