Wait for approval with YAML
Tip
YAML parameters for Wait for approval
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to WAIT_FOR_APPLY . |
comment | String | The question displayed before accepting to continue the execution. |
permissions | PipelinePermissions | Define to set permissions for the action. |
YAML example for Wait for approval
actions:
- action: "Wait for apply"
type: "WAIT_FOR_APPLY"
trigger_time: "ON_EVERY_EXECUTION"
comment: "Do you want to deploy ${BUDDY_EXECUTION_REVISION} to Production?"
PipelinePermissions schema
Name | Type | Description |
---|---|---|
others | String | AccessLevel for the group Others. Can be one of DENIED , ALLOWED . Default setting is ALLOWED . |
users | UserPermission[] | The list of users who will be granted a permission other than the Others group. |
groups | GroupPermission[] | The group who will be granted a permission other than the Others group. |
permissions:
others: "DENIED"
users:
alex@buddy.works: "DENIED"
mike@buddy.works: "ALLOWED"
groups:
frontend: "DENIED"
backend: "ALLOWED"
Last update:
Sep 23, 2024
Sep 23, 2024