Improve deploy to be more fault tolerant, allow rollback.
@ricog ya está trabajando en esto.
Desde el 15/6/2016.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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.
- Lenguaje dominante
- Shell
- Estrellas
- 18
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de loadsys/CakePHP-Shell-Scripts
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 38/100
loadsys/CakePHP-Shell-Scripts#74 · 4 comentarios ·
-
Our Hoping to Accomplish List Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Todos los issues de loadsys/CakePHP-Shell-Scripts
Issues similares
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Abiertoarea: harness bug status: needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
fairagro/m4.2_sql_to_arc#227 ·