Last modified: 2014-04-22 21:21:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60893 - provide a way to list active tag on all minions
provide a way to list active tag on all minions
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-05 13:24 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-04-22 21:21 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-02-05 13:24:47 UTC
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.
Comment 1 Ryan Lane 2014-02-05 17:16:57 UTC
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
Comment 2 Ryan Lane 2014-02-05 17:20:13 UTC
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
Comment 3 Antoine "hashar" Musso (WMF) 2014-02-05 20:36:33 UTC
> 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
Comment 4 Ryan Lane 2014-03-03 22:44:09 UTC
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).
Comment 5 Bryan Davis 2014-04-22 20:58:20 UTC
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
Comment 6 Antoine "hashar" Musso (WMF) 2014-04-22 21:21:23 UTC
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 :-]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links