Build:TryServer

From MozillaWiki
Revision as of 01:21, 14 September 2010 by Lsblakk (talk | contribs) (→‎Other Notes)
Jump to navigation Jump to search

Try Server

The try server is an easy way to test a patch without actually checking the patch into the core repository. Your code will go through the same tests as a mozilla-central push, and you'll be able to download builds if you wish.

To use try server, you need a Mozilla hg account (level 1 is sufficient).

How to push to try

To choose your tests:

To submit your changes to the try server:

To see the results:

If you're using Mercurial queues, the push -f command pushes any patches that are currently applied, and the Try server will build the result. (This is an awesome feature, not a bug!)

You don’t need to clone or pull from the try repo, and you probably don’t want to. You’d get every half-baked changeset anybody ever tested.

See Jorendorff's blog for more details.

How to get a talos run

  • Wait until the platforms you are interested in have completed their 'build' jobs
  • File a bug using this template filling in the fields in { }
    • Be sure to provide your "email-changeset" identifier from your tryserver-builds dir on ftp (eg: myname@gmail.com-6860bd333c84) rather than just the changeset
    • if you want specific talos suites instead of all you can refer to the available suites
  • They will run the request your talos suites, close the bug and you can watch for them in tinderbox or tbpl

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, android, maemo5-gtk, maemo5-qt

The options you enable/disable in your custom mozconfig are appended to the existing config.

The default mozconfigs used for tryserver builds are available in Hg: http://hg.mozilla.org/build/buildbot-configs/file/default/mozilla2/$platform/tryserver (linux example)

Selecting specific platforms for try push

See Build:TryChooser for details on how to customize your try push in your hg commit comments.

Using a different mobile-browser repository

To use a different mobile-browser repository for the mobile builds, include extra files in your push in the $topsrcdir:

  • mobile-repo with a path (relative to http://hg.mozilla.org/) to the repository (e.g., "users/jford_mozilla.com/mobile-browser")
  • mobile-rev with a revision in that repository (e.g., "default")

For more details, see Mobile on the new try server

Server Status

Other Notes

  • Suggestions for the future can be made here

Other Mozilla Try Servers