Decision at Stack Exchange about TeamCity

Avatar of gdalgas

TeamCity builds then copies to each web tier via a powershell script. The steps for each server are:

  • Tell HAProxy to take the server out of rotation via a POST
  • Delay to let IIS finish current requests (~5 sec)
  • Stop the website (via the same PSSession for all the following)
  • Robocopy files
  • Start the website
  • Re-enable in HAProxy via another POST TeamCity
3 upvotes·7.6K views
Avatar of gdalgas