We have an use case for conditional unblock the block step can be useful.
[dockerize-dev] -----> [block] ---> deploy-dev
[dockerize-prod] ------>[block]---> deploy-prod
Each metadata key/value will be generated by [dockerize-dev|prod] respectively, and once it fulfilled unblocked condition, [deploy-dev|prod] can be executed independently
IMHO, the syntax will look like:
steps:
- block: "Request Release"
unblock_when:
fields:
- key: "expected-metadata-key"
value: "expected-metadata-value"
Thanks!
Regards,
Kok Boon