TheGame icon indicating copy to clipboard operation
TheGame copied to clipboard

Tweak staging and production frontend deployments so there is less downtime

Open alalonde opened this issue 3 years ago • 1 comments

What would you like to be added?

Currently, when pushing to develop or master, there is this automated github actions flow:

  • Undeploy frontend
  • Delete frontend container
  • Build frontend
  • Deploy frontend

Building the frontend takes over 20m, which means at least 20m of downtime. Seems like we should build the new container before undeploying the old one.

Why is this needed?

We have a bunch of unnecessary downtime when updating staging and prod.

alalonde avatar Apr 26 '22 16:04 alalonde

This is fairly urgent, as a failed build now results in the previous instance being removed, and you have to fix the build to have ANYTHING deployed

alalonde avatar Jul 06 '22 15:07 alalonde