|
|
| Line 134: |
Line 134: |
| = Maintenance = | | = Maintenance = |
| == Adding branches == | | == Adding branches == |
| Support for new branches needs to be done in two places: the buildapi webapp's .ini file, and the self-serve agent's .ini file.
| | buildapi and self-serve pull from [http://hg.mozilla.org/build/tools/raw-file/default/buildfarm/maintenance/production-branches.json] to determine which branches are active and caches the result for a few minutes. |
| | |
| === webapp ===
| |
| As root@cruncher, append the branch name to the branches variable in <pre>~catlee/buildapi-official/production.ini</pre> Stop and start the server using the [[ReleaseEngineering/How_To/Restart_BuildAPI#Restarting the buildapi web app|kicking instructions for the webapp]].
| |
| <br/>
| |
| Once we move this to buildapi01.b.m.o, we should do this instead
| |
| * update patch the [http://hg.mozilla.org/build/puppet-manifests/file/default/modules/buildapi/templates/production.ini.erb puppet module], get review, land it
| |
| * deploy to master-puppet1.b.m.o
| |
| * wait for (or force) the puppet sync
| |
| * [[ReleaseEngineering/How_To/Restart_BuildAPI#Restarting the buildapi web app|restart the webapp]]
| |
| | |
| === self-serve agent ===
| |
| On buildbot-master10 modify <pre>/builds/buildbot/selfserve-agent/selfserve-agent.ini</pre> adding lines like this:
| |
| [branch:electrolysis]
| |
| repo_path = projects/electrolysis
| |
| revlink = http://hg.mozilla.org/projects/electrolysis/rev/%(revision)s
| |
| | |
| Then follow the [[ReleaseEngineering/How_To/Restart_BuildAPI#Restarting the agent|kicking instructions for the selfserve-agent]].
| |
|
| |
|
| == Kicking == | | == Kicking == |