Construct pipelines from code
If you manage your pipelines with code, rather than in the web UI, you can maintain a
record of pipeline changes over time. When you choose to manage pipelines with code, a
.cd4pe.yaml
file, containing the pipelines' definitions
for a control repo or module, is stored in your source control system alongside the Puppet code for that control repo or module.
-
Configure your pipelines for management with code
To manage pipelines-as-code, you need a.cd4pe.yaml
file containing the pipeline definitions. Use these steps to convert existing pipelines to code, update pipelines-as-code, or create new pipelines for new repos. -
.cd4pe.yaml file structure
When managing your pipelines with code, pipeline definitions are expressed in a structured format and stored in a.cd4pe.yaml
file that is stored in your control repo or module repo.