Last modified: 2014-02-28 15:53:57 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 T45141, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43141 - Install Jenkins Job Builder on gallium
Install Jenkins Job Builder on gallium
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops
Depends on:
Blocks: 47056 43140
  Show dependency treegraph
 
Reported: 2012-12-14 21:58 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-02-28 15:53 UTC (History)
5 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-12-14 21:58:09 UTC
Jenkins Job Builder need to be deployed on Gallium so we can automatically update Jenkins jobs configuration whenever the builder config has been updated.

https://gerrit.wikimedia.org/r/#/c/24620/
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-11 16:18:31 UTC
Paul Belanger has a Debian directory to build a Debian package at : https://github.com/pabelanger/jenkins-job-builder-deb . So might end up building a deb package and deploy that instead of the above change.
Comment 2 Antoine "hashar" Musso (WMF) 2013-01-28 15:47:34 UTC
Pinged Paul, v0.3.0 is already in Ubuntu raring.  He is currently working on package v0.4.0.
Comment 3 Antoine "hashar" Musso (WMF) 2013-02-05 19:56:38 UTC
v0.4.0-1 has been pushed for review in Debian https://mentors.debian.net/package/jenkins-job-builder
Comment 4 Krinkle 2013-04-09 20:46:18 UTC
Note that a Debian package may not be feasible.

jenkins-job-builder is under active development, and it is only used to convert the YAML files to XML files. One they are XML they are pushed to the Jenkins API. It is a relatively small tool.

The current process for deploying jenkins configuration is:
* Install jenkins-job-builder locally (every time)
* Run jenkins-job-builder to build the XML files from YAML templates
* Run jenkins-job-builder to push them to Jenkins over HTTP

Since jenkins-job-builder changes frequently, we just re-run "python setup.py" before we upgrade because we constantly add features to it and start using them immediately.

So unless someone is going to re-build the package, push to out apt repo and deploy on gallium on average *one a week*, this is not a solution. In other words, don't waste doing it, because we will not use it in that case.
Comment 5 Antoine "hashar" Musso (WMF) 2013-04-10 07:14:37 UTC
Timo, that will use a Debian package. If we need the package to be upgraded every single day that will happen :-]

Please do not install JJB on gallium until it is packaged.
Comment 6 Leslie Carr 2013-04-18 18:41:29 UTC
Krinkle - I think your comment is a compelling reason to have resources for an easier package building system.  I don't think that running setup.py on production hosts is a good idea (i know we already do it for some things... which makes me unhappy).  Having a script pull down code from an external repository is just asking for more security issues
Comment 7 Andre Klapper 2014-02-28 14:59:40 UTC
hashar: You assigned this issue to yourself 14 months ago. 
Could you please provide a status update and inform us whether you are still working (or still plan to work) on this issue? 
In case you do not plan to work on this issue anymore, should the assignee be set back to default and the bug status changed from ASSIGNED to NEW/UNCONFIRMED? Thanks!
Comment 8 Antoine "hashar" Musso (WMF) 2014-02-28 15:53:57 UTC
Unassigning. That is a low priority so might do it one day but nothing urgent for now.  I will get it installed on labs instance instead of having to use a Debian package.

Thx Andre!

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


Navigation
Links