YAML for Wait for apply
Pause pipeline execution and wait for manual approval before continuing.
YAML examples for Wait for apply
Wait for deployment approval
yaml
- action: "Wait for apply"
type: "WAIT_FOR_APPLY"
trigger_time: "ON_EVERY_EXECUTION"
comment: "Do you want to deploy ${BUDDY_RUN_COMMIT} to Production?"
Wait for approval by different user
yaml
- action: "Wait for apply"
type: "WAIT_FOR_APPLY"
trigger_time: "ON_EVERY_EXECUTION"
comment: "Do you want to deploy to Production?"
prevent_self_approval: true
Wait for approval with permissions
yaml
- action: "Wait for apply"
type: "WAIT_FOR_APPLY"
trigger_time: "ON_EVERY_EXECUTION"
comment: "Do you want to deploy?"
permissions:
others: "DENIED"
users:
alex: "DENIED"
mike: "ALLOWED"
groups:
frontend: "DENIED"
backend: "ALLOWED"