ReleaseEngineering/How To/Update BuildAPI

From MozillaWiki
< ReleaseEngineering‎ | How To
Revision as of 19:48, 24 April 2014 by Djmitche (talk | contribs) (Created page with "BuildAPI is composed of a web application plus an agent that runs on a few buildmasters (self-serve agent). So, how do you updat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BuildAPI is composed of a web application plus an agent that runs on a few buildmasters (self-serve agent).

So, how do you update one of those?

Common

Build a new sdist tarball of BuildAPI, using normal python techniques, and upload it to the puppetagain python repository (/data/python/packages on the distinguished puppetmaster).

Web Application

Login to relengwebadm.private.scl3.mozilla.com and become root. Go to /data/releng-stage/src/buildapi (or /releng/ for production) and have a look at README.txt.

It boils down to:

 ./update 0.2.4

where 0.2.4 is the version you want to install.

Self-Serve Agent

Update the version number in puppet, get review, land, and merge to production.