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

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/
Confirmed users
1,905

edits