wtangy.se – site rename and automatic deployments!



This is a good one!

Previous entries in this series: https://www.guldmyr.com/wasthereannhlgamelastnight-com-now-using-object-storage/ and  https://www.guldmyr.com/wasthereannhlgamelastnight-appspot-com-fixed-working-again/

Renamed to wtangy.se

First things first! The website has been renamed to wtangy.se! Nobody in their right mind would type out wasthereannhlgamelastnight.com.. so now it's an acronym of wasthereannhlgameyesterday. wtangy.se . Using Sweden .se top level domain because there was an offer making it really cheap :)

Automatic testing and deployment

Second important update is that now we do some automatic testing and deployment.

This is done with travis-ci.org where one can view builds, the configuration is done in this file.

In google cloud there's different versions of the apps deployed. If we don't promote a version it will not be accessible from wtangy.se (or wasthereannhlgamelastnight.appspot.com) but via some other URL.

Right now the testing happens like this on every commit:

  1. deploy the code to a testing version (which we don't promote)
  2. then we run some scripts:
  3. pylint on the python scripts
  4. an end to end test which tries to visit the website.
  5. if the above succeeds we do deploy to master (which we do promote)