Reference

Table of Contents

Plans

Plans

cd4pe_plans::promote_modules

This plan will promote a list of modules to a specified stage.

Parameters

The following parameters are available in the cd4pe_plans::promote_modules plan:

modules

Data type: String[1]

The array of modules to promote, as a comma-separated string

workspace

Data type: String[1]

The workspace the pipelines live in

branch

Data type: String[1]

The branch the pipeline triggers on

Default value: 'master'

commit_sha

Data type: Optional[String[1]]

If left empty, the commit of the last pipeline run will be promoted. If specified, that commit (or branch reference) will be promoted. Obviously, specifying the same commit hash (instead a branch) for multiple modules doesn't really make sense.

Default value: undef

stage

Data type: String[1]

The stage to promote to

cd4pe_host

Data type: Optional[String[1]]

The host running the CD4PE application

Default value: $targets

cd4pe_email

Data type: String[1]

The email address of the CD4PE user

cd4pe_password

Data type: Sensitive[String[1]]

The CD4PE user password

targets

Data type: TargetSpec

The node to run the task on