sampler-migration
Step-by-step guide for migrating a legacy PowerShell module project to the Sampler build framework. Covers migrating from AppVeyor, PSDepend, PSDeploy, Pester 4, and other legacy build systems to full Sampler scaffolding with ModuleBuilder, InvokeBuild, Pester 5, GitVersion, and Azure Pipelines. USE FOR: migrate to Sampler, Sampler setup, new Sampler project, legacy module migration, PSDepend to Sampler, AppVeyor to Sampler, PSDeploy to Sampler, Pester 4 to Pester 5, Sampler project structure, Sampler conventions. DO NOT USE FOR: debugging existing Sampler builds (use sampler-build-debug), Azure deployments, CI/CD pipeline config outside of Sampler.
- Compatibility
- Requires PowerShell 5.1+ with the Sampler, ModuleBuilder, InvokeBuild, and Pester 5 modules.
Pinned to revision 7a186c5dfcf8, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.