Duplicate deployment entries in the Portal
See original GitHub issueWhen 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
… which creates duplicates in the deployment center
- It looks like the message is added to every push deployment handler: https://github.com/projectkudu/kudu/blob/13824205c60a4bdb53896b9553ef1f370a93b911/Kudu.Services/Deployment/PushDeploymentController.cs#L34
- This method adds the deployment to the deployments API: https://github.com/projectkudu/kudu/blob/13824205c60a4bdb53896b9553ef1f370a93b911/Kudu.Core/Deployment/ArtifactDeploymentInfo.cs#L8
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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!
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