Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Improve deploy to be more fault tolerant, allow rollback.

オープン
#64 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@ricog がすでに取り組んでいます。

2016年6月15日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

loadsys/CakePHP-Shell-Scripts のほかの issue

loadsys/CakePHP-Shell-Scripts の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。