Skip to content
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

Convert Kudu custom script to PowerShell #8315

Merged

Conversation

@aaronamm
Copy link
Contributor

aaronamm commented Feb 1, 2020

  • Convert Batch deploy.cmd script to PowerShell deploy.ps1 script for maintainability
  • In new deploy.ps1 remove DEPLOYMENT_TEMP and CLEAN_LOCAL_DEPLOYMENT_TEMP variable because we don't use them.
  • Move functions to PowerShell module DeploymentUtility.psm1
  • Change to latest MSBuild in Azure App Service 15.9.21.664
  • Use TypeScript build form nuget package with Microsoft.TypeScript.MSBuild https://github.com/microsoft/TypeScript/wiki/Configuring-MSBuild-projects-to-use-NuGet
  • Tested pass with Azure App Services URL: https://orchard-pr.azurewebsites.net/
  • The first may be slow and I use basic plan for Azure App Services
  • Able to add new blog post
  • I can't prevent Solution to change to use VisualStudioVersion = 16.0.29721.120

Log message during build in Azure App Service, there are some warning from existing Orchard module projects.

Command: PowerShell -NoProfile -NoLogo -ExecutionPolicy Unrestricted -Command "& "$(Join-Path -Path $(Get-Location) -ChildPath deploy.ps1)" 2>&1 | Write-Output"
Using custom deployment setting for MSBUILD_PATH custom value is 'D:\Program Files (x86)\MSBuild-15.9.21.664\MSBuild\MSBuild\15.0\Bin\MSBuild.exe'.
Verify if Node.js installed
----------------- Begin of environment variables ---------------------------------

Name                         Value                                             
----                         -----                                             
DEPLOYMENT_SOURCE            D:\local\repository                               
PREVIOUS_MANIFEST_PATH       D:\home\site\deployments\3b535907ac11abf805ca5e120
                             f36907d17a5950c\manifest                          
SOLUTION_PATH                src/Orchard.sln                                   
WEBSITE_NODE_DEFAULT_VERSION 10.16.3                                           
KUDU_SYNC_CMD                kudusync                                          
PROJECT_PATH                 Orchard.proj                                      
MSBUILD_PATH                 D:\Program Files (x86)\MSBuild-15.9.21.664\MSBuild
                             \MSBuild\15.0\Bin\MSBuild.exe                     
Path                         D:\Program Files (x86)\SiteExtensions\Kudu\85.1110
                             8.4192\bin\NativeBinaries/x86;D:\home\site\deploym
                             ents\tools;D:\Program Files (x86)\SiteExtensions\K
                             udu\85.11108.4192\bin\Scripts;D:\Program Files    
                             (x86)\MSBuild\14.0\Bin;D:\Program                 
                             Files\Git\cmd;D:\Program Files (x86)\Microsoft    
                             Visual Studio 11.0\Common7\IDE\CommonExtensions\Mi
                             crosoft\TestWindow;D:\Program Files               
                             (x86)\Microsoft SQL                               
                             Server\110\Tools\Binn;D:\Program Files            
                             (x86)\Microsoft                                   
                             SDKs\F#\3.1\Framework\v4.0;D:\Program             
                             Files\Git\bin;D:\Program                          
                             Files\Git\usr\bin;D:\Program                      
                             Files\Git\mingw64\bin;D:\Program Files (x86)\npm\6
                             .9.0;C:\DWASFiles\Sites\#1orchard-pr\AppData\npm;D
                             :\Program Files (x86)\bower\1.7.9;D:\Program      
                             Files (x86)\grunt\0.1.13;D:\Program Files         
                             (x86)\gulp\3.9.0.1;D:\Program Files               
                             (x86)\funcpack\1.0.0;D:\Python27;D:\Program Files 
                             (x86)\PHP\v5.6;D:\Program Files (x86)\nodejs\10.16
                             .3;D:\Windows\system32;D:\Windows;D:\Windows\Syste
                             m32\Wbem;D:\Windows\System32\WindowsPowerShell\v1.
                             0\;D:\Program Files\Git\cmd;D:\Program            
                             Files\Microsoft Network Monitor 3\;D:\Users\Admini
                             strator\AppData\Roaming\npm;D:\Program Files      
                             (x86)\nodejs\;D:\Program Files                    
                             (x86)\Mercurial\;d:\Program Files (x86)\Microsoft 
                             ASP.NET\ASP.NET Web Pages\v1.0\;D:\Program Files  
                             (x86)\dotnet;D:\Program Files\dotnet;D:\Windows\sy
                             stem32\config\systemprofile\AppData\Local\Microsof
                             t\WindowsApps;E:\base\x64;E:\base\x86;D:\Packages\
                             GuestAgent\GuestAgent\LegacyRuntime\x64;D:\Package
                             s\GuestAgent\GuestAgent\LegacyRuntime\x86;D:\Progr
                             am Files\Java\zulu8.36.0.1-jre8.0.202-win_x64\bin;
NEXT_MANIFEST_PATH           D:\home\site\deployments\83147567c29fe149debfed9cb
                             09eaca5e459d714\manifest                          
SCM_REPOSITORY_PATH          D:\local\repository                               
DEPLOYMENT_TARGET            D:\home\site\wwwroot                              


----------------- End of environment variables ---------------------------------
Current node version: v10.16.3
Current npm version: 6.9.0
Current MSBUILD version: Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.  15.9.21.664
Handling .NET Web Application deployment.
Restore NuGet packages
Current nuget version: NuGet Version: 5.3.1.6268
Using Msbuild from 'D:\Program Files (x86)\MSBuild-15.9.21.664\MSBuild\MSBuild\15.0\Bin'.
All packages listed in packages.config are already installed.
Build .NET project to the temp directory
Building with MSBUILD to 'D:\local\repository\build\Precompiled'
  Orchard.Framework -> D:\local\repository\build\Compile\Orchard.Framework.dll
  Orchard.Core -> D:\local\repository\build\Compile\Orchard.Core.dll
  Orchard.Modules -> D:\local\repository\build\Compile\Orchard.Modules.dll
  Orchard.Packaging -> D:\local\repository\build\Compile\Orchard.Packaging.dll
  Orchard.Themes -> D:\local\repository\build\Compile\Orchard.Themes.dll
  Orchard.ContentTypes -> D:\local\repository\build\Compile\Orchard.ContentTypes.dll
  Orchard.Alias -> D:\local\repository\build\Compile\Orchard.Alias.dll
  Orchard.Tokens -> D:\local\repository\build\Compile\Orchard.Tokens.dll
  Orchard.Autoroute -> D:\local\repository\build\Compile\Orchard.Autoroute.dll
  Orchard.Localization -> D:\local\repository\build\Compile\Orchard.Localization.dll
  Orchard.MediaLibrary -> D:\local\repository\build\Compile\Orchard.MediaLibrary.dll
  Orchard.Scripting -> D:\local\repository\build\Compile\Orchard.Scripting.dll
  Orchard.Conditions -> D:\local\repository\build\Compile\Orchard.Conditions.dll
  Markdown -> D:\local\repository\build\Compile\Markdown.dll
  Orchard.Forms -> D:\local\repository\build\Compile\Orchard.Forms.dll
Migrations.cs(341,21): warning CS0618: 'PropertyRecord.RewriteOutput' is obsolete: 'Set RewriteOutputCondition to "true" instead.' [D:\local\repository\src\Orchard.Web\Modules\Orchard.Projections\Orchard.Projections.csproj]
  Orchard.Projections -> D:\local\repository\build\Compile\Orchard.Projections.dll
  Orchard.Layouts -> D:\local\repository\build\Compile\Orchard.Layouts.dll
  Orchard.Widgets -> D:\local\repository\build\Compile\Orchard.Widgets.dll
  Orchard.Search -> D:\local\repository\build\Compile\Orchard.Search.dll
  No way to resolve conflict between "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes". Choosing "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
  Orchard.jQuery -> D:\local\repository\build\Compile\Orchard.jQuery.dll
  Orchard.Media -> D:\local\repository\build\Compile\Orchard.Media.dll
  Orchard.MediaPicker -> D:\local\repository\build\Compile\Orchard.MediaPicker.dll
  Orchard -> D:\local\repository\build\Compile\Orchard.exe
  Orchard.Tests -> D:\local\repository\build\Compile\Orchard.Tests.dll
  Orchard.PublishLater -> D:\local\repository\build\Compile\Orchard.PublishLater.dll
  Orchard.Azure.MediaServices -> D:\local\repository\build\Compile\Orchard.Azure.MediaServices.dll
  Orchard.Warmup -> D:\local\repository\build\Compile\Orchard.Warmup.dll
  Orchard.CodeGeneration -> D:\local\repository\build\Compile\Orchard.CodeGeneration.dll
  MSBuild.Orchard.Tasks -> D:\local\repository\build\Compile\MSBuild.Orchard.Tasks.dll
  Orchard.Indexing -> D:\local\repository\build\Compile\Orchard.Indexing.dll
  Orchard.MultiTenancy -> D:\local\repository\build\Compile\Orchard.MultiTenancy.dll
  Orchard.ContentPicker -> D:\local\repository\build\Compile\Orchard.ContentPicker.dll
  Orchard.Pages -> D:\local\repository\build\Compile\Orchard.Pages.dll
  Orchard.Framework.Tests -> D:\local\repository\build\Compile\Orchard.Framework.Tests.dll
  Lucene -> D:\local\repository\build\Compile\Lucene.dll
  Orchard.Workflows -> D:\local\repository\build\Compile\Orchard.Workflows.dll
  Orchard.Comments -> D:\local\repository\build\Compile\Orchard.Comments.dll
  Orchard.DesignerTools -> D:\local\repository\build\Compile\Orchard.DesignerTools.dll
  Orchard.AntiSpam -> D:\local\repository\build\Compile\Orchard.AntiSpam.dll
  Orchard.Fields -> D:\local\repository\build\Compile\Orchard.Fields.dll
  Orchard.Scripting.CSharp -> D:\local\repository\build\Compile\Orchard.Scripting.CSharp.dll
  Orchard.Taxonomies -> D:\local\repository\build\Compile\Orchard.Taxonomies.dll
  Orchard.Users -> D:\local\repository\build\Compile\Orchard.Users.dll
  Orchard.DynamicForms -> D:\local\repository\build\Compile\Orchard.DynamicForms.dll
  Orchard.Email -> D:\local\repository\build\Compile\Orchard.Email.dll
  Orchard.Recipes -> D:\local\repository\build\Compile\Orchard.Recipes.dll
  Orchard.Setup -> D:\local\repository\build\Compile\Orchard.Setup.dll
  Orchard.ImportExport -> D:\local\repository\build\Compile\Orchard.ImportExport.dll
  Orchard.MediaProcessing -> D:\local\repository\build\Compile\Orchard.MediaProcessing.dll
  Orchard.Roles -> D:\local\repository\build\Compile\Orchard.Roles.dll
  Orchard.Scripting.Dlr -> D:\local\repository\build\Compile\Orchard.Scripting.Dlr.dll
  Orchard.Tags -> D:\local\repository\build\Compile\Orchard.Tags.dll
  Orchard.TaskLease -> D:\local\repository\build\Compile\Orchard.TaskLease.dll
  Orchard.Tests.Modules -> D:\local\repository\build\Compile\Orchard.Tests.Modules.dll
  SysCache -> D:\local\repository\build\Compile\SysCache.dll
  Orchard.Azure -> D:\local\repository\build\Compile\Orchard.Azure.dll
  Themes -> D:\local\repository\build\Compile\Themes.dll
  Orchard.MessageBus -> D:\local\repository\build\Compile\Orchard.MessageBus.dll
  Upgrade -> D:\local\repository\build\Compile\Upgrade.dll
  Orchard.Projections.Tests -> D:\local\repository\build\Compile\Orchard.Projections.Tests.dll
  Orchard.Caching -> D:\local\repository\build\Compile\Orchard.Caching.dll
  Orchard.Glimpse -> D:\local\repository\build\Compile\Orchard.Glimpse.dll
  Orchard.Tokens.Tests -> D:\local\repository\build\Compile\Orchard.Tokens.Tests.dll
  Orchard.SecureSocketsLayer -> D:\local\repository\build\Compile\Orchard.SecureSocketsLayer.dll
  Orchard.ImageEditor -> D:\local\repository\build\Compile\Orchard.ImageEditor.dll
  Orchard.Rules -> D:\local\repository\build\Compile\Orchard.Rules.dll
  TinyMce -> D:\local\repository\build\Compile\TinyMce.dll
  Orchard.ContentPermissions -> D:\local\repository\build\Compile\Orchard.ContentPermissions.dll
  Orchard.Profile -> D:\local\repository\build\Compile\Orchard.Profile.dll
  Orchard.Migrations -> D:\local\repository\build\Compile\Orchard.Migrations.dll
  Orchard.ArchiveLater -> D:\local\repository\build\Compile\Orchard.ArchiveLater.dll
  Orchard.OutputCache -> D:\local\repository\build\Compile\Orchard.OutputCache.dll
  Orchard.Redis -> D:\local\repository\build\Compile\Orchard.Redis.dll
  Orchard.Dashboards -> D:\local\repository\build\Compile\Orchard.Dashboards.dll
  Orchard.OpenId -> D:\local\repository\build\Compile\Orchard.OpenId.dll
  Orchard.Core.Tests -> D:\local\repository\build\Compile\Orchard.Core.Tests.dll
  Orchard.Resources -> D:\local\repository\build\Compile\Orchard.Resources.dll
  Orchard.CustomForms -> D:\local\repository\build\Compile\Orchard.CustomForms.dll
  Orchard.AuditTrail -> D:\local\repository\build\Compile\Orchard.AuditTrail.dll
  Orchard.Blogs -> D:\local\repository\build\Compile\Orchard.Blogs.dll
  Orchard.Templates -> D:\local\repository\build\Compile\Orchard.Templates.dll
  No way to resolve conflict between "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes". Choosing "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
  Orchard.Lists -> D:\local\repository\build\Compile\Orchard.Lists.dll
  Orchard.JobsQueue -> D:\local\repository\build\Compile\Orchard.JobsQueue.dll
  Orchard.ContentPreview -> D:\local\repository\build\Compile\Orchard.ContentPreview.dll
  Orchard.MediaLibrary.WebSearch -> D:\local\repository\build\Compile\Orchard.MediaLibrary.WebSearch.dll
  Orchard.WarmupStarter -> D:\local\repository\build\Compile\Orchard.WarmupStarter.dll
  Orchard.Web -> D:\local\repository\build\Compile\Orchard.Web.dll
  Orchard.Web.Tests -> D:\local\repository\build\Compile\Orchard.Web.Tests.dll
  Orchard.Specs -> D:\local\repository\build\Compile\Orchard.Specs.dll
  Orchard.Azure.Tests -> D:\local\repository\build\Compile\Orchard.Azure.Tests.dll
  Orchard.Framework -> D:\local\repository\src\Orchard\bin\Release\Orchard.Framework.dll
  Orchard.Core -> D:\local\repository\src\Orchard.Web\Core\bin\Orchard.Core.dll
  Orchard.Modules -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Modules\bin\Orchard.Modules.dll
  Orchard.Packaging -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Packaging\bin\Orchard.Packaging.dll
  Orchard.Themes -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Themes\bin\Orchard.Themes.dll
  Orchard.ContentTypes -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ContentTypes\bin\Orchard.ContentTypes.dll
  Orchard.Alias -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Alias\bin\Orchard.Alias.dll
  Orchard.Tokens -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Tokens\bin\Orchard.Tokens.dll
  Orchard.Autoroute -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Autoroute\bin\Orchard.Autoroute.dll
  Orchard.Localization -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Localization\bin\Orchard.Localization.dll
  Orchard.MediaLibrary -> D:\local\repository\src\Orchard.Web\Modules\Orchard.MediaLibrary\bin\Orchard.MediaLibrary.dll
  Orchard.Scripting -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Scripting\bin\Orchard.Scripting.dll
  Orchard.Conditions -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Conditions\bin\Orchard.Conditions.dll
  Markdown -> D:\local\repository\src\Orchard.Web\Modules\Markdown\bin\Markdown.dll
  Orchard.Forms -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Forms\bin\Orchard.Forms.dll
Migrations.cs(341,21): warning CS0618: 'PropertyRecord.RewriteOutput' is obsolete: 'Set RewriteOutputCondition to "true" instead.' [D:\local\repository\src\Orchard.Web\Modules\Orchard.Projections\Orchard.Projections.csproj]
  Orchard.Projections -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Projections\bin\Orchard.Projections.dll
  Orchard.Layouts -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Layouts\bin\Orchard.Layouts.dll
  Orchard.Widgets -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Widgets\bin\Orchard.Widgets.dll
  Orchard.Search -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Search\bin\Orchard.Search.dll
  No way to resolve conflict between "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes". Choosing "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
  Orchard.jQuery -> D:\local\repository\src\Orchard.Web\Modules\Orchard.jQuery\bin\Orchard.jQuery.dll
  Orchard.Media -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Media\bin\Orchard.Media.dll
  Orchard.MediaPicker -> D:\local\repository\src\Orchard.Web\Modules\Orchard.MediaPicker\bin\Orchard.MediaPicker.dll
  Orchard -> D:\local\repository\src\Tools\Orchard\bin\Release\Orchard.exe
  Orchard.Tests -> D:\local\repository\src\Tools\Orchard.Tests\bin\Release\Orchard.Tests.dll
  Orchard.PublishLater -> D:\local\repository\src\Orchard.Web\Modules\Orchard.PublishLater\bin\Orchard.PublishLater.dll
  Orchard.Azure.MediaServices -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Azure.MediaServices\bin\Orchard.Azure.MediaServices.dll
  Orchard.Warmup -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Warmup\bin\Orchard.Warmup.dll
  Orchard.CodeGeneration -> D:\local\repository\src\Orchard.Web\Modules\Orchard.CodeGeneration\bin\Orchard.CodeGeneration.dll
  MSBuild.Orchard.Tasks -> D:\local\repository\src\Tools\MSBuild.Orchard.Tasks\bin\Release\MSBuild.Orchard.Tasks.dll
  Orchard.Indexing -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Indexing\bin\Orchard.Indexing.dll
  Orchard.MultiTenancy -> D:\local\repository\src\Orchard.Web\Modules\Orchard.MultiTenancy\bin\Orchard.MultiTenancy.dll
  Orchard.ContentPicker -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ContentPicker\bin\Orchard.ContentPicker.dll
  Orchard.Pages -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Pages\bin\Orchard.Pages.dll
  Orchard.Framework.Tests -> D:\local\repository\src\Orchard.Tests\bin\Release\Orchard.Framework.Tests.dll
  Lucene -> D:\local\repository\src\Orchard.Web\Modules\Lucene\bin\Lucene.dll
  Orchard.Workflows -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Workflows\bin\Orchard.Workflows.dll
  Orchard.Comments -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Comments\bin\Orchard.Comments.dll
  Orchard.DesignerTools -> D:\local\repository\src\Orchard.Web\Modules\Orchard.DesignerTools\bin\Orchard.DesignerTools.dll
  Orchard.AntiSpam -> D:\local\repository\src\Orchard.Web\Modules\Orchard.AntiSpam\bin\Orchard.AntiSpam.dll
  Orchard.Fields -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Fields\bin\Orchard.Fields.dll
  Orchard.Scripting.CSharp -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Scripting.CSharp\bin\Orchard.Scripting.CSharp.dll
  Orchard.Taxonomies -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Taxonomies\bin\Orchard.Taxonomies.dll
  Orchard.Users -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Users\bin\Orchard.Users.dll
  Orchard.DynamicForms -> D:\local\repository\src\Orchard.Web\Modules\Orchard.DynamicForms\bin\Orchard.DynamicForms.dll
  Orchard.Email -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Email\bin\Orchard.Email.dll
  Orchard.Recipes -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Recipes\bin\Orchard.Recipes.dll
  Orchard.Setup -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Setup\bin\Orchard.Setup.dll
  Orchard.ImportExport -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ImportExport\bin\Orchard.ImportExport.dll
  Orchard.MediaProcessing -> D:\local\repository\src\Orchard.Web\Modules\Orchard.MediaProcessing\bin\Orchard.MediaProcessing.dll
  Orchard.Roles -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Roles\bin\Orchard.Roles.dll
  Orchard.Scripting.Dlr -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Scripting.Dlr\bin\Orchard.Scripting.Dlr.dll
  Orchard.Tags -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Tags\bin\Orchard.Tags.dll
  Orchard.TaskLease -> D:\local\repository\src\Orchard.Web\Modules\Orchard.TaskLease\bin\Orchard.TaskLease.dll
  Orchard.Tests.Modules -> D:\local\repository\src\Orchard.Tests.Modules\bin\Release\Orchard.Tests.Modules.dll
  SysCache -> D:\local\repository\src\Orchard.Web\Modules\SysCache\bin\SysCache.dll
  Orchard.Azure -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Azure\bin\Orchard.Azure.dll
  Themes -> D:\local\repository\src\Orchard.Web\Themes\bin\Themes.dll
  Orchard.MessageBus -> D:\local\repository\src\Orchard.Web\Modules\Orchard.MessageBus\bin\Orchard.MessageBus.dll
  Upgrade -> D:\local\repository\src\Orchard.Web\Modules\Upgrade\bin\Upgrade.dll
  Orchard.Projections.Tests -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Projections\Tests\bin\Orchard.Projections.Tests.dll
  Orchard.Caching -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Caching\bin\Orchard.Caching.dll
  Orchard.Glimpse -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Glimpse\bin\Orchard.Glimpse.dll
  Orchard.Tokens.Tests -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Tokens\Tests\bin\Orchard.Tokens.Tests.dll
  Orchard.SecureSocketsLayer -> D:\local\repository\src\Orchard.Web\Modules\Orchard.SecureSocketsLayer\bin\Orchard.SecureSocketsLayer.dll
  Orchard.ImageEditor -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ImageEditor\bin\Orchard.ImageEditor.dll
  Orchard.Rules -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Rules\bin\Orchard.Rules.dll
  TinyMce -> D:\local\repository\src\Orchard.Web\Modules\TinyMce\bin\TinyMce.dll
  Orchard.ContentPermissions -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ContentPermissions\bin\Orchard.ContentPermissions.dll
  Orchard.Profile -> D:\local\repository\src\Orchard.Profile\bin\Release\Orchard.Profile.dll
  Orchard.Migrations -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Migrations\bin\Orchard.Migrations.dll
  Orchard.ArchiveLater -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ArchiveLater\bin\Orchard.ArchiveLater.dll
  Orchard.OutputCache -> D:\local\repository\src\Orchard.Web\Modules\Orchard.OutputCache\bin\Orchard.OutputCache.dll
  Orchard.Redis -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Redis\bin\Orchard.Redis.dll
  Orchard.Dashboards -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Dashboards\bin\Orchard.Dashboards.dll
  Orchard.OpenId -> D:\local\repository\src\Orchard.Web\Modules\Orchard.OpenId\bin\Orchard.OpenId.dll
  Orchard.Core.Tests -> D:\local\repository\src\Orchard.Core.Tests\bin\Release\Orchard.Core.Tests.dll
  Orchard.Resources -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Resources\bin\Orchard.Resources.dll
  Orchard.CustomForms -> D:\local\repository\src\Orchard.Web\Modules\Orchard.CustomForms\bin\Orchard.CustomForms.dll
  Orchard.AuditTrail -> D:\local\repository\src\Orchard.Web\Modules\Orchard.AuditTrail\bin\Orchard.AuditTrail.dll
  Orchard.Blogs -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Blogs\bin\Orchard.Blogs.dll
  Orchard.Templates -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Templates\bin\Orchard.Templates.dll
  No way to resolve conflict between "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes". Choosing "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
  Orchard.Lists -> D:\local\repository\src\Orchard.Web\Modules\Orchard.Lists\bin\Orchard.Lists.dll
  Orchard.JobsQueue -> D:\local\repository\src\Orchard.Web\Modules\Orchard.JobsQueue\bin\Orchard.JobsQueue.dll
  Orchard.ContentPreview -> D:\local\repository\src\Orchard.Web\Modules\Orchard.ContentPreview\bin\Orchard.ContentPreview.dll
  Orchard.MediaLibrary.WebSearch -> D:\local\repository\src\Orchard.Web\Modules\Orchard.MediaLibrary.WebSearch\bin\Orchard.MediaLibrary.WebSearch.dll
  Orchard.WarmupStarter -> D:\local\repository\src\Orchard.WarmupStarter\bin\Release\Orchard.WarmupStarter.dll
  Orchard.Web -> D:\local\repository\src\Orchard.Web\bin\Orchard.Web.dll
  Orchard.Web.Tests -> D:\local\repository\src\Orchard.Web.Tests\bin\Release\Orchard.Web.Tests.dll
  Orchard.Specs -> D:\local\repository\src\Orchard.Specs\bin\Release\Orchard.Specs.dll
  Orchard.Azure.Tests -> D:\local\repository\src\Orchard.Azure.Tests\bin\Release\Orchard.Azure.Tests.dll
  MSBuild.Orchard.Tasks -> D:\local\repository\buildtasks\MSBuild.Orchard.Tasks.dll
Kudu syncing
Creating app_offline.htm
KuduSync.NET from: 'D:\local\repository\build\Precompiled' to: 'D:\home\site\wwwroot'
Copying file: 'App_Data\_marker.txt'
Copying file: 'bin\Orchard.Alias.dll'
Copying file: 'bin\Orchard.Alias.pdb'
Copying file: 'bin\Orchard.Autoroute.dll'
Copying file: 'bin\Orchard.Autoroute.pdb'
Copying file: 'bin\Orchard.Caching.dll'
Copying file: 'bin\Orchard.Caching.pdb'
Copying file: 'bin\Orchard.Conditions.dll'
Copying file: 'bin\Orchard.Conditions.pdb'
Copying file: 'bin\Orchard.ContentTypes.dll'
Copying file: 'bin\Orchard.ContentTypes.pdb'
Copying file: 'bin\Orchard.Core.dll'
Copying file: 'bin\Orchard.Core.pdb'
Copying file: 'bin\Orchard.Forms.dll'
Copying file: 'bin\Orchard.Forms.pdb'
Copying file: 'bin\Orchard.Glimpse.dll'
Copying file: 'bin\Orchard.Glimpse.pdb'
Copying file: 'bin\Orchard.Layouts.dll'
Copying file: 'bin\Orchard.Layouts.pdb'
Copying file: 'bin\Orchard.Localization.dll'
Copying file: 'bin\Orchard.Localization.pdb'
Copying file: 'bin\Orchard.MediaLibrary.dll'
Copying file: 'bin\Orchard.MediaLibrary.pdb'
Copying file: 'bin\Orchard.Modules.dll'
Copying file: 'bin\Orchard.Modules.pdb'
Copying file: 'bin\Orchard.Packaging.dll'
Copying file: 'bin\Orchard.Packaging.pdb'
Copying file: 'bin\Orchard.Projections.dll'
Copying file: 'bin\Orchard.Projections.pdb'
Copying file: 'bin\Orchard.Scripting.dll'
Copying file: 'bin\Orchard.Scripting.pdb'
Copying file: 'bin\Orchard.Themes.dll'
Copying file: 'bin\Orchard.Themes.pdb'
Copying file: 'bin\Orchard.Tokens.dll'
Copying file: 'bin\Orchard.Tokens.pdb'
Copying file: 'bin\Orchard.Users.dll'
Copying file: 'bin\Orchard.Users.pdb'
Copying file: 'bin\Orchard.Web.dll'
Copying file: 'bin\Orchard.Web.pdb'
Copying file: 'bin\Orchard.Widgets.dll'
Copying file: 'bin\Orchard.Widgets.pdb'
Copying file: 'bin\Orchard.Workflows.dll'
Copying file: 'bin\Orchard.Workflows.pdb'
Copying file: 'Config\HostComponents.config'
Copying file: 'Config\log4net.config'
Copying file: 'Modules\Lucene\bin\Lucene.dll'
Copying file: 'Modules\Lucene\bin\Lucene.pdb'
Copying file: 'Modules\Markdown\bin\Markdown.dll'
Omitting next output lines...
Deployment successfully

Website result
image

  • Installed with blog receipt
  • Use SQL Server Compact
  • Some custom Application settings
    image

Result on admin
image

@aaronamm aaronamm force-pushed the codesanook:convert-kudu-script-to-powershell branch from 8314756 to c610074 Feb 1, 2020
@aaronamm aaronamm force-pushed the codesanook:convert-kudu-script-to-powershell branch from c610074 to e6a818f Feb 1, 2020
@aaronamm aaronamm requested review from BenedekFarkas and sebastienros Feb 1, 2020
…if last exist code not zero
@aaronamm

This comment has been minimized.

Copy link
Contributor Author

aaronamm commented Feb 4, 2020

@sebastienros and @BenedekFarkas please review this PR.

@sebastienros sebastienros merged commit e4ac0c0 into OrchardCMS:dev Feb 6, 2020
1 check passed
1 check passed
license/cla All CLA requirements met.
Details
@aaronamm

This comment has been minimized.

Copy link
Contributor Author

aaronamm commented Feb 8, 2020

@sebastienros Thank you so much for merging the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.