Whatsdeployed

11 November 2015   4 comments   Python, Web development, Mozilla

https://whatsdeployed.io/

Whatsdeployed was a tool I developed for my work at Mozilla. I think many other organizations can benefit from using it too.

So, on many sites, what we do when deploying a site, is that we note which git sha was used and write that to a file which is then exposed via the web server. Like this for example. If you know that sha and what's at the tip of the master branch on the project's GitHub page, you can build up an interesting dashboard that allows you to see what's available and what's been deployed.

Sample Whatsdeployed screen for the Mozilla Socorro project
The other really useful case is when you have more than just one environment. For example, you might have a dev, stage and prod environment and, always lastly, the master branch on GitHub. Now you can see what code has been shipped on prod versus your staging environment for example.

This is one of those far too few projects that you build quickly one Friday afternoon and it turns out to be surprisingly useful to a lot of people. I for one, check various projects like this several times per day.

The code is on GitHub and it's basically a tiny bit of Flask with some jQuery doing a couple of AJAX requests. If you enjoy it and use it, please share.

UPDATE

Blogged about a facelift, Jan 2018

Comments

Marcus Bajohr
The link in 'Whatsdeployed was a ...' has lost a s ;-)
Peter Bengtsson
Thank you!
Stephen Paulger
Looks like a very handy tool and simple to integrate too.

The link on the first word of the article is missing an "s".
Peter Bengtsson
Thank you for the correction!

Your email will never ever be published


Related posts

Previous:
Chainable catches in a JavaScript promise 05 November 2015
Next:
Screenshot-sharing performance comparison 13 November 2015
Related by Keyword:
Whatsdeployed facelift 05 January 2018
Whatsdeployed on only one site 26 February 2016
hashin - a replacement for peepin 26 January 2016
Related by Text:
jQuery and Highslide JS 08 January 2008
I'm back! Peterbe.com has been renewed 05 June 2005
Anti-McCain propaganda videos 12 August 2008
Ever wondered how much $87 Billion is? 04 November 2003
Guake, not Yakuake or Yeahconsole 23 January 2010