Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualHardDisk: Resource for creating and attaching a virtual disk #279

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
6362e97
Add initial changes to add a Vhd resource and light up DSC_Disk to al…
bbonaby Sep 18, 2023
7b40e0c
update comments and add parameter validation to string parameters
bbonaby Sep 20, 2023
8f02260
update win32helpers so we can add tests
bbonaby Sep 24, 2023
811589d
add more tests
bbonaby Sep 24, 2023
7e687e9
Add more unit tests
bbonaby Sep 25, 2023
2621683
add more tests for the win32 helper
bbonaby Sep 25, 2023
72324b0
update comments
bbonaby Sep 25, 2023
0a611c9
update synopsis and fix test
bbonaby Sep 25, 2023
834658c
fix failing tests
bbonaby Sep 25, 2023
de44dc2
fix hqrmtests and add test coverage for disk type is fixed scenario
bbonaby Sep 25, 2023
66c5bcf
fix more hqrmtest failures that don't show up in ps5.1 but show up in…
bbonaby Sep 25, 2023
374103e
update resource to add more description about usage and limitations a…
bbonaby Oct 17, 2023
937e81f
remove no longer used function
bbonaby Oct 17, 2023
039539c
Merge branch 'main' into light-up-dev-drive-and-add-vhd-creation-support
bbonaby Oct 27, 2023
5cd777c
update based on comments, reword md file, and add parameter names to …
bbonaby Oct 28, 2023
a4f1d5c
update readme file
bbonaby Oct 28, 2023
ecba5e7
remove spaces in psd1 tags
bbonaby Oct 28, 2023
c1f9994
Merge branch 'main' into light-up-dev-drive-and-add-vhd-creation-support
bbonaby Oct 28, 2023
48d6689
Merge branch 'main' into light-up-dev-drive-and-add-vhd-creation-support
bbonaby Oct 31, 2023
12fb8b7
Merge branch 'main' into update-vhd-support
brandenbonaby Aug 6, 2024
2798946
Merge pull request #1 from bbonaby/update-vhd-support
bbonaby Aug 7, 2024
49ccf98
update based on PR comments and add an IsAdmin check
brandenbonaby Aug 7, 2024
9191a91
update pipeline based on comments
bbonaby Aug 20, 2024
bc94b2a
Add virtual hard disk integration tests
bbonaby Aug 20, 2024
3ebf094
Fix unit test
bbonaby Aug 20, 2024
49fb638
update based on comments
bbonaby Sep 13, 2024
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed minor markdown linting issues in README.md and used to issue BREAKING
CHANGE commit - Fixes [Issue #282](https://github.com/dsccommunity/StorageDsc/issues/282).
- Updated tag from 'Dev Drive' to 'DevDrive' in manifest file - Fixes [Issue #280](https://github.com/dsccommunity/StorageDsc/issues/280).
- Added DSC_VirtualHardDisk resource for creating virtual disks and tests - Fixes [Issue #277](https://github.com/dsccommunity/StorageDsc/issues/277)

### Changed

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The **StorageDsc** module contains the following resources:
disk drive (e.g. a CDROM or DVD drive). This resource ignores mounted ISOs.
- **WaitForDisk** wait for a disk to become available.
- **WaitForVolume** wait for a drive to be mounted and become available.
- **VirtualHardDisk** used to create and attach a virtual hard disk.

This project has adopted [this code of conduct](CODE_OF_CONDUCT.md).

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stages:
vmImage: 'windows-latest'
steps:
- pwsh: |
dotnet tool install --global GitVersion.Tool
dotnet tool install --global GitVersion.Tool --version 5.*
$gitVersionObject = dotnet-gitversion | ConvertFrom-Json
$gitVersionObject.PSObject.Properties.ForEach{
Write-Host -Object "Setting Task Variable '$($_.Name)' with value '$($_.Value)'."
Expand Down
Loading