Tech:Deploy-mediawiki

deploy-mediawiki is a new deployment tool currently available on test3 as part of the rollout of scap-like deploy process.

It is currently only deployed on test3 but in future the rollout will allow all deploy commands to be ran from a single server for production (mw11).

The --servers argument must currently be included. You should just append every command with --servers=skip for now. This means that it is only deployed to the server you are running the command on.

You can also add a --no-log command. This will direct output to your terminal rather than logsalmsg.

To deploy config changes (should happen automatically once puppet runs, is logged):
 * deploy-mediawiki --config --servers=skip

To deploy MediaWiki with no i18n/l10n changes
 * deploy-mediawiki --world --servers=skip

To deploy MediaWiki with i18n/l10n changes (equivalent to running MergeMessageLists and RebuildLC):
 * deploy-mediawiki --world --l10n --servers=skip

You can use any mix of the 3 --world --config and --l10n parameters.

If you wanted to deploy a change to only a single file without syncing all:
 * deploy-mediawiki --files=w/index.php,w/api.php --servers=skip

To sync a folder:
 * deploy-mediawiki --folders=w/extensions/Echo,w/Skins/Vector --servers=skip