Sampler.DscPipeline
0.2.0-preview0012
Samper tasks for a DSC Pipeline using a Datum Yaml hierarchy.
Minimum PowerShell version
5.1
See the version list below for details.
Installation Options
Owners
Copyright
(c) SynEdgy Limited. All rights reserved.
Package Details
Author(s)
- Gael Colas
Tags
Functions
Get-DatumNodesRecursive Get-DscErrorMessage Get-DscMofEnvironment Get-DscMofVersion Get-FilteredConfigurationData Split-Array
Dependencies
Release Notes
## [0.2.0-preview0012] - 2023-03-20
### Added
- Adding pipeline tasks and commands from DSC Workshop.
- Small changes to support easier deployment for individual environments.
- Added scripts for compiling MOF and Meta MOF files without the need for the `rootConfig.ps1` script. It is now a self-contained task that takes parameters from the `Build.yml`.
- Having modules available more than once results in: ImportCimAndScriptKeywordsFromModule : "A second CIM class definition
for 'MSFT_PSRepository' was found while processing the schema file". Fixed that by using function 'Get-DscResourceFromModuleInFolder'.
This usually happens with 'PackageManagement' and 'PowerShellGet'
- The handling of the DSC MOF compilation has changed. The file 'RootConfiguration.ps1' is still used when present in the source of
the DSC project that uses 'Sampler.DscPipeline'. Same applies to the Meta MOF compilation script 'RootMetaMof.ps1'. If these
files don't exist, 'Sampler.DscPipeline' uses the scripts in 'ModuleRoot\Scripts'. To control which DSC composite and resource modules should be imported within the DSC configuration, add the section 'Sampler.DscPipeline' to the 'build.yml' as described
on top of the file 'CompileRootConfiguration.ps1'.
- Added error handling discovering 'CompileRootConfiguration.ps1' and 'RootMetaMof.ps1'
- Test cases updated to Pester 5.
- Fixing issue with ZipFile class not being present
- Fixing calculation of checksum if attribute NodeName is different to attribute Name (of YAML file)
- Increase build speed of root configuration by only importing required Composites/Resources
- Added ''UseEnvironment'' parameter to cater for RSOP for identical node names in different environments
- Adding Home.md to wikiSource and correct casing.
- Redesign of the function Split-Array. Most of the time it was not working as expected, especially when requesting larger ChunkCounts (see AutomatedLab/AutomatedLab.Common/#118).
- Improved error handling when compiling MOF files.
### Fixed
- Fixed regex for commit message `--Added new node`
- Fixed task `Compress_Artifact_Collections` fails when node is filtered
FileList
- Sampler.DscPipeline.nuspec
- Tasks\CompileRootConfiguration.build.ps1
- Sampler.DscPipeline.psm1
- Tasks\CompileDatumRsop.build.ps1
- Sampler.DscPipeline.psd1
- Tasks\CompressArtifactCollections.build.ps1
- en-US\Sampler.DscPipeline.strings.psd1
- Tasks\CompileRootMetaMof.build.ps1
- en-US\about_Sampler.DscPipeline.help.txt
- Tasks\TestConfigData.build.ps1
- Scripts\CompileRootConfiguration.ps1
- Tasks\LoadDatumConfigData.build.ps1
- Scripts\RootConfiguration.ps1
- Tasks\TestBuildAcceptance.build.ps1
- Scripts\RootMetaMof.ps1
- Tasks\TestDscResources.build.ps1
- Tasks\NewMofChecksums.build.ps1
- Tasks\CompressModulesWithChecksum.build.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.2.0 | 59 | 11/9/2024 |
0.2.0-previe... | 3,943 | 3/6/2024 |
0.2.0-previe... | 15,467 | 4/4/2023 |
0.2.0-previe... | 9 | 4/4/2023 |
0.2.0-previe... | 10 | 4/3/2023 |
0.2.0-previe... (current version) | 111 | 3/20/2023 |
0.2.0-previe... | 7 | 3/17/2023 |
0.2.0-previe... | 6 | 3/17/2023 |
0.2.0-previe... | 83 | 2/8/2023 |
0.2.0-previe... | 6 | 2/8/2023 |
0.2.0-previe... | 5 | 2/8/2023 |
0.2.0-previe... | 5 | 2/7/2023 |
0.2.0-previe... | 5 | 2/7/2023 |
0.2.0-previe... | 14 | 2/6/2023 |
0.2.0-previe... | 1,128 | 9/7/2022 |
0.2.0-previe... | 1,415 | 4/14/2022 |
0.2.0-previe... | 1,985 | 1/24/2022 |
0.1.1-previe... | 254 | 1/11/2022 |
0.1.1-previe... | 11 | 1/8/2022 |
0.1.1-previe... | 45 | 12/28/2021 |
0.1.1-previe... | 139 | 10/21/2021 |