Homec4science

Improve order of operations in upgrade script

Authored by epriestley <git@epriestley.com> on Jan 16 2012, 20:35.

Description

Improve order of operations in upgrade script

Summary:

  • Run "phd stop" before stopping apache. This is essentially a smoke test for

PHABRICATOR_ENV being set.

  • Run documentation generation after everything else. Between the pull and the

restart we have some minor exposure to APC issues with deleted files and
out-of-date module definitions, and this limits that.

  • Pull commands out of (x && y) stuff, this prevents "set -e" from working

correctly.

Test Plan: Ran upgrade script locally.

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D1419

Details

Committed
epriestley <git@epriestley.com>Jan 16 2012, 20:52
Pushed
aubortJan 31 2017, 17:16
Parents
rPH5333b16d7f1d: Clarify header block documentation
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5fd46dce663d: Improve order of operations in upgrade script (authored by epriestley <git@epriestley.com>).Jan 16 2012, 20:52