Improve deploy to be more fault tolerant, allow rollback.
@ricog ci sta già lavorando.
Dal 15/6/2016.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
This will require a restructuring of how we store project code on servers.
Basically there would be 2 (or 3) copies of a project on a "production" server at any given time.
There are three relevant locations (none of these names are final):
~/projectroot(hold the git clone)~/live(holds an rsync copy of the project root from the last "deploy")/var/www(symlink to~/live)
When you run an "update", you git pull to update ~/projectroot, but that's not "live" so nothing changes yet. Then you rsync the entire folder into a new ~/staging folder, run composer install and whatever else there, and if that all succeeds, move the symlink to point to it.
Then you have a "rollback" target still in the old ~/live folder that's only a symlink (and maybe migrations run down) away.
- Lingua principale
- Shell
- Stelle
- 18
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di loadsys/CakePHP-Shell-Scripts
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 38/100
loadsys/CakePHP-Shell-Scripts#74 · 4 commenti ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
Tutte le issue di loadsys/CakePHP-Shell-Scripts
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
oSoWoSo/vOid_Community_repOsitory#185 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
carbon-language/carbon-lang#7821 ·