Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/107429


Change subject: Add vagrant support for running the UploadWizard smoke tests
......................................................................

Add vagrant support for running the UploadWizard smoke tests

The smoke tests are in Python and need PIL, installing PIL
via pip needs python-dev.
This is half-assed, user is still required to run pip by hand,
but we have a requirements.txt file so that's not so bad.

Change-Id: Ia15fd58949b1824eda46e2cf32680bcd0daf79fb
---
M puppet/manifests/packages.pp
M puppet/manifests/roles.pp
2 files changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/29/107429/1

diff --git a/puppet/manifests/packages.pp b/puppet/manifests/packages.pp
index f41658e..e15ef1d 100644
--- a/puppet/manifests/packages.pp
+++ b/puppet/manifests/packages.pp
@@ -56,3 +56,7 @@
 class packages::ffmpeg2theora {
     package { 'ffmpeg2theora': }
 }
+
+class packages::python_dev {
+    package { 'python-dev': }
+}
diff --git a/puppet/manifests/roles.pp b/puppet/manifests/roles.pp
index ee4d047..1f1ffe0 100644
--- a/puppet/manifests/roles.pp
+++ b/puppet/manifests/roles.pp
@@ -266,6 +266,9 @@
     include role::multimedia
     include role::codeeditor
 
+    # needed to easy_install PIL which is needed for the api smoke tests
+    include packages::python_dev
+
     @mediawiki::extension { 'Campaigns': }
 
     @mediawiki::extension { 'UploadWizard':

-- 
To view, visit https://gerrit.wikimedia.org/r/107429
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia15fd58949b1824eda46e2cf32680bcd0daf79fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to