Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
c09f886
`Test-SqlDscRSAccessible`: command to verify accessibility sites
johlju Jan 6, 2026
0ce262a
Refactor integration tests to use Test-SqlDscRSAccessible for ReportS…
johlju Jan 6, 2026
7d0f52e
Add new SQL Server Reporting Services commands for Power BI Report Se…
johlju Jan 6, 2026
5bf57f2
Update Test-SqlDscRSAccessible to use Get-ComputerName for default Se…
johlju Jan 6, 2026
7a1d6cf
Enhance Test-SqlDscRSAccessible to return detailed site accessibility…
johlju Jan 6, 2026
ac278a3
Refactor integration tests to remove unnecessary skips and enhance ac…
johlju Jan 6, 2026
b03b3e4
Refactor error handling in Test-SqlDscRSAccessible to use New-ErrorRe…
johlju Jan 6, 2026
0c7740f
Add service restart checks in integration tests for Reporting Service…
johlju Jan 7, 2026
03a7700
Refactor error handling in Test-SqlDscRSAccessible to use New-ErrorRe…
johlju Jan 7, 2026
4c66f13
Temporarily disable integration test stages for Reporting Services de…
johlju Jan 7, 2026
ca20a6f
Remove duplicate Remove-SqlDscRSUrlReservation integration test entri…
johlju Jan 7, 2026
c8b313d
Refactor integration tests for URL reservations: reintroduce Get-SqlD…
johlju Jan 7, 2026
32d2ba3
Enhance integration tests for URL reservations: add tests for ReportS…
johlju Jan 7, 2026
40bf969
Enhance integration tests for Set-SqlDscRSVirtualDirectory: add tests…
johlju Jan 7, 2026
7a69141
Enhance Test-SqlDscRSAccessible: add retry logic for transient 5xx se…
johlju Jan 7, 2026
58cc36c
Enable Quality and Integration Test stages in azure-pipelines.yml for…
johlju Jan 7, 2026
47887f8
Add deployment guide for Power BI Report Server using SqlServerDsc
johlju Jan 7, 2026
6458525
Update deployment guide for Power BI Report Server: improve password …
johlju Jan 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Added public command `Test-SqlDscRSAccessible` to verify that SQL Server
Reporting Services or Power BI Report Server web sites are accessible.
Supports both CIM configuration input (with dynamic `-Site` parameter) and
explicit URIs. Includes retry logic and optional detailed output with HTTP
status codes.
- Added post-initialization integration tests for RS commands
(`Post.Initialization.RS.Integration.Tests.ps1`) to verify that SSRS and
PBIRS sites are fully accessible after `Initialize-SqlDscRS` runs.
- Added public command `Request-SqlDscRSDatabaseScript` to generate T-SQL scripts
for creating report server databases. Wraps the `GenerateDatabaseCreationScript`
CIM method and supports configuring database name, language (LCID), and
Expand Down Expand Up @@ -189,6 +197,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
by calling the `InitializeReportServer` CIM method. Used to complete initial
configuration after database and URL setup
([issue #2014](https://github.com/dsccommunity/SqlServerDsc/issues/2014)).
- Added public command `Request-SqlDscRSDatabaseUpgradeScript` to generate a
T-SQL script for upgrading the report server database schema. Wraps the
`GenerateDatabaseUpgradeScript` CIM method.

### Changed

Expand Down
51 changes: 24 additions & 27 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ stages:
publishLocation: 'pipeline'
parallel: true

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Quality_Test_and_Unit_Test
displayName: 'Quality Test and Unit Test'
dependsOn: Build
condition: false
jobs:
- job: Determine_DSC_Resource_Test_Requirements
displayName: 'Determine DSC Resource Test Requirements'
Expand Down Expand Up @@ -235,9 +237,11 @@ stages:
bash <(curl -s https://codecov.io/bash) -f "./$(buildFolderName)/$(testResultFolderName)/JaCoCo_coverage.xml" -F unit
displayName: 'Publish Code Coverage to Codecov.io'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Commands_SqlServer
displayName: 'Integration Test Commands - SQL Server'
dependsOn: Quality_Test_and_Unit_Test
condition: false
jobs:
- job: Test_Integration
displayName: 'Commands'
Expand Down Expand Up @@ -404,9 +408,11 @@ stages:
testResultsFiles: '$(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
testRunTitle: 'Integration Commands ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Commands_SqlServer_PreparedImage
displayName: 'Integration Test Commands - SQL Server (Prepared Image)'
dependsOn: Quality_Test_and_Unit_Test
condition: false
jobs:
- job: Test_Integration_PreparedImage
displayName: 'Commands - Prepared Image'
Expand Down Expand Up @@ -481,7 +487,8 @@ stages:

- stage: Integration_Test_Commands_ReportingServices
displayName: 'Integration Test Commands - Reporting Services'
dependsOn: Integration_Test_Commands_SqlServer
# TEMPORARILY CHANGED FOR DEBUGGING - was: dependsOn: Integration_Test_Commands_SqlServer
dependsOn: Build
jobs:
- job: Test_Integration
displayName: 'Commands'
Expand Down Expand Up @@ -557,6 +564,8 @@ stages:
'tests/Integration/Commands/Test-SqlDscRSInitialized.Integration.Tests.ps1'
# Group 4
'tests/Integration/Commands/Initialize-SqlDscRS.Integration.Tests.ps1'
# Group 5 - Post-initialization validation
'tests/Integration/Commands/Post.Initialization.RS.Integration.Tests.ps1'
# Group 8
'tests/Integration/Commands/Repair-SqlDscReportingService.Integration.Tests.ps1'
# Group 9
Expand All @@ -574,7 +583,8 @@ stages:

- stage: Integration_Test_Commands_BIReportServer
displayName: 'Integration Test Commands - BI Report Server'
dependsOn: Integration_Test_Commands_SqlServer
# TEMPORARILY CHANGED FOR DEBUGGING - was: dependsOn: Integration_Test_Commands_SqlServer
dependsOn: Build
jobs:
- job: Test_Integration
displayName: 'Commands'
Expand Down Expand Up @@ -640,6 +650,8 @@ stages:
'tests/Integration/Commands/Test-SqlDscRSInitialized.Integration.Tests.ps1'
# Group 4
'tests/Integration/Commands/Initialize-SqlDscRS.Integration.Tests.ps1'
# Group 5 - Post-initialization validation
'tests/Integration/Commands/Post.Initialization.RS.Integration.Tests.ps1'
# Group 8
'tests/Integration/Commands/Repair-SqlDscPowerBIReportServer.Integration.Tests.ps1'
# Group 9
Expand All @@ -655,14 +667,11 @@ stages:
testResultsFiles: '$(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
testRunTitle: 'Integration Commands ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Resources_SqlServer
displayName: 'Integration Test Resources - SQL Server'
dependsOn: Quality_Test_and_Unit_Test
condition: |
and(
succeeded(),
eq(lower(dependencies.Quality_Test_and_Unit_Test.outputs['Determine_DSC_Resource_Test_Requirements.determineDscResourceTests.ShouldRunDscResourceIntegrationTests']), 'true')
)
condition: false
jobs:
- job: Test_Integration
displayName: 'Integration'
Expand Down Expand Up @@ -753,14 +762,11 @@ stages:
testResultsFiles: '$(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
testRunTitle: 'Integration Resources ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Resources_SqlServer_dbatools
displayName: 'Integration Test Resources - SQL Server (dbatools)'
dependsOn: Integration_Test_Resources_SqlServer
condition: |
and(
succeeded(),
eq(lower(dependencies.Quality_Test_and_Unit_Test.outputs['Determine_DSC_Resource_Test_Requirements.determineDscResourceTests.ShouldRunDscResourceIntegrationTests']), 'true')
)
condition: false
jobs:
- job: Test_Integration
displayName: 'Integration'
Expand Down Expand Up @@ -848,14 +854,11 @@ stages:
testResultsFiles: '$(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
testRunTitle: 'Integration (dbatools) ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Resources_ReportingServices
displayName: 'Integration Test Resources - Reporting Services'
dependsOn: Integration_Test_Resources_SqlServer
condition: |
and(
succeeded(),
eq(lower(dependencies.Quality_Test_and_Unit_Test.outputs['Determine_DSC_Resource_Test_Requirements.determineDscResourceTests.ShouldRunDscResourceIntegrationTests']), 'true')
)
condition: false
jobs:
- job: Test_Integration
displayName: 'Integration'
Expand Down Expand Up @@ -924,14 +927,11 @@ stages:
testResultsFiles: '$(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
testRunTitle: 'Integration RS ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Resources_PowerBIReportServer
displayName: 'Integration Test Resources - Power BI Report Server'
dependsOn: Quality_Test_and_Unit_Test
condition: |
and(
succeeded(),
eq(lower(dependencies.Quality_Test_and_Unit_Test.outputs['Determine_DSC_Resource_Test_Requirements.determineDscResourceTests.ShouldRunDscResourceIntegrationTests']), 'true')
)
condition: false
jobs:
- job: Test_Integration
displayName: 'Integration'
Expand Down Expand Up @@ -991,14 +991,11 @@ stages:
testResultsFiles: '$(buildFolderName)/$(testResultFolderName)/NUnit*.xml'
testRunTitle: 'Integration RS ($(TEST_CONFIGURATION) / $(JOB_VMIMAGE))'

# TEMPORARILY DISABLED FOR DEBUGGING RS INTEGRATION TESTS
- stage: Integration_Test_Resources_ReportingServices_dbatools
displayName: 'Integration Test Resources - Reporting Services (dbatools)'
dependsOn: Integration_Test_Resources_SqlServer
condition: |
and(
succeeded(),
eq(lower(dependencies.Quality_Test_and_Unit_Test.outputs['Determine_DSC_Resource_Test_Requirements.determineDscResourceTests.ShouldRunDscResourceIntegrationTests']), 'true')
)
condition: false
jobs:
- job: Test_Integration
displayName: 'Integration'
Expand Down
1 change: 0 additions & 1 deletion source/Public/Add-SqlDscRSUrlReservation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
#>
function Add-SqlDscRSUrlReservation
{
# cSpell: ignore PBIRS
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('UseSyntacticallyCorrectExamples', '', Justification = 'Because the examples use pipeline input the rule cannot validate.')]
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'Medium')]
[OutputType([System.Object])]
Expand Down
1 change: 0 additions & 1 deletion source/Public/Disable-SqlDscRsSecureConnection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
#>
function Disable-SqlDscRsSecureConnection
{
# cSpell: ignore PBIRS
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('UseSyntacticallyCorrectExamples', '', Justification = 'Because the examples use pipeline input the rule cannot validate.')]
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'Medium')]
[Alias('Disable-SqlDscRSTls')]
Expand Down
1 change: 0 additions & 1 deletion source/Public/Enable-SqlDscRsSecureConnection.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
#>
function Enable-SqlDscRsSecureConnection
{
# cSpell: ignore PBIRS
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('UseSyntacticallyCorrectExamples', '', Justification = 'Because the examples use pipeline input the rule cannot validate.')]
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'Medium')]
[Alias('Enable-SqlDscRSTls')]
Expand Down
1 change: 0 additions & 1 deletion source/Public/Remove-SqlDscRSUrlReservation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
#>
function Remove-SqlDscRSUrlReservation
{
# cSpell: ignore PBIRS
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('UseSyntacticallyCorrectExamples', '', Justification = 'Because the examples use pipeline input the rule cannot validate.')]
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'High')]
[OutputType([System.Object])]
Expand Down
1 change: 0 additions & 1 deletion source/Public/Set-SqlDscRSUrlReservation.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
#>
function Set-SqlDscRSUrlReservation
{
# cSpell: ignore PBIRS
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('UseSyntacticallyCorrectExamples', '', Justification = 'Because the examples use pipeline input the rule cannot validate.')]
[CmdletBinding(SupportsShouldProcess = $true, ConfirmImpact = 'High')]
[OutputType([System.Object])]
Expand Down
Loading
Loading