Add POST /apps/{id}/deployments/cancel endpoint that allows users to
cancel in-progress deployments via the web UI.
Changes:
- Add CancelDeploy() and HasActiveDeploy() public methods to deploy service
- Add HandleCancelDeploy handler
- Wire route in routes.go
- Add cancel button to app detail template (shown during active deployments)
- Add handler tests for cancel endpoint
fixes #66
|
||
|---|---|---|
| .. | ||
| app_detail.html | ||
| app_edit.html | ||
| app_new.html | ||
| base.html | ||
| dashboard.html | ||
| deployments.html | ||
| login.html | ||
| setup.html | ||
| templates.go | ||