Page MenuHomePhabricator

provide a way to list active tag on all minions
Closed, ResolvedPublic

Description

It would be very helpful to have a command in git-deploy which would connect to all minions and show the HEAD / tag checked out. That would let one ensure that the repository has been deployed properly on all minions.


Version: wmf-deployment
Severity: normal

Details

Reference
bz60893

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:57 AM
bzimport added a project: Deployments.
bzimport set Reference to bz60893.

The deploy-info tool will show you what is currently deployed:

deploy-info --help

In the new frontend (which we'll switch to soonish), this is built into the tool itself:

git deploy report sync --detailed

It would be nice to be able to refresh this data at any point, though. I've added this as an issue upstream:

https://github.com/trebuchet-deploy/trebuchet/issues/6
https://github.com/trebuchet-deploy/trigger/issues/10

The deploy-info tool will show you what is currently deployed:

deploy-info --help

Well hidden :-D

By making a symbolic link to git-deploy-info, folks would be able to auto complete: git deploy-info

When I switch things to trigger (tomorrow) it'll be:

git deploy report sync

and it'll be in the help docs (git deploy help).

Output from deployment-bastion:

deployment-bastion:/srv/deployment/kibana/kibana  (git master)
bd808$ git deploy report sync
Repo: kibana/kibana
Tag: kibana/kibana-sync-20140331-155719

1/1 minions completed fetch; 1/1 minions completed checkout

deployment-bastion:/srv/deployment/elasticsearch/plugins  (git (elasticsearch/plugins-start-20140415-201312))
bd808$ git deploy report sync
Repo: elasticsearch/plugins
Tag: elasticsearch/plugins-sync-20140415-201314

0/5 minions completed fetch; 0/5 minions completed checkout

So Ryan did implement the feature and we got it deployed on the cluster. Thanks Ryan for the implementation and Bryan for confirming it works :-]