Sampler

0.101.0-preview0001

Sample Module with Pipeline scripts and its Plaster template to create a module following some of the community accepted practices.

Minimum PowerShell version

5.0

This is a prerelease version of Sampler.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Sampler -RequiredVersion 0.101.0-preview0001 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Sampler -Version 0.101.0-preview0001 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Gael Colas. All rights reserved.

Package Details

Author(s)

  • Gael Colas

Tags

Template pipeline plaster DesiredStateConfiguration DSC DSCResourceKit DSCResource Windows MacOS Linux

Functions

Get-Something

DSCResources

DSC_Folder

Dependencies

Release Notes

## [0.101.0-preview0001] - 2020-02-07

### Changed

- Added warning messages to all build task if the task couldn't be imported because of an invalid PSD1 file

## [0.100.0] - 2020-02-01

### Added

- Added the option to specify `CodeCoverageOutputFile` and `CodeCoverageOutputFileEncoding`
 in the file `build.yml`. For example if a code coverage provider need the
 file to be named in a certain way.

### Changed

- Added new common functions for build tasks to reduce code duplication.

## [0.99.4] - 2020-01-22

### Changed

- Removed Azure-Pipelines.yml on simple module type.
- Ensuring Pester version above 4.0 is used and loaded.
- build.yaml, RequiredModules.psd1 and Resolve-Dependency.psd1 are now templated
assets with conditional content.
- HQRM tests to run only when using the dsccommunity module type.
- Updated simple module to not contain sample scripts & tests.
- supports setting CustomRepo to pull dependencies from a private gallery
other than PSGallery.
- Update the plaster template to replace 'synedgy' with 'dsccommunity' if
 the module type is 'dsccommunity'.

## [0.99.3] - 2020-01-21

### Changed

- The deploy step is no longer run if the Azure DevOps organization URL
 does not contain 'synedgy'.

## [0.99.2] - 2020-01-16

### Added

- VSCode template setting `pipelineIndentationStyle`.

## [0.99.1] - 2020-01-16

### Fixed

- Update GitVersion.yml with the correct regular expression.
- Fix casing in key names in `azure-pipelines.yml`.

### Changed

- Set a display name on all the jobs and tasks in the CI pipeline.
- Azure Pipelines will no longer trigger on changes to just the CHANGELOG.md.

## [0.99.0] - 2020-01-01

### Changed

- Updated `build.ps1` to add DscTestTag, DscTestExcludeTag parameters.
- Updated module manifest to support PS 5.0.
- updated Contributing.md to redirect to dsccommunity.org
- Set `testRunTitle` for PublishTestResults steps in `azure-pipelines.yml`
 so that a helpful name is displayed in Azure DevOps for each test run.
- Removed unnecessary comments from `azure-pipelines.yml`.

## [0.98.1] - 2019-12-24

### Fixed

- Fixing the codecoverage threshold issues reported by Daniel (As param set to 0 should not bypass).

### Removed

- Removing QA tests from dsccommunity template.

## [0.98.0] - 2019-12-22

### Added

- Added Module manifest in build.psd1 template to fix issue resolving Project on linux.
- Added DSC Resources & Supporting modules (including one from PSGallery, one from source).
- Added PesterScript parameter in Build.ps1 so that it can be overridden at runtime (in azure-pipelines.yml).
- Added `Modules` commented out to the `build.yml`
- Added CodeCoverageThreshold parameter to fail when under threshold
 (configurable in `build.yaml`). Will skip all code coverage when set to 0
 (build.ps1 parameter override build.yml config).
- Added Tasks.json with build and test tasks.
 (VSCode bug when you click on Problems, Integrated terminal crashes).

### Changed

- Made Code Coverage threshold to load from config file, and be skipped completely if set to 0 or absent.
- Updating Code of Conduct to the DSC Community one.

### Fixed

- Made build.ps1 & Resolve-Dependency.ps1 compliant with DSC Style guidelines
- removed unnecessary file from Plaster template

## [0.96.0] - 2019-11-01

### Fixed

- Fixed when the SourcePath is not enough for finding ModuleManifest (ModuleBuilder bug)

## [0.95.1] - 2019-11-01

### Changed

- Updating QA tests function discovery to look within loaded module

## [0.95.0] - 2019-11-01

### Added

- Support for Pester parameter in Config File
- Making Plaster Template Discoverable by Get-PlasterTemplate -IncludeInstalledModules

## [0.93.2] - 2019-10-30

### Fixed

- Template not including RootModule anymore
- Uncomment ReleaseNotes from module manifest before updating
- Skip Changelog test when not in a git repo

## [0.93.1] - 2019-10-29

### Added

- Shields badge on the readme page
- Release notes to module manifest

### Changed

- Changelog compiled to release notes
- use release notes for publishing to GH

### Fixed

- fixed template
- fixed the publishing to also pack Nupkg
- Added hidden files as template assets
- fixed git test to skip test on new module scaffolding
- fixed default DscResources from copy-item in build yaml

### Removed

- old file reference with wrong case
- remove kitchen yaml from template

## [v0.92.2] - 2019-10-15

### Fixed

- Add condition to trigger deployment stage when building a tag (not master)

## [v0.92.0] - 2019-10-15

### Fixed

- Fixing GitHub config for creating Changelog PR

### Changed

- Changed the Tags trigger to include "v*" but still exclude "*-*"

## [v0.91.6] - 2019-10-11

### Added

- Packaging module to nupkg
- Adding Auto-creation of GitHub PR for Changelog update on release

### Changed

- for changes in existing functionality.
- changed continuous deployment to continuous delivery in gitversion
- extracted GitHub functions into separate file

### Deprecated

- for soon-to-be removed features.

### Security

- in case of vulnerabilities.

### Fixed

- Fixing Create ChangeLog PR Get-Variable
- fixing versioning by reverting to gitversions' continuousDeployment mode
- fixed #22: marking github releases as pre-release when there's a PreReleaseTag
- fix call to add assets to GH release.
- for any bug fixes.

### Removed

- for now removed features.

## [v0.0.1] - 2019-10-04

### Added

- dummy release for example

FileList

Version History

Version Downloads Last updated
0.118.0-prev... 1,014 2/9/2024
0.118.0-prev... 1,077 1/13/2024
0.118.0-prev... 293 1/7/2024
0.117.1-prev... 4 1/7/2024
0.117.1-prev... 502 12/24/2023
0.117.0 105,077 9/29/2023
0.117.0-prev... 192 9/24/2023
0.117.0-prev... 25 9/21/2023
0.117.0-prev... 1,632 7/1/2023
0.116.6-prev... 4 6/30/2023
0.116.5 84,203 4/19/2023
0.116.5-prev... 164 4/17/2023
0.116.4 3,242 4/6/2023
0.116.4-prev... 5 4/6/2023
0.116.3 1,605 4/1/2023
0.116.3-prev... 4 4/1/2023
0.116.3-prev... 638 3/7/2023
0.116.2 10,215 3/1/2023
0.116.2-prev... 7 3/1/2023
0.116.2-prev... 1,048 1/24/2023
0.116.1 11,932 1/9/2023
0.116.0 26,847 11/8/2022
0.116.0-prev... 13 11/8/2022
0.116.0-prev... 34 11/1/2022
0.116.0-prev... 9 11/1/2022
0.116.0-prev... 10 11/1/2022
0.116.0-prev... 9 11/1/2022
0.116.0-prev... 789 8/3/2022
0.116.0-prev... 11 8/1/2022
0.116.0-prev... 751 7/9/2022
0.115.0 4,706 6/9/2022
0.115.0-prev... 454 5/29/2022
0.115.0-prev... 9 5/28/2022
0.115.0-prev... 130 5/23/2022
0.115.0-prev... 51 5/21/2022
0.115.0-prev... 49 5/20/2022
0.114.1-prev... 21 5/20/2022
0.114.0 1,469 5/13/2022
0.113.0-prev... 10 5/13/2022
0.112.4-prev... 26 5/13/2022
0.112.4-prev... 19 5/13/2022
0.112.3 1,769 3/31/2022
0.112.3-prev... 9 3/31/2022
0.112.2 528 3/20/2022
0.112.2-prev... 10 3/20/2022
0.112.2-prev... 827 2/16/2022
0.112.2-prev... 271 1/26/2022
0.112.1 2,405 1/23/2022
0.112.1-prev... 9 1/23/2022
0.112.1-prev... 9 1/23/2022
0.112.1-prev... 9 1/23/2022
0.112.1-prev... 308 12/1/2021
0.112.1-prev... 141 11/15/2021
0.112.1-prev... 162 10/1/2021
0.112.0 4,290 9/23/2021
0.112.0-prev... 19 9/8/2021
0.112.0-prev... 9 9/8/2021
0.112.0-prev... 12 9/5/2021
0.112.0-prev... 48 8/18/2021
0.111.8 1,311 8/8/2021
0.111.8-prev... 14 8/7/2021
0.111.7 235 7/31/2021
0.111.7-prev... 57 7/30/2021
0.111.7-prev... 72 7/28/2021
0.111.6 677 7/3/2021
0.111.6-prev... 21 7/2/2021
0.111.6-prev... 11 7/1/2021
0.111.5 269 6/25/2021
0.111.5-prev... 10 6/25/2021
0.111.5-prev... 95 6/17/2021
0.111.4 492 6/3/2021
0.111.4-prev... 9 6/3/2021
0.111.3 536 5/21/2021
0.111.3-prev... 9 5/21/2021
0.111.2 29 5/21/2021
0.111.2-prev... 9 5/21/2021
0.111.1 377 5/15/2021
0.111.1-prev... 10 5/15/2021
0.111.1-prev... 10 5/15/2021
0.111.0 195 5/13/2021
0.111.0-prev... 12 5/13/2021
0.111.0-prev... 11 5/13/2021
0.111.0-prev... 11 5/13/2021
0.111.0-prev... 68 5/7/2021
0.111.0-prev... 10 5/6/2021
0.111.0-prev... 19 5/4/2021
0.111.0-prev... 66 4/20/2021
0.111.0-prev... 62 4/16/2021
0.110.2-prev... 24 4/14/2021
0.110.2-prev... 54 4/13/2021
0.110.1 1,000 4/8/2021
0.110.1-prev... 12 4/8/2021
0.110.0 19 4/8/2021
0.110.0-prev... 10 4/8/2021
0.110.0-prev... 10 4/7/2021
0.110.0-prev... 10 4/7/2021
0.110.0-prev... 10 4/7/2021
0.109.11-pre... 18 3/29/2021
0.109.10 666 3/24/2021
0.109.10-pre... 14 3/22/2021
0.109.9 256 3/20/2021
0.109.9-prev... 10 3/20/2021
0.109.8 24 3/20/2021
0.109.8-prev... 11 3/20/2021
0.109.7 17 3/20/2021
0.109.7-prev... 11 3/20/2021
0.109.6 224 3/18/2021
0.109.6-prev... 14 3/18/2021
0.109.6-prev... 18 3/16/2021
0.109.5 376 3/10/2021
0.109.5-prev... 17 3/10/2021
0.109.5-prev... 19 3/10/2021
0.109.5-prev... 39 3/8/2021
0.109.5-prev... 11 3/7/2021
0.109.4 481 3/6/2021
0.109.4-prev... 12 3/6/2021
0.109.3 876 2/16/2021
0.109.3-prev... 12 2/16/2021
0.109.2 856 1/13/2021
0.109.2-prev... 13 1/13/2021
0.109.2-prev... 12 1/13/2021
0.109.1 320 1/6/2021
0.109.1-prev... 12 1/4/2021
0.109.1-prev... 12 12/29/2020
0.109.0 1,115 11/24/2020
0.109.0-prev... 11 11/24/2020
0.109.0-prev... 18 11/19/2020
0.109.0-prev... 12 11/18/2020
0.109.0-prev... 11 10/13/2020
0.108.0 704 9/14/2020
0.108.0-prev... 10 9/13/2020
0.108.0-prev... 9 9/13/2020
0.107.4-prev... 9 9/12/2020
0.107.4-prev... 9 9/11/2020
0.107.3 210 9/10/2020
0.107.3-prev... 9 9/10/2020
0.107.2 205 9/8/2020
0.107.2-prev... 10 9/8/2020
0.107.1 176 9/8/2020
0.107.1-prev... 10 9/7/2020
0.107.0 167 9/7/2020
0.107.0-prev... 9 9/7/2020
0.107.0-prev... 10 9/7/2020
0.106.1 205 8/30/2020
0.106.1-prev... 10 8/30/2020
0.106.0 186 8/30/2020
0.106.0-prev... 10 8/29/2020
0.106.0-prev... 18 8/21/2020
0.106.0-prev... 31 8/19/2020
0.106.0-prev... 11 8/18/2020
0.106.0-prev... 12 8/8/2020
0.105.7-prev... 15 7/11/2020
0.105.6 1,894 6/1/2020
0.105.6-prev... 10 6/1/2020
0.105.5 275 5/29/2020
0.105.5-prev... 11 5/29/2020
0.105.5-prev... 10 5/29/2020
0.105.4 170 5/29/2020
0.105.4-prev... 10 5/29/2020
0.105.4-prev... 10 5/28/2020
0.105.3 857 5/9/2020
0.105.3-prev... 10 5/9/2020
0.105.2 654 5/1/2020
0.105.2-prev... 10 5/1/2020
0.105.2-prev... 10 5/1/2020
0.105.2-prev... 10 4/24/2020
0.105.2-prev... 10 4/24/2020
0.105.1 476 4/24/2020
0.105.1-prev... 10 4/24/2020
0.105.0 297 4/21/2020
0.105.0-prev... 10 4/21/2020
0.105.0-prev... 10 4/18/2020
0.104.0 3,378 4/18/2020
0.104.0-prev... 10 4/18/2020
0.104.0-prev... 10 4/17/2020
0.103.0 205 4/17/2020
0.103.0-prev... 10 4/17/2020
0.102.1 1,331 2/21/2020
0.102.1-prev... 13 2/18/2020
0.102.1-prev... 12 2/18/2020
0.102.0 271 2/14/2020
0.102.0-prev... 13 2/14/2020
0.102.0-prev... 13 2/12/2020
0.101.0 248 2/10/2020
0.101.0-prev... 12 2/10/2020
0.101.0-prev... 12 2/7/2020
0.101.0-prev... (current version) 12 2/7/2020
0.100.0 450 2/1/2020
0.100.0-prev... 12 2/1/2020
0.99.4 387 1/22/2020
0.99.4-previ... 14 1/22/2020
0.99.4-previ... 13 1/22/2020
0.99.4-previ... 12 1/22/2020
0.99.3 179 1/21/2020
0.99.3-previ... 12 1/21/2020
0.99.2 296 1/16/2020
0.99.2-previ... 13 1/16/2020
0.99.1 151 1/16/2020
0.99.1-previ... 12 1/16/2020
0.99.1-previ... 14 1/9/2020
0.99.1-previ... 12 1/7/2020
0.99.1-previ... 12 1/7/2020
0.99.0 681 1/1/2020
0.99.0-previ... 12 1/1/2020
0.99.0-previ... 12 1/1/2020
0.99.0-previ... 12 1/1/2020
0.99.0-previ... 16 12/28/2019
0.99.0-previ... 13 12/28/2019
0.99.0-previ... 12 12/26/2019
0.98.1 512 12/24/2019
0.98.1-previ... 13 12/24/2019
0.98.1-previ... 12 12/23/2019
0.98.0 189 12/22/2019
0.98.0-previ... 13 12/22/2019
0.98.0-previ... 13 12/21/2019
0.97.0 447 12/9/2019
0.97.0-previ... 12 12/9/2019
0.96.1-previ... 13 11/8/2019
0.96.1-previ... 12 11/5/2019
0.96.0 337 11/1/2019
0.96.0-previ... 13 11/1/2019
0.95.2-previ... 13 11/1/2019
0.95.1 188 11/1/2019
0.95.1-previ... 12 11/1/2019
0.95.1-previ... 12 11/1/2019
0.95.0 174 11/1/2019
0.95.0-previ... 12 11/1/2019
0.94.0 177 10/30/2019
0.94.0-previ... 13 10/30/2019
0.94.0-previ... 13 10/30/2019
0.93.3-previ... 12 10/30/2019
0.93.2 173 10/30/2019
0.93.2-previ... 12 10/30/2019
0.93.2-previ... 12 10/30/2019
0.93.2-previ... 11 10/29/2019
0.93.1 180 10/29/2019
0.93.1-previ... 13 10/29/2019
0.93.1-previ... 12 10/29/2019
0.93.0 172 10/29/2019
0.93.0-previ... 12 10/29/2019
0.93.0-previ... 12 10/29/2019
0.93.0-previ... 11 10/23/2019
0.93.0-previ... 11 10/23/2019
0.93.0-previ... 19 10/22/2019
0.93.0-previ... 14 10/20/2019
0.92.2-previ... 12 10/15/2019
0.92.1 200 10/15/2019
0.92.1-previ... 11 10/15/2019
0.92.0 171 10/15/2019
0.92.0-previ... 11 10/14/2019
0.92.0-previ... 12 10/14/2019
0.92.0-previ... 11 10/14/2019
0.92.0-previ... 11 10/14/2019
0.91.7-previ... 11 10/11/2019
0.91.6 174 10/11/2019
0.91.6-previ... 12 10/10/2019
0.91.6-previ... 11 10/10/2019
0.91.6-previ... 11 10/10/2019
0.89.7-previ... 12 10/10/2019
Show less