FerryDocs
ArchitectureDeploy pipeline

Cancel

What a cancel does depends on the state of the deploy.

Edit on GitHub

queued. The engine cancels the deploy immediately.

1 / 5
A cancel at each state

Send a cancel

Terminal
ferry cancel DEPLOY_ID

The API call is POST /api/v1/deploys/{id}/cancel.

The two refusals

After the switch
too late to cancel: traffic was already switched to deploy dep-… (roll back to undo it)
Finished
deploy dep-… is already canceled

The second message gives the final status of the deploy, here canceled.

Suspend and delete

If you suspend or delete a service, the engine cancels its queued deploys and its deploys in progress in the same way.

For the user view, see Cancel a deploy.

On this page