DisposableProjectBranches: Difference between revisions
Lukasblakk (talk | contribs) |
Lukasblakk (talk | contribs) |
||
| Line 28: | Line 28: | ||
===Disabling specific platforms=== | ===Disabling specific platforms=== | ||
You can put '''exit 1''' in any mozconfig-extra-$platform in order to cause it to not compile. This is a temporary workaround but we recommend doing this if there are platforms you know you do not need results for as it will keep our build and test resources going where they are most needed. | You can put '''exit 1''' in any mozconfig-extra-$platform in order to cause it to not compile. This is a temporary workaround but we recommend doing this if there are platforms you know you do not need results for as it will keep our build and test resources going where they are most needed. | ||
== BOOKING SCHEDULE == | == BOOKING SCHEDULE == | ||
Revision as of 17:39, 2 July 2010
What is a disposable project branch?
These are project branches that can be cloned fresh from any mozilla-central based repo with the full gambit of tests enabled. No l10n or nightlies for now. In order to book one:
- Sign up below
- Make a request to IT to reset the repo for you as a clone from your own project repo (or default mozilla-central:tip). Copy the script below into bug request, replacing the REPO_PATH and TWIG with your repo and booked branch.
export REPO_PATH = # path to your repo eg: users/lsblakk_mozilla.com/staging
export TWIG = # {maple,cedar,birch} whichever twig you booked
cd /repo/hg/scripts/
./reset_pp_repo.sh -s /repo/hg/mozilla/$REPO_PATH -r tip -d $TWIG
- Sit back and watch your builds and test results roll in (Maple, Cedar, Birch).
- Special note - READ ME: the first push to your newly cloned repo will NOT trigger a build so you must push twice to get things started
Using a custom mozconfig
If you want to use setting other than those in the default mozconfigs, you can push an extra file to the $topsrcdir:
- mozconfig-extra with settings to be applied to all mozconfigs
- mozconfig-extra-$platform to apply changes only to that platform's mozconfig, where $platform is one of linux, linux64, win32, macosx, macosx64
The options you enable/disable in your custom mozconfig are appended to the existing config.
The default mozconfigs used for builds are available in Hg: http://hg.mozilla.org/build/buildbot-configs/file/default/mozilla2/$platform/maple (linux example)
Disabling specific platforms
You can put exit 1 in any mozconfig-extra-$platform in order to cause it to not compile. This is a temporary workaround but we recommend doing this if there are platforms you know you do not need results for as it will keep our build and test resources going where they are most needed.
BOOKING SCHEDULE
| Repo Name | User/Dev Team contact | Booking Dates | Next in Line |
|---|---|---|---|
| projects/maple | - | - | - |
| projects/cedar | dmandelin | 06/21/10 - 07/05/10 | - |
| projects/birch | - | - | - |