File tree Expand file tree Collapse file tree 10 files changed +31
-1084
lines changed
Expand file tree Collapse file tree 10 files changed +31
-1084
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424- Change Azure DevOps Pipeline definition to include ` source/* ` - fixes [ Issue #75 ] ( https://github.com/dsccommunity/WSManDsc/issues/75 ) .
2525- Updated pipeline to use ` latest ` version of ` ModuleBuilder ` - fixes [ Issue #75 ] ( https://github.com/dsccommunity/WSManDsc/issues/75 ) .
2626- Merge ` HISTORIC_CHANGELOG.md ` into ` CHANGELOG.md ` - fixes [ Issue #76 ] ( https://github.com/dsccommunity/WSManDsc/issues/76 ) .
27+ - WSManDsc
28+ - Updated to use the common module _ DscResource.Common_ - Fixes [ Issue #78 ] ( https://github.com/dsccommunity/WSManDsc/issues/78 ) .
29+ - Fixed build failures caused by changes in ` ModuleBuilder ` module v1.7.0
30+ by changing ` CopyDirectories ` to ` CopyPaths ` - Fixes [ Issue #79 ] ( https://github.com/dsccommunity/WSManDsc/issues/79 ) .
31+ - Pin ` Pester ` module to 4.10.1 because Pester 5.0 is missing code
32+ coverage - Fixes [ Issue #78 ] ( https://github.com/dsccommunity/WSManDsc/issues/78 ) .
2733
2834## [ 3.1.1] - 2020-01-31
2935
Original file line number Diff line number Diff line change 11@ {
2- PSDependOptions = @ {
2+ PSDependOptions = @ {
33 AddToPath = $True
44 Target = ' output\RequiredModules'
55 Parameters = @ {
99
1010 InvokeBuild = ' latest'
1111 PSScriptAnalyzer = ' latest'
12- Pester = ' latest '
12+ Pester = ' 4.10.1 '
1313 Plaster = ' latest'
1414 ModuleBuilder = ' latest'
1515 ChangelogManagement = ' latest'
1616 Sampler = ' latest'
1717 ' DscResource.Test' = ' latest'
1818 ' DscResource.AnalyzerRules' = ' latest'
1919 ' DscResource.DocGenerator' = ' latest'
20+ ' DscResource.Common' = ' latest'
2021 xDscResourceDesigner = ' latest'
2122}
Original file line number Diff line number Diff line change 22# ###################################################
33# ModuleBuilder Configuration #
44# ###################################################
5- CopyDirectories :
5+ CopyPaths :
66 - en-US
77 - DSCResources
8- - Modules
98Encoding : UTF8
109VersionedOutputDirectory : true
1110
11+ # ###################################################
12+ # ModuleBuilder Dependent Modules Configuration #
13+ # ###################################################
14+
15+ NestedModule :
16+ DscResource.Common :
17+ CopyOnly : true
18+ Path : ./output/RequiredModules/DscResource.Common
19+ AddToManifest : false
20+ Exclude : PSGetModuleInfo.xml
21+
1222# ###################################################
1323# Pipeline Configuration #
1424# ###################################################
@@ -47,6 +57,7 @@ BuildWorkflow:
4757Pester :
4858 OutputFormat : NUnitXML
4959 ExcludeFromCodeCoverage :
60+ - Modules/DscResource.Common
5061 Script :
5162 - tests/Unit
5263 ExcludeTag :
@@ -59,6 +70,8 @@ DscTest:
5970 - ' Common Tests - New Error-Level Script Analyzer Rules'
6071 ExcludeSourceFile :
6172 - output
73+ ExcludeModuleFile :
74+ - Modules/DscResource.Common
6275
6376Resolve-Dependency :
6477 Gallery : ' PSGallery'
Original file line number Diff line number Diff line change 11$modulePath = Join-Path - Path (Split-Path - Path (Split-Path - Path $PSScriptRoot - Parent) - Parent) - ChildPath ' Modules'
22
3- # Import the Networking Resource Helper Module
4- Import-Module - Name (Join-Path - Path $modulePath `
5- - ChildPath (Join-Path - Path ' WSManDsc.Common' `
6- - ChildPath ' WSManDsc.Common.psm1' ))
3+ Import-Module - Name (Join-Path - Path $modulePath - ChildPath ' DscResource.Common' )
74
85# Import Localization Strings
9- $script :localizedData = Get-LocalizedData - ResourceName ' DSC_WSManConfig '
6+ $script :localizedData = Get-LocalizedData - DefaultUICulture ' en-US '
107
118<#
129 This is an array of all the parameters used by this resource.
Original file line number Diff line number Diff line change 11$modulePath = Join-Path - Path (Split-Path - Path (Split-Path - Path $PSScriptRoot - Parent) - Parent) - ChildPath ' Modules'
22
3- # Import the Networking Resource Helper Module
4- Import-Module - Name (Join-Path - Path $modulePath `
5- - ChildPath (Join-Path - Path ' WSManDsc.Common' `
6- - ChildPath ' WSManDsc.Common.psm1' ))
3+ Import-Module - Name (Join-Path - Path $modulePath - ChildPath ' DscResource.Common' )
74
85# Import Localization Strings
9- $script :localizedData = Get-LocalizedData - ResourceName ' DSC_WSManListener'
6+ $script :localizedData = Get-LocalizedData - DefaultUICulture ' en-US'
7+
108
119# Standard Transport Ports
1210$Default_HTTP_Port = 5985
Original file line number Diff line number Diff line change 11$modulePath = Join-Path - Path (Split-Path - Path (Split-Path - Path $PSScriptRoot - Parent) - Parent) - ChildPath ' Modules'
22
3- # Import the Networking Resource Helper Module
4- Import-Module - Name (Join-Path - Path $modulePath `
5- - ChildPath (Join-Path - Path ' WSManDsc.Common' `
6- - ChildPath ' WSManDsc.Common.psm1' ))
3+ Import-Module - Name (Join-Path - Path $modulePath - ChildPath ' DscResource.Common' )
74
85# Import Localization Strings
9- $script :localizedData = Get-LocalizedData - ResourceName ' DSC_WSManServiceConfig '
6+ $script :localizedData = Get-LocalizedData - DefaultUICulture ' en-US '
107
118<#
129 This is an array of all the parameters used by this resource.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments