dcloud ci environments reviewApprove or reject a job waiting at an environment
IAM ci:ReviewDeploymentsChanges state
Needs the IAM action AND a place on the environment’s reviewer list; with preventSelfReview, not the person who started the run. 409 when it was already decided.
Synopsis
dcloud ci environments review approvalId --decision decision [flags]Arguments
<approvalId>Requiredstring
Also accepted as
--approval-id. Constraints: uuid
Flags
--decisionRequiredenum
approve: the job goes on (after any wait timer); reject: the job fails at its protection step
One of:
approve,reject--commentOptionalstring
Kept with the decision and shown on the job, up to 2000 characters; blank: none
Constraints: max 2000 chars
Example
dcloud ci environments review approvalId --decision approveGenerated from the API description, the same one the API checks requests against and the CLI is built from.