From 17a5c3d9cd6e9743d7fa2d13817f0ec4e1caa327 Mon Sep 17 00:00:00 2001 From: Amit Saraf Date: Tue, 18 Jun 2019 12:56:21 -0700 Subject: [PATCH 1/5] Download latest version (6.2.0) of PSDesiredStateConfiguration nuget package. --- src/powershell-unix/powershell-unix.csproj | 2 +- src/powershell-win-core/powershell-win-core.csproj | 2 +- tools/releaseBuild/signing.xml | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/powershell-unix/powershell-unix.csproj b/src/powershell-unix/powershell-unix.csproj index 0da368c68bf..cd6964652a0 100644 --- a/src/powershell-unix/powershell-unix.csproj +++ b/src/powershell-unix/powershell-unix.csproj @@ -38,7 +38,7 @@ - + diff --git a/src/powershell-win-core/powershell-win-core.csproj b/src/powershell-win-core/powershell-win-core.csproj index 66f248ae69d..c6e3ce5214d 100644 --- a/src/powershell-win-core/powershell-win-core.csproj +++ b/src/powershell-win-core/powershell-win-core.csproj @@ -53,7 +53,7 @@ - + diff --git a/tools/releaseBuild/signing.xml b/tools/releaseBuild/signing.xml index 8978f1796f9..95837fbeb05 100644 --- a/tools/releaseBuild/signing.xml +++ b/tools/releaseBuild/signing.xml @@ -37,7 +37,6 @@ - From 8b8e90c2ac8eb044b1741b0e3b8f992ac2866353 Mon Sep 17 00:00:00 2001 From: Amit Saraf Date: Tue, 25 Jun 2019 13:38:03 -0700 Subject: [PATCH 2/5] Download the PSDesiredStateConfiguration nuget package from powershell feed --- nuget.config | 1 + src/powershell-unix/powershell-unix.csproj | 2 +- src/powershell-win-core/powershell-win-core.csproj | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nuget.config b/nuget.config index 74cb0168d2f..6a443468441 100644 --- a/nuget.config +++ b/nuget.config @@ -2,6 +2,7 @@ + diff --git a/src/powershell-unix/powershell-unix.csproj b/src/powershell-unix/powershell-unix.csproj index cd6964652a0..e24c81471f6 100644 --- a/src/powershell-unix/powershell-unix.csproj +++ b/src/powershell-unix/powershell-unix.csproj @@ -38,7 +38,7 @@ - + diff --git a/src/powershell-win-core/powershell-win-core.csproj b/src/powershell-win-core/powershell-win-core.csproj index c6e3ce5214d..31bf3d1106d 100644 --- a/src/powershell-win-core/powershell-win-core.csproj +++ b/src/powershell-win-core/powershell-win-core.csproj @@ -53,7 +53,7 @@ - + From 91f794f387a4ff6dece014b9f9f974f0630511f2 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 25 Jun 2019 13:48:01 -0700 Subject: [PATCH 3/5] correct order of nuget feeds --- nuget.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuget.config b/nuget.config index 6a443468441..5ec994d9118 100644 --- a/nuget.config +++ b/nuget.config @@ -2,9 +2,9 @@ - + From 44197a4ae6b3469fb7d23715fb1c2255df32931c Mon Sep 17 00:00:00 2001 From: Amit Saraf Date: Tue, 25 Jun 2019 17:49:00 -0700 Subject: [PATCH 4/5] Fix DSC compilation test failures --- .../MOF-Compilation.Tests.ps1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 b/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 index 9f20cdad24f..3b3aa271ed2 100644 --- a/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 +++ b/test/powershell/Modules/PSDesiredStateConfiguration/MOF-Compilation.Tests.ps1 @@ -7,7 +7,14 @@ Describe "DSC MOF Compilation" -tags "CI" { } BeforeAll { - $env:DSC_HOME = Join-Path -Path (Join-Path -Path $PSScriptRoot -ChildPath assets) -ChildPath dsc + Import-Module PSDesiredStateConfiguration + $dscModule = Get-Module PSDesiredStateConfiguration + $baseSchemaPath = Join-Path $dscModule.ModuleBase 'Configuration' + $testResourceSchemaPath = Join-Path -Path (Join-Path -Path (Join-Path -Path $PSScriptRoot -ChildPath assets) -ChildPath dsc) schema + + # Copy test resources to PSDesiredStateConfiguration module + Copy-Item $testResourceSchemaPath $baseSchemaPath -Recurse -Force + $_modulePath = $env:PSModulePath $powershellexe = (get-process -pid $PID).MainModule.FileName $env:PSModulePath = join-path ([io.path]::GetDirectoryName($powershellexe)) Modules From 9635cd7b8a5dd9f222ff8a4dc5d6fe142dcfabb0 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 26 Jun 2019 15:17:35 -0700 Subject: [PATCH 5/5] Update files.wxs --- assets/files.wxs | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/assets/files.wxs b/assets/files.wxs index b678fdec060..76db49ee5dc 100644 --- a/assets/files.wxs +++ b/assets/files.wxs @@ -1667,6 +1667,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2940,6 +2972,14 @@ + + + + + + + +