On Mon, Dec 18, 2017 at 10:07 PM, Bryan Davis <bd808(a)wikimedia.org> wrote:
Work has begun to upgrade the base distribution for
MediaWiki-Vagrant
to Debian Stretch [0]. The Wikimedia production cluster is preparing
for a similar upgrade [1] which will in part allow the Wikimedia wikis
to migrate to PHP 7 [2].
== What's new in the stretch-migration branch? ==
* Debian Stretch (Debian 9) base image
* Default PHP runtime is Zend PHP 7.0 (HHVM available via role)
* Database is MariaDB 10.1
* Provisioning via Puppet 4
Setting up a basic wiki (no roles enabled) seems to work pretty well.
Additional roles need testing and may require updated Puppet manifests
(Puppet syntax updates, erb syntax updates, package name changes,
additional packages). Help is needed to test roles, file bugs, and
submit patches. With some help I think we can be ready to switch to
Stretch as the default base image in early/mid January.
== Testing the Stretch base image and Puppet profiles ==
Its recommended to test with a fresh MediaWiki-Vagrant checkout so if
things go badly you can easily switch back to your original install
and keep working.
$ git clone --recursive
https://gerrit.wikimedia.org/r/mediawiki/vagrant mwv-stretch
$ cd mwv-stretch
$ git checkout stretch-migration
$ ./setup.sh
$ vagrant up
You can run `vagrant roles list -e -1` to get a nice list of the roles
you have enabled on your normal Trusty VM install to copy over to your
Stretch testing VM. This one-liner liner might even do it for you:
$ cd mwv-stretch
$ vagrant roles enable $(cd ../vagrant; vagrant roles list -e -1)
$ vagrant provision
[0]:
https://phabricator.wikimedia.org/T181353
[1]:
https://phabricator.wikimedia.org/T174431
[2]:
https://phabricator.wikimedia.org/T176370
Work has gone pretty well on the stretch-migration branch. I'd like to
merge the branch to master and make it the default experience on or
around 2018-01-18. Having a major feature branch like this alive for
more than a month makes integrating the changes more difficult. It
also makes things harder for people who are making improvements on the
master branch.
It would be great to have some more users testing it out to make sure
the roles that they need to work with MediaWiki-Vagrant day to day are
working there. Special thanks to Stas, Gilles, Hashar, and Željko for
the bug reports and patches that they have already supplied.
Bryan
--
Bryan Davis Wikimedia Foundation <bd808(a)wikimedia.org>
[[m:User:BDavis_(WMF)]] Manager, Cloud Services Boise, ID USA
irc: bd808 v:415.839.6885 x6855