Improve deploy to be more fault tolerant, allow rollback.
@ricog 已经在做这个了。
开始于 2016年6月15日。
评估
这个 Issue 还没有评估数据。
描述
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.
- 主要语言
- Shell
- 星标
- 18
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
loadsys/CakePHP-Shell-Scripts 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 38/100
loadsys/CakePHP-Shell-Scripts#74 · 4 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 20/100
查看 loadsys/CakePHP-Shell-Scripts 的全部 Issue
相似的 Issue
-
component:skill
难度 1/5 1 小时以内 新手友好度 94/100
agentic-os-org/ANOLISA#4086 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
adobe-fonts/source-serif#152 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
canonical/rocks-toolbox#52 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
tldr-pages/tldr#24565 ·
维护者通常 1 天内回复
-
agentic documentation
难度 2/5 1-3 小时 新手友好度 82/100
MagnaCapax/PMSS#981 ·
维护者通常 5 天内回复