Skip to content

Update Calamari.AzureWebApp to support .NET 6.0 (#1355) #1446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rain-on
Copy link
Collaborator

@rain-on rain-on commented Mar 5, 2025

This is a cherry-pick of 7b72732 - which should now work given we're packaging calamari differently!

  • Add NET 6.0 support and start rewriting stuff

  • Continued refactoring AzureWebApp to support .Net Core

  • Use msdeploy.exe to do Azure WebApp deployments

  • Delete output file at end of deployment

  • Fix issue with physicalpath and create output file in temp folder

  • NetFx uses original code, but NetCore uses MsDeploy.exe

  • Update build process and tests

  • Update code to locate msdeploy executable

  • Add exception if msdeploy.exe is not found

  • Only support running on Windows

  • Change tests to use modern SDK as well

  • Add retry to assertion

  • Use cancellation token

  • Fix poison merge

  • Create new app service for each test

  • Bundle Web Deploy V3 installer

  • Add new Calamar.AzureWebApp.DotNetCoreShim application

  • Complete and use new NetCoreShim project

  • Don't include netcoreshim in full framework build

  • Fix shim not extracting for published tests

  • Fix app offline message appearing erroneously

  • Update shim

  • Remove dependency on Calamari.Common. Later step will extract this class into its own

  • Minor cleanup and update packaged shim


⚠️ Does this change require a corresponding Server Change?
⚠️ If so - please add a "Requires Server Change" label to this PR!

APErebus and others added 4 commits March 6, 2025 09:13
* Add NET 6.0 support and start rewriting stuff

* Continued refactoring AzureWebApp to support .Net Core

* Use msdeploy.exe to do Azure WebApp deployments

* Delete output file at end of deployment

* Fix issue with physicalpath and create output file in temp folder

* NetFx uses original code, but NetCore uses MsDeploy.exe

* Update build process and tests

* Update code to locate msdeploy executable

* Add exception if msdeploy.exe is not found

* Only support running on Windows

* Change tests to use modern SDK as well

* Add retry to assertion

* Use cancellation token

* Fix poison merge

* Create new app service for each test

* Bundle Web Deploy V3 installer

* Add new Calamar.AzureWebApp.DotNetCoreShim application

* Complete and use new NetCoreShim project

* Don't include netcoreshim in full framework build

* Fix shim not extracting for published tests

* Fix app offline message appearing erroneously

* Update shim

* Remove dependency on `Calamari.Common`.
Later step will extract this class into its own

* Minor cleanup and update packaged shim

---------

Co-authored-by: Robert E <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants