stefanstranger / psdscreleasepipeline

Design input on a PowerShell DSC Release Pipeline
Apache License 2.0
2 stars 0 forks source link

psdscreleasepipeline

Design input on a PowerShell DSC Release Pipeline

I would like to recieve input on designing a Release Pipeline for PowerShell DSC deployments.

Scenario

Implement a Release Pipeline for the deployment of PowerShell Desired State Configurations.

The goal is that all DSC Configurations and DSC Environment Configuration Data (separating Configuration and Environment Data) will be stored in Source Control and the Release Pipeline will continue to help deploy the Desired State Configuration to the Target Nodes.

The following highlevel DSC Deployment steps need to be implemented within the Release Pipeline:

  1. Create DSC Configuration script
  2. Commit DSC Configuration script
  3. Create Environmental DSC Configuration script
  4. Compile MOF file
  5. Rename MOF file to [Guid].mof file
  6. Create Checksum file for [Guid].mof file
  7. Copy [Guid].mof and Checksum files to Pull Server

Environment

Release Pipeline Module

Image

* from Whitepaper The Release Pipeline Model.

Design questions:

  1. Which deployment tasks\steps should be in Build, Test and Release?
  2. What should be tested?
  3. How should be tested? (Pester?, PSScriptAnalyzer?)

You can find a first design overview here

Can you please use the repo issues for feedback.

I really appreciate all the feedback I can get.

/Stefan

Discussion

Join the chat at https://gitter.im/psdscreleasepipeline/

References