dcloud ci environments review

Approve 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>Required

    string

    Also accepted as --approval-id. Constraints: uuid

Flags

  • --decisionRequired

    enum

    approve: the job goes on (after any wait timer); reject: the job fails at its protection step

    One of: approve, reject

  • --commentOptional

    string

    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 approve

Generated from the API description, the same one the API checks requests against and the CLI is built from.