Skip to content

Commit

Permalink
Merge pull request #111 from dsccommunity/DSC_ParameterStateUpdate
Browse files Browse the repository at this point in the history
Updating Resources for new DSCResource.Common
  • Loading branch information
NEllis280 authored Sep 14, 2022
2 parents 75c7d26 + 24043d3 commit 0d2f470
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed issue in Reverse DSC that affected collection query capture
when collection queries have quotes.

- Fixed an issue causing some tests to unexpectedly fail with a newer
version of DSCResource.Common

## [3.0.0] - 2022-01-03

### Added
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stages:
- job: Package_Module
displayName: 'Package Module'
pool:
vmImage: 'ubuntu 18.04'
vmImage: 'ubuntu 20.04'
steps:
- pwsh: |
dotnet tool install --global GitVersion.Tool
Expand Down Expand Up @@ -157,7 +157,7 @@ stages:
displayName: 'Publish Code Coverage'
dependsOn: Test_Unit
pool:
vmImage: 'ubuntu 18.04'
vmImage: 'ubuntu 20.04'
timeoutInMinutes: 0
steps:
- pwsh: |
Expand Down Expand Up @@ -207,7 +207,7 @@ stages:
- job: Deploy_Module
displayName: 'Deploy Module'
pool:
vmImage: 'ubuntu 18.04'
vmImage: 'ubuntu 20.04'
steps:
- task: DownloadBuildArtifacts@0
displayName: 'Download Build Artifact'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ function Test-TargetResource
'EnableBranchCache','EnableLedbat')
}

$result = Test-DscParameterState @testParams -Verbose
$result = Test-DscParameterState @testParams -Verbose -TurnOffTypeChecking

if ($BoundaryGroups)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function Test-TargetResource
'PxeServerResponseDelaySec','UserDeviceAffinity')
}

$returnValue = Test-DscParameterState @testParams -Verbose
$returnValue = Test-DscParameterState @testParams -Verbose -TurnOffTypeChecking

if ((-not [string]::IsNullOrEmpty($PxePassword)) -and ([string]::IsNullOrEmpty($state.PxePassword)))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function Test-TargetResource
ValuesToCheck = ('DatabaseName','DatabaseServerName','Username','FolderName','ReportServerInstance')
}

$result = Test-DscParameterState @testParams -Verbose
$result = Test-DscParameterState @testParams -Verbose -TurnOffTypeChecking

if ($FolderName -or $ReportServerInstance)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ function Test-TargetResource
ValuesToCheck = @('PublicFqdn','FdmOperation','UseSiteServerAccount','AccountName')
}

$result = Test-DscParameterState @testParams -Verbose
$result = Test-DscParameterState @testParams -Verbose -TurnOffTypeChecking

$proxyCheck = @('EnableProxy','ProxyServerName','ProxyServerPort','ProxyAccessAccount')

Expand Down

0 comments on commit 0d2f470

Please sign in to comment.