Continuous integration/grunt

From MediaWiki.org
Jump to: navigation, search

grunt is a task based command line tool for Node.js, just like ant for java or rake for ruby. The Wikimedia continuous integration team is going to use that to streamline the build tasks in Jenkins jobs.

Grunt is usually installed using the node package management (npm) system. That will get the source file from an upstream repository and happily copy everything on your server. Since we do not trust upstream authors, we are maintaining a hardcoded install in the Jenkins slave-scripts repository (integration/jenkins). To upgrade, edit tools/package.json and specify the new upstream version, then commit the new npm-install result.

References[edit | edit source]