adobe / adobe/aio-cli-plugin-cloudmanager

pipeline:update: Support changing the Prod Deploy Approval step

未关闭
#685 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
50
派生
36
PR 合并指标
30 天内没有已合并 PR

描述

**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).

贡献指南

打开贡献指南

调研方向

从 cloudmanager:pipeline:update 命令开始,跟踪其现有选项的处理方式。为生产 pipeline 添加所请求的 --prodDeploymentApproval true/false 行为,并确保非生产 pipeline 返回非零退出代码。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli, cloud
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。