Currently, we deploy Phabricator fairly manually, using the steps outlined here:
https://wikitech.wikimedia.org/wiki/Phabricator/Deployment
We should use scap instead.
Originally, we planned to get that working on phab2001, then use it for the new machines (phab1002, phab2002).
As an intermediate step to that, we're planning to test necessary puppet changes and new scap configuration with the local puppetmaster in devtools.
- Find any uncommitted configuration files, move them into scap config templates with puppetized secrets (see T313950: Move Phabricator configuration into deployment repo and T313951: Puppetize Phabricator config secrets)
- Assure working scap and puppet configuration in devtools (see T313953: Scap3-ify Phabricator)
- Get keyholder working against phabricator-prod-1001.devtools.eqiad1.wikimedia.cloud
- Deploy to phab2001 from the deployment server via scap (optionally skip this, unless you want a testbed, but the goal is to remove this anyways)
- Deploy to phab2002 from the deployment server via scap (feel free to use this for testing, we'll keep it though)
- Deploy to phab1004 from the deployment server via scap (feel free to use this for testing, we'll keep it though, also it will have readonly DB
- Deploy to phab1001 from the deployment server (see T313954: Ensure phab1004/phab2002 are scap3 targets) (careful, this is the actual prod server, do that last)
- Document the new deployment method on https://wikitech.wikimedia.org/wiki/Phabricator/Deployment (see T313956: Document scap3 deployment of Phabricator)