Auto-tools/Projects/B2G/B2G Build Machine: Difference between revisions

From MozillaWiki
< Auto-tools‎ | Projects‎ | B2G
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:
== Setup ==
== Setup ==


The machine uses [https://github.com/apenwarr/gitbuilder gitbuilder] to make the builds.  Gitbuilder is installed at <code>/data/gitbuilder</code>, and the B2G repo that gitbuilder uses is at <code>/data/gitbuilder/build</code>.
=== gitbuilder ===
 
The machine uses [https://github.com/apenwarr/gitbuilder gitbuilder] to make the builds.  Gitbuilder is installed at <code>/data/gitbuilder</code>, and the B2G repo that gitbuilder uses is at <code>/data/gitbuilder/build</code>. The build script used by gitbuilder is at <code>/data/gitbuilder/build.sh</code>.
 
'''manually building''':  to manually make a build, execute <code>/data/gitbuilder/run-build.sh HEAD</code>, or specify a different revision
 
'''automatically building''':  there is a cron job that launches <code>/data/gitbuilder/start</code> every hour.  This script sees if there are any new commits in the repo it is monitoring, and if so, it pulls and builds.  If gitbuilder is already running when start is invoked, it will exit.
 
'''logs''':  gitbuilder logs are all stored at <code>/data/gitbuilder/out</code>, which is the directory served by http://builder.boot2gecko.org/

Revision as of 22:01, 29 December 2011

An amazon EC2 VM is acting as a build machine for B2G builds. It builds qemu for each github commit to https://github.com/andreasgal/B2G. The build results are available at http://builder.boot2gecko.org/.

Setup

gitbuilder

The machine uses gitbuilder to make the builds. Gitbuilder is installed at /data/gitbuilder, and the B2G repo that gitbuilder uses is at /data/gitbuilder/build. The build script used by gitbuilder is at /data/gitbuilder/build.sh.

manually building: to manually make a build, execute /data/gitbuilder/run-build.sh HEAD, or specify a different revision

automatically building: there is a cron job that launches /data/gitbuilder/start every hour. This script sees if there are any new commits in the repo it is monitoring, and if so, it pulls and builds. If gitbuilder is already running when start is invoked, it will exit.

logs: gitbuilder logs are all stored at /data/gitbuilder/out, which is the directory served by http://builder.boot2gecko.org/