PowerShell module toolbox and templates for Continuous Delivery
summary
Scaffolding and CI that actually deliver: a single build script bootstraps dependencies with PSDepend dependency resolution, merges scattered source files into one fast-loading artifact with ModuleBuilder merges sources into one psm1, runs Pester tests run on Windows Mac Linux and PSScriptAnalyzer linting, enforces a committed changelog entry before release, and uses GitVersion automated versioning to calculate releases. Output includes docs, help, required modules and a publish step to PowerShell Gallery; adopted by ~50 DSC modules and ~20–30 enterprises in the speaker’s experience and the demo publishes successfully (gallery speed varies).
AI-written summary · about
chapters (14)
- 0:00Sampler project intro
- 4:57Task order in PowerShell
- 8:12Sampler components
- 11:43New Sampler project setup
- 17:28Classes and DSC resources
- 23:05Testing with Pester
- 27:04Customizing build tasks
- 31:33Linting with Script Analyzer
- 32:57Changelog and versioning
- 37:57Sampler on CI/CD platforms
- 41:06Project structure
- 44:31Artifacts vs source code
- 45:37Deploying to PowerShell Gallery
- 49:58Git versioning
related talks
01h 11mFree Continuous Delivery to the PowerShell Gallery with Azure DevOps
48mAn Opinionated DSC Solution, with Tooling
45mDon’t Stop at the PowerShell Pipeline. Build a CI/CD Pipeline for your PowerShell
50mGet control of you Git: Managing PS module binaries using VSTS CI/CD and...
47mDeploying software and scripts using ...
46mFrom Script to Tool: Building Robust, Meaningful Tools with PowerShell
44mSipping psake: Creating a Build and Release Pipeline for ...
48mInvoke-Build: PowerShell in CI/CD
