Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
0bc2dab
`Install-SqlDscServer`: Move parameter sets to seperate commands
johlju Jan 4, 2026
20a73e6
Fix path to build script in BeforeDiscovery block
johlju Jan 4, 2026
e031b1f
Cleanup: Remove unnecessary default parameter values in integration t…
johlju Jan 4, 2026
379cb93
Refactor integration tests for Install-SqlDscFailoverCluster: streaml…
johlju Jan 4, 2026
c45316e
Update expected parameters format in Initialize-SqlDscFailoverCluster…
johlju Jan 4, 2026
9736edd
Fix regex for MockExpectedRegEx in Initialize-SqlDscFailoverCluster t…
johlju Jan 4, 2026
a2c8ad4
Update expected parameters format in Initialize-SqlDscImage tests for…
johlju Jan 4, 2026
359eed4
Update expected parameters format and regex patterns in Update-SqlDsc…
johlju Jan 4, 2026
478a8f3
Update expected parameters format and regex patterns in Update-SqlDsc…
johlju Jan 4, 2026
78a0b5d
Fix casing for mock parameter set name in Update-SqlDscServer tests
johlju Jan 5, 2026
7099a42
Add BeforeEach block to Update-SqlDscServer tests for parameter setup
johlju Jan 5, 2026
8e58377
Fix casing for mock parameter set name and add test for optional Time…
johlju Jan 5, 2026
57992bb
Fix casing for mock parameter set name and add tests for mandatory pa…
johlju Jan 5, 2026
a4717cf
Add -Force parameter to Update-SqlDscServer call in tests for correct…
johlju Jan 5, 2026
8731efc
Escape forward slash in argument list for Start-SqlSetupProcess comma…
johlju Jan 5, 2026
4603026
Add test for optional Timeout parameter in Update-SqlDscServer
johlju Jan 5, 2026
458345a
Add tests for optional IAcknowledgeEntCalLimits parameter and Timeout…
johlju Jan 5, 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
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
from `SqlResourceBase` and supports a default namespace parameter to avoid
repeating the full type name
([issue #2174](https://github.com/dsccommunity/SqlServerDsc/issues/2174)).
- Added public command `Initialize-SqlDscImage` to prepare a SQL Server image
for later configuration with `Complete-SqlDscImage`. Extracted from
`Install-SqlDscServer` PrepareImage parameter set
([issue #2396](https://github.com/dsccommunity/SqlServerDsc/issues/2396)).
- Added public command `Update-SqlDscServerEdition` to upgrade the edition of an
existing SQL Server instance using the EditionUpgrade setup action
([issue #2393](https://github.com/dsccommunity/SqlServerDsc/issues/2393)).
- Added public command `Update-SqlDscServer` to upgrade an existing SQL Server
instance to a newer version using the Upgrade setup action
([issue #2394](https://github.com/dsccommunity/SqlServerDsc/issues/2394)).
- Added public command `Initialize-SqlDscFailoverCluster` to prepare a failover
cluster node for later completion with `Complete-SqlDscFailoverCluster`.
Extracted from `Install-SqlDscServer` PrepareFailoverCluster parameter set
([issue #2395](https://github.com/dsccommunity/SqlServerDsc/issues/2395)).
- Added public command `Install-SqlDscFailoverCluster` to install SQL Server in
a failover cluster configuration. Extracted from `Install-SqlDscServer`
InstallFailoverCluster parameter set.

### Changed

- `Install-SqlDscServer`
- **BREAKING CHANGE:** Removed `PrepareImage`, `Upgrade`, `EditionUpgrade`,
`PrepareFailoverCluster`, and `InstallFailoverCluster` parameter sets. Use
the new dedicated commands `Initialize-SqlDscImage`, `Update-SqlDscServer`,
`Update-SqlDscServerEdition`, `Initialize-SqlDscFailoverCluster`, and
`Install-SqlDscFailoverCluster` instead
([issue #2393](https://github.com/dsccommunity/SqlServerDsc/issues/2393))
([issue #2394](https://github.com/dsccommunity/SqlServerDsc/issues/2394))
([issue #2395](https://github.com/dsccommunity/SqlServerDsc/issues/2395))
([issue #2396](https://github.com/dsccommunity/SqlServerDsc/issues/2396)).
- Removed misleading Uninstall parameter documentation from comment-based help
([issue #2448](https://github.com/dsccommunity/SqlServerDsc/issues/2448)).
- `SqlRS`
Expand Down
6 changes: 5 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,10 @@ stages:
'tests/Integration/Commands/ConvertTo-SqlDscFileGroup.Integration.Tests.ps1'
'tests/Integration/Commands/ConvertTo-SqlDscDataFile.Integration.Tests.ps1'
'tests/Integration/Commands/Get-SqlDscSetupLog.Integration.Tests.ps1'
'tests/Integration/Commands/Update-SqlDscServer.Integration.Tests.ps1'
'tests/Integration/Commands/Update-SqlDscServerEdition.Integration.Tests.ps1'
'tests/Integration/Commands/Initialize-SqlDscFailoverCluster.Integration.Tests.ps1'
'tests/Integration/Commands/Install-SqlDscFailoverCluster.Integration.Tests.ps1'
'tests/Integration/Commands/Connect-SqlDscDatabaseEngine.Integration.Tests.ps1'
'tests/Integration/Commands/Disconnect-SqlDscDatabaseEngine.Integration.Tests.ps1'
'tests/Integration/Commands/Invoke-SqlDscQuery.Integration.Tests.ps1'
Expand Down Expand Up @@ -459,7 +463,7 @@ stages:
'tests/Integration/Commands/Save-SqlDscSqlServerMediaFile.Integration.Tests.ps1'
'tests/Integration/Commands/Import-SqlDscPreferredModule.Integration.Tests.ps1'
# Group 1
'tests/Integration/Commands/Install-SqlDscServer.Integration.PrepareImage.Tests.ps1'
'tests/Integration/Commands/Initialize-SqlDscImage.Integration.Tests.ps1'
# Group 2
'tests/Integration/Commands/Complete-SqlDscImage.Integration.Tests.ps1'
# Group 9
Expand Down
Loading