Confirmed users
3,990
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
These are the steps that will have to be taken in order to officially support a new platform. They don't exactly have to happen in this order but it more or less follows a sequential order and some steps can be followed in parallel. | These are the steps that will have to be taken in order to officially support a new platform. They don't exactly have to happen in this order but it more or less follows a sequential order and some steps can be followed in parallel. | ||
DISCLAIMER: This page is NOT guaranteed to contain 100% of the needs for all platforms. Use this page a guideline. Skip things that don't make sense for a given platform and do additional things that do make sense for it. | DISCLAIMER: This page is NOT guaranteed to contain 100% of the needs for all platforms. Use this page a guideline. Skip things that don't make sense for a given platform and do additional things that do make sense for it. | ||
* File a tracking bug - {{bug|512489}} | *File a tracking bug - {{bug|512489}} | ||
* Create a reference image - {{bug|519074}} | *Create a reference image - {{bug|519074}} | ||
** Determine tool chain | **Determine tool chain | ||
*** | ***What are the needed SDKs and tools to be installed on a fresh OS installation to get a build going | ||
** Must haves: | ***Talk with developers to help you with this and to use the right mozconfig | ||
*** Nagios NRPE daemon - [[ReferencePlatforms/Linux-CentOS-5. | **Must haves: | ||
*** Puppet ([https://bugzilla.mozilla.org/show_bug.cgi?id=505232#c9 example]) or OPSI client | ***Nagios NRPE daemon - [[ReferencePlatforms/Linux-CentOS-5.0 64-bit#Installing_Nagios_NRPE_Daemon|Installing nagios for L64]] | ||
*** post-clone automation | ***Puppet ([https://bugzilla.mozilla.org/show_bug.cgi?id=505232#c9 example]) or OPSI client | ||
*** Staging SSH keys | ***post-clone automation | ||
** Document OS installation and all subsequent changes on a [[ReferencePlatforms]] page | ****buildbot.tac generation - [http://hg.mozilla.org/build/tools/file/tip/buildbot-helpers/buildbot-tac.py buildbot-tac.py] - ('''TODO:''' point to some documentation | ||
* Generate a build and pass it to QA | *****ignore the ref image machine ([https://bugzilla.mozilla.org/attachment.cgi?id=434341&action=edit patch]) | ||
* Deploy ref image to slaves | ****OPSI host key automation (where appropriate) - ('''TODO:''' point to some documentation) | ||
** File IT bugs: | ***Staging SSH keys | ||
*** Clone/image machines | **Document OS installation and all subsequent changes on a [[ReferencePlatforms]] page | ||
*** Nagios checks | *Generate a build and pass it to QA to test it<br> | ||
* Create mozconfig(s). Standard mozconfigs for Desktop Firefox at the time of writing are: debug, nightly (aka opt), release, xulrunner) | *Deploy ref image to allocated slaves | ||
* Testing/baking on staging | **File IT bugs: | ||
** Enable standard jobs in staging buildbot configs (normal and debug builds) | ***Clone/image machines | ||
** Make sure codesighs run (not for windows) - {{bug|547056}} | ***Nagios checks for cloned slaves | ||
** Update staging graph server - {{bug|547029}} | *Create mozconfig(s). [http://hg.mozilla.org/build/buildbot-configs/file/57e287e45f4c/mozilla2/linux/mozilla-central Standard mozconfigs] for Desktop Firefox at the time of writing are: debug, nightly (aka opt), release, xulrunner) | ||
** Builds should be succeeding | *Testing/baking on staging | ||
** Unit tests should be passing, any oranges must be investigated | **Enable standard jobs in staging buildbot configs (normal and debug builds) | ||
* Talos | **Make sure codesighs run (not for windows) - {{bug|547056}} | ||
** Ref-image | **Update staging graph server - {{bug|547029}} | ||
** Nagios | **Builds should be succeeding | ||
** Puppet or OPSI | **Unit tests should be passing, any oranges must be investigated | ||
** Add slaves to talos-pool and graph server db - {{bug|530680}} | *Talos | ||
* Release builds - {{bug|548605}} | **Ref-image | ||
** Enable the new platform on a staging release configuration file | **Nagios | ||
** Update any release scripts that need to be made aware of the new platform. (which scripts?) | **Puppet or OPSI | ||
* Breakpad support - {{bug|464750}} (might not be the easiest example) | **Add slaves to talos-pool and graph server db - {{bug|530680}} | ||
* TBPL support - {{bug|532560}} | *Release builds - {{bug|548605}} | ||
**Enable the new platform on a staging release configuration file ([https://bugzilla.mozilla.org/attachment.cgi?id=433411&action=edit patch]) | |||
**Run an staging release ([https://wiki.mozilla.org/Release:Release_Automation_on_Mercurial:Documentation Documentation], TODO add story of Linux 64 when it is done) | |||
**Update any release scripts that need to be made aware of the new platform. (which scripts?) | |||
*Breakpad support - {{bug|464750}} (might not be the easiest example) | |||
** Developers fix this - [https://bugzilla.mozilla.org/show_bug.cgi?id=554021 bug] | |||
** Once fixed we enable it - [https://bugzilla.mozilla.org/show_bug.cgi?id=554138 bug] | |||
**TBPL support - {{bug|532560}} | |||