Last modified: 2014-11-20 03:18:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68532 - Jenkins: Create test for mediawiki-config repo to ensure Parsoid settings for are valid
Jenkins: Create test for mediawiki-config repo to ensure Parsoid settings for...
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-24 21:00 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-11-20 03:18 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2014-07-24 21:00:53 UTC
Bug 65939 was filled because the Parsoid daemon on beta cluster ended up fetching content from production.   Parsoid by default uses the production API URL, in beta we have a file in puppet that overrides the URL for each database: files/misc/parsoid-localsettings-beta.js

Whenever a new database is added (e.g. in operations/mediawiki-config.git all-labs.dblist), we need a new entry to be added in puppet to update Parsoid.

The job should be triggered when a change is proposed to operations/mediawiki-config.git . List the databases defined in all-labs.dblist.  Then clone operations/puppet.git and ensure an entry exists in files/misc/parsoid-localsettings-beta.js (or maybe figure out a way to query beta cluster Parsoid if it has an entry point exposing the URLs).
Comment 1 Krinkle 2014-11-20 03:18:00 UTC
Not sure creating another script and abstraction layer would be the best way to support this minor case.

Perhaps implement as phpunit test in the mediawiki-config repo?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links