thewca / worldcubeassociation.org

All of the code that runs on worldcubeassociation.org
https://www.worldcubeassociation.org/
GNU General Public License v3.0
327 stars 175 forks source link

Automatic deployment #4320

Open AlbertoPdRF opened 5 years ago

AlbertoPdRF commented 5 years ago

Yesterday I was chatting with @jfly and we sort of came up with a plan to implement automatic deployment, which I'm documenting here:

Of course, we should move one step at a time: after the second point has been handled, we will run with automatic deployment for a month or two to see how it goes (i.e. third point) before moving forward with the fourth one. The last point is still something we need to think about if we want to implement.

Jambrose777 commented 3 years ago

I marked the 4th bullet as complete since we have an admin sub-team: #6158.

saranshgrover commented 3 years ago

I would strongly suggest that if we do implement automatic deployment, we have a stage and prod branch, and follow this process for the stage branch to deploy to staging, and deploy to prod once every X days/weeks/months to avoid deployment to production over small fixes as well as having a good schedule for us to follow.

gregorbg commented 3 years ago

This should be easily possible using the deployment workflows from the private deploy repository. The biggest change here would be to implement the staging and production branches, although I totally like the idea in general!