Skip to content

Commit a2b0d40

Browse files
authored
Install-SqlDscServer: Move parameter sets to seperate commands (#2399)
1 parent 79e3a0c commit a2b0d40

19 files changed

+3113
-1495
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
142142
from `SqlResourceBase` and supports a default namespace parameter to avoid
143143
repeating the full type name
144144
([issue #2174](https://github.com/dsccommunity/SqlServerDsc/issues/2174)).
145+
- Added public command `Initialize-SqlDscImage` to prepare a SQL Server image
146+
for later configuration with `Complete-SqlDscImage`. Extracted from
147+
`Install-SqlDscServer` PrepareImage parameter set
148+
([issue #2396](https://github.com/dsccommunity/SqlServerDsc/issues/2396)).
149+
- Added public command `Update-SqlDscServerEdition` to upgrade the edition of an
150+
existing SQL Server instance using the EditionUpgrade setup action
151+
([issue #2393](https://github.com/dsccommunity/SqlServerDsc/issues/2393)).
152+
- Added public command `Update-SqlDscServer` to upgrade an existing SQL Server
153+
instance to a newer version using the Upgrade setup action
154+
([issue #2394](https://github.com/dsccommunity/SqlServerDsc/issues/2394)).
155+
- Added public command `Initialize-SqlDscFailoverCluster` to prepare a failover
156+
cluster node for later completion with `Complete-SqlDscFailoverCluster`.
157+
Extracted from `Install-SqlDscServer` PrepareFailoverCluster parameter set
158+
([issue #2395](https://github.com/dsccommunity/SqlServerDsc/issues/2395)).
159+
- Added public command `Install-SqlDscFailoverCluster` to install SQL Server in
160+
a failover cluster configuration. Extracted from `Install-SqlDscServer`
161+
InstallFailoverCluster parameter set.
145162

146163
### Changed
147164

148165
- `Install-SqlDscServer`
166+
- **BREAKING CHANGE:** Removed `PrepareImage`, `Upgrade`, `EditionUpgrade`,
167+
`PrepareFailoverCluster`, and `InstallFailoverCluster` parameter sets. Use
168+
the new dedicated commands `Initialize-SqlDscImage`, `Update-SqlDscServer`,
169+
`Update-SqlDscServerEdition`, `Initialize-SqlDscFailoverCluster`, and
170+
`Install-SqlDscFailoverCluster` instead
171+
([issue #2393](https://github.com/dsccommunity/SqlServerDsc/issues/2393))
172+
([issue #2394](https://github.com/dsccommunity/SqlServerDsc/issues/2394))
173+
([issue #2395](https://github.com/dsccommunity/SqlServerDsc/issues/2395))
174+
([issue #2396](https://github.com/dsccommunity/SqlServerDsc/issues/2396)).
149175
- Removed misleading Uninstall parameter documentation from comment-based help
150176
([issue #2448](https://github.com/dsccommunity/SqlServerDsc/issues/2448)).
151177
- `SqlRS`

azure-pipelines.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ stages:
299299
'tests/Integration/Commands/ConvertTo-SqlDscFileGroup.Integration.Tests.ps1'
300300
'tests/Integration/Commands/ConvertTo-SqlDscDataFile.Integration.Tests.ps1'
301301
'tests/Integration/Commands/Get-SqlDscSetupLog.Integration.Tests.ps1'
302+
'tests/Integration/Commands/Update-SqlDscServer.Integration.Tests.ps1'
303+
'tests/Integration/Commands/Update-SqlDscServerEdition.Integration.Tests.ps1'
304+
'tests/Integration/Commands/Initialize-SqlDscFailoverCluster.Integration.Tests.ps1'
305+
'tests/Integration/Commands/Install-SqlDscFailoverCluster.Integration.Tests.ps1'
302306
'tests/Integration/Commands/Connect-SqlDscDatabaseEngine.Integration.Tests.ps1'
303307
'tests/Integration/Commands/Disconnect-SqlDscDatabaseEngine.Integration.Tests.ps1'
304308
'tests/Integration/Commands/Invoke-SqlDscQuery.Integration.Tests.ps1'
@@ -459,7 +463,7 @@ stages:
459463
'tests/Integration/Commands/Save-SqlDscSqlServerMediaFile.Integration.Tests.ps1'
460464
'tests/Integration/Commands/Import-SqlDscPreferredModule.Integration.Tests.ps1'
461465
# Group 1
462-
'tests/Integration/Commands/Install-SqlDscServer.Integration.PrepareImage.Tests.ps1'
466+
'tests/Integration/Commands/Initialize-SqlDscImage.Integration.Tests.ps1'
463467
# Group 2
464468
'tests/Integration/Commands/Complete-SqlDscImage.Integration.Tests.ps1'
465469
# Group 9

0 commit comments

Comments
 (0)