Commands - liftopia/jarvis GitHub Wiki

jarvis I'm deploying <repo>/<pr#>

Immediately run the deployment of the requested pull request on the repo.

State Action Remedy
Active Deploy The command will fail. Finish or remove the active deploy. jarvis remove active deploy or jarvis I'm done deploying
No Queue The PR will be marked active and the deploy command run.
Next in Queue If you’ve queued this deploy and are next, jarvis will pop the deployment and make it the active deployment.
Not next in Queue If someone else is queued, the command will fail.
jarvis I'm deploying <repo>/master

Immediately run the deployment of the master branch of the repo.

State Action Remedy
Active Deploy The command will fail. Finish or remove the active deploy. jarvis remove active deploy or jarvis I'm done deploying
No Queue The master branch deploy will be marked active and the deploy command run.
Next in Queue If you’ve queued this deploy and are next, jarvis will pop the deployment and make it the active deployment.
Not next in Queue If someone else is queued, the command will fail.

It is uncommon to use this command via the queue. Use jarvis I'm really deploying <repo>/master to bypass the queue if there is one.

jarvis I'm really deploying <repo>/<pr#>

Force a deployment of the pull request and bypass the queue.

State Action Remedy
Active Deploy The command will fail. Finish or remove the active deploy. jarvis remove active deploy or jarvis I'm done deploying
No Queue The PR will be marked active and the deploy command run.
Not in Queue The PR will be marked active and the deploy command run.
In queue The deployment will be removed from the queue and activated.
jarvis I'm really deploying <repo>/master

Force a deployment of the master branch of the repo and bypass the queue.

State Action Remedy
Active Deploy The command will fail. Finish or remove the active deploy. jarvis remove active deploy or jarvis I'm done deploying
No Queue The master branch deploy will be marked active and the deploy command run.
Not in Queue The master branch deploy will be marked active and the deploy command run.
In queue The deployment will be removed from the queue and activated.
jarvis I'm done deploying

After the deployment is verified working, remove the active deploy, notify appropriate systems, and merge the associated Pull Request if there is one.

State Action Remedy
No Active Deploy None
Your Active Deploy, No Queue Remove active deploy, notify, track, merge, notify next deployer
Your Active Deploy, Queue Remove active deploy, notify, track, merge, harass devs to do more work
Not Your Active Deploy Error message and ignore jarvis remove active deploy or ask owner to finish the deployment
jarvis remove active deploy

Remove the currently active deployment, usually because of a failure or issue.

State Action Remedy
No Active Deploy Error message and ignore
No Github Account Notify lack of Github account, retry after completing jarvis I am <github username> and repeat
Active Deploy Removes active deploy, notifies on PRs, and replies
jarvis cancel <person> deploys

Clear all deploys for a particular user. When <person> is my, it uses your chat account information.

jarvis deployment history

List of the last 100 deployments.

jarvis who's next

Who's next in the deploy queue.

jarvis who's deploying?
jarvis list deployers
jarvis all deployers

Show a list of all deployers currently waiting in the queue.

jarvis deploy failed

Notify stathat that a particular deploy failed outside of the usual deployment process.

⚠️ **GitHub.com Fallback** ⚠️