Deployment tooling/Notes/What does scap do

Scap ("sync-common-all-php") is a collection of shell scripts used to publish code and configuration to the WMF production web servers.

Scap
Scap is started from tin.eqiad.wmnet.


 * 1) Acquire lock on
 * 2) Record start timestamp
 * 3) Ensure that   is available (needed for   to remote hosts)
 * 4) Check for command line flag to limit activities to a particular MW version
 * 5) Export environment variables describing software versions and hosts for sync scripts
 * 6) Lint files in $MW_COMMON_SOURCE/wmf-config and $MW_COMMON_SOURCE/multiversion
 * 7) Runs
 * 8) Runs
 * 9) Runs   to announce that scap is starting
 * 10) Runs   via   on scap-proxies group
 * 11) Randomizes list of hosts to update (All hosts listed in  )
 * 12) Runs   via
 * 13) Runs   via
 * 14) Runs
 * 15) Computes total runtime
 * 16) Runs   to log runtime
 * 17) Runs   to log scap run completion
 * 18) Deletes temp files
 * 19) Releases lock on