Skip to content

Add documentation about using abort to leave queue #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ Deploys are tracked per channel. This means that different channels can run diff

<img src="../master/docs/deploy-abort-reason.png" alt="Deploy aborted with reason announcement" height="42">

**Note: If you are currently waiting on the queue, you can use `abort` to remove yourself from it without impacting the current lock.**

### Deploy status in channel topic

In addition to announcing deploys in channel you may find it useful to have a small sign in the channel topic. This way you can quickly check
Expand Down
2 changes: 1 addition & 1 deletion bot/response_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const (
/deploy <subject> — announce deploy of <subject> in channel
/deploy status — show deploy status in channel
/deploy done — finish deploy
/deploy abort [<reason>] — abort current deploy, optionally providing a reason
/deploy abort [<reason>] — abort current deploy, optionally providing a reason, or remove yourself from queue
/deploy history — get a link to history of deploys in this channel`
errorMessage = "`%s` returned an error %s"
noRunningDeploysMessage = "No one is deploying at the moment"
Expand Down