mark_vcs_deployed
Records a PR/MR change as deployed by setting deployed_sha, deployed_env and deployed_at on the link, and releases dependents waiting on its deployed dependency edge. Repeat reports are safe.
Instructions
Record that the change behind a PR/MR link is deployed: sets deployed_sha, deployed_env and deployed_at (now) on the link and releases the dependents waiting on a deployed dependency edge of this card. Reporting the same sha and env again is safe: the first deployed_at stands. The link must be a pr link of task_id (link ids are in get_task vcs_links and in the add_vcs_link result).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Environment, 1-32 chars of a-z, 0-9, _ or -, e.g. production. | |
| sha | Yes | The deployed commit, 40 lowercase hex. | |
| link_id | Yes | VCS link ID. | |
| task_id | Yes | Task ID. |