Current status: blocked on The box 'debian/stretch64' could not be found. See T183456#3985227 and T183456#3985341.
T181353: [EPIC] Migrate MediaWiki-Vagrant base image to Debian Stretch and T183366: Can not provision cirrussearch mediawiki-vagrant role got me thinking about lack of CI (continuous integration) for mediawiki-vagrant.
For start, we should provision a clean mediawiki-vagrant every day, then provision each role, one by one. It could be done with a simple script:
vagrant roles list -1 | xargs -I % sh -cx 'echo -----------; vagrant roles reset; vagrant provision; vagrant roles enable %; vagrant provision'
or (from T181353#3853609)
#!/bin/bash set -x while read -r role do echo "Provisionning role '$role'" ( vagrant roles reset vagrant provision vagrant roles enable "$role" vagrant provision ) > "$role.txt" 2>&1 done < "$(vagrant roles list -1)"
To make the process faster, instead of vagrant roles reset; vagrant provision, vagrant snapshot save and vagrant snapshot restore could be used.