ReleaseEngineering/DisposableProjectRepositories

From MozillaWiki
Jump to navigation Jump to search

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. Similar to Build:TryServerAsBranch but for longer, and just for you. Unlike Try, the commit level on these branches is level_2 (and above) contributors only so please bear that in mind. In order to book:

  • Sign up below in the BOOKING SCHEDULE
  • 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 should now trigger a build since bug 562026 was checked in. If it does not, please re-open the bug.

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 TabCandy (aza, edilee, mmitcho) 07/10/10 - 08/31/10 -
projects/cedar - - -
projects/birch hw accelerated gfx (joe) 2010-08-12 - 2010-09-30 -