aio-cli-plugin-cloudmanager icon indicating copy to clipboard operation
aio-cli-plugin-cloudmanager copied to clipboard

pipeline:update: Support changing the Prod Deploy Approval step

Open f000 opened this issue 4 months ago • 0 comments

Is your feature request related to a problem? Please describe. We are using the CM CLI tool extensively to manage our pipelines and executions. Unfortunately, not all options available in the CM UI are available in the CLI and this is causing a lot of troubles.

Describe the solution you'd like Please add new option for cloudmanager:pipeline:update, with the same functionality as the "Pause before deploying to Production" checkbox field available in the UI of a production pipeline. New option might be called --prodDeploymentApproval (true/false) and it should work only when the pipeline is a production pipeline. If the pipeline is not a production pipeline, the usage of this option should result in a non-zero exit code.

Describe alternatives you've considered Programmatic workaround is not possible here because this option is not yet supported by the Cloud Manager API itself (or at least it is not documented).

f000 avatar Feb 20 '24 13:02 f000