question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate deployment entries in the Portal

See original GitHub issue

https://github.com/projectkudu/kudu/issues/3268

When deploying with this action an extra deployment object is created in the /deployments list. This clutters the deployments list, and the deployment logs are stored in this extra object, not in the deployment object from GitHub Actions, so it’s hard for users to find the right logs. The expected behavior is to have one deployment object with a commit ID that matches the one in GitHub, and that all the logs are in that object.

Duplicate entries in Kudu

image

… which creates duplicates in the deployment center

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
spellegrino021commented, Feb 26, 2021

First entry of log will be as is, instead of Created via a push deployment message will be json object with sha of commit ID and second entry will removed

Hi @AmrutaKawade would it be possible for this message to be the corresponding commit message in GitHub? It might make a little more sense to people to have that information rather than the JSON object. Thanks!

1reaction
AmrutaKawadecommented, Feb 25, 2021

We use kudu zip deploy api for deploying app, which creates first entry in deployments with message Created via a push deployment

after this deployment we again update status of deployment here with additional details https://github.com/Azure/webapps-deploy/blob/b062dd053e72d63cf28324ec55ce8f77ec086947/src/main.ts#L54

which is creating another entry in deployment.

I have fixed this issue by adding additional details while calling zipdeploy itself https://github.com/microsoft/pipelines-appservice-lib/pull/34

and then removing updatestatus call https://github.com/Azure/webapps-deploy/pull/111

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extra deployment object when processing ZIP and WAR ...
When deploying with GitHub Actions (uses /zipdeploy and /wardeploy) an extra deployment object is created in ... Duplicate entries in Kudu.
Read more >
Duplicate hosts entries in Satellite UI under Insights after re ...
Issue. Execution of # insights-client --force-reregister on Red Hat Satellite hosts creates duplicate entries under Insights Inventory.
Read more >
Duplicate Value Found When Building Unique Index
Deployment Error: Duplicate Value Found When Building Unique Index. This error is returned by Salesforce. Whenever a field is set to Unique, ...
Read more >
Resource iteration in ARM templates - Azure - Microsoft Learn
Use copy operation and arrays in an Azure Resource Manager template (ARM template) to deploy resource type many times.
Read more >
Why cloud agent are duplicated and how to remove duplication
Check with your deployment team and verify the settings they are using to push Cloud Agents, as agents are duplicated mainly because of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found