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

Jump to navigation Jump to search
Line 7: Line 7:
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>.
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
'''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 <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.
'''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/
'''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

Navigation menu