dsccommunity / StorageDsc

DSC resource module is used to manage storage on Windows Servers.
https://dsccommunity.org
MIT License
66 stars 51 forks source link

DiskIdentifier: Add FriendlyName as a disk identifier to Disk, DiskAccessPath and Wai… #269

Closed dshelb closed 1 year ago

dshelb commented 1 year ago

Pull Request (PR) description

This PR introduces support for using disk friendly name as a disk identifier in disk-related resources Disk, DiskAccessPath and WaitForDisk. It also pins the build agent vmAgent to ubuntu-20.04.

This Pull Request (PR) fixes the following issues Fixes https://github.com/dsccommunity/StorageDsc/issues/268 Fixes https://github.com/dsccommunity/StorageDsc/issues/270

Task list


This change is Reviewable

codecov[bot] commented 1 year ago

Codecov Report

Merging #269 (ba349ef) into main (7aa733b) will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##           main   #269   +/-   ##
===================================
  Coverage    95%    95%           
===================================
  Files         7      7           
  Lines       882    882           
===================================
  Hits        842    842           
  Misses       40     40           
Impacted Files Coverage Δ
...sources/DSC_DiskAccessPath/DSC_DiskAccessPath.psm1 89% <ø> (ø)
.../DSCResources/DSC_WaitForDisk/DSC_WaitForDisk.psm1 100% <ø> (ø)
...e/Modules/StorageDsc.Common/StorageDsc.Common.psm1 100% <ø> (ø)
source/DSCResources/DSC_Disk/DSC_Disk.psm1 98% <100%> (ø)
PlagueHO commented 1 year ago

/AzurePipelines run

azure-pipelines[bot] commented 1 year ago
Azure Pipelines successfully started running 1 pipeline(s).