Difference between revisions of "Mozharness"
(→Project Contributor(s)) |
Atpruteanu (talk | contribs) (→Project Plan) |
||
Line 65: | Line 65: | ||
Goals for each release: | Goals for each release: | ||
+ | |||
+ | <table style="border: 1px black solid;"> | ||
+ | <tr> | ||
+ | <th style="width: 50%; border-right: 1px black solid;">adrianp</th><th>mustafaj</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="vertical-align: top; width: 50%; border-right: 1px black solid;"> | ||
+ | <!-- adrianp's projects --> | ||
* 0.1 | * 0.1 | ||
+ | - Create the MercurialVCS class that is responsible for basic hg operations (clone, pull, push) each with an individual method | ||
* 0.2 | * 0.2 | ||
+ | - Implement all hgtool actions as individual methods in MercurialVCS. At this point MercurialVCS() should be importable (useful) for Mozharness | ||
+ | - Document usage for programmers (inheritance, import, whatever else not pertaining to users shell interaction) | ||
* 0.3 | * 0.3 | ||
+ | - lib/source/mercurial.py should be callable via shell with parameters matching each method (ie: ./mercurial.py checkout [src]?) | ||
+ | - The Class should be generalized to ensure portability to other D/VCSs (git, svn, cvs) | ||
+ | </td> | ||
+ | <td style="vertical-align: top;"> | ||
+ | <!-- mustafaj's projects --> | ||
+ | * 0.1 | ||
+ | * 0.2 | ||
+ | * 0.3 | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
== Project News== | == Project News== |
Revision as of 07:11, 22 October 2010
Contents
Project Name
Mozharness
Project Description
Imagine that we did not have to touch the Mozilla buildbot factories but instead we maintained a bunch of script for all the different jobs they run?
It would be good if we could create scripts that told a machine how to generate an optimized build, a debug build, unit tests, talos runs, locale repackages. If you look in the tools/scripts repo you can see that we have a simple shell file to do this for the fuzzing automation. The buildbot factory that calls it is called mozharness and it is very simple.
mozharness is a single factory that buildbot can run; within mozharness, a script is selected for a specific job. This moves the job-definition responsibility out from buildbot; by separating the pieces, you avoid excessive complexity in buildbot and also open up the possibility of running mozharness manually (e.g., by a developer, to test something)
Initial contacts: Armenzg
Project Leader(s)
Project Contributor(s)
Project Details
- Objective: Improve efficiency while lowering the entry level knowledge required from new developers to get involved
- requirements: pylint and coverage
- ./unit.sh to run unit test coverage
- scripts directory contain scripts
- documentation is required
- API is changing - WIP in https://bugzilla.mozilla.org/show_bug.cgi?id=574473
- scripts written in python
- separate framework - which buildbot calls
What are we building?
- Profile Build
- Debug Build - For OS (Mac, Linux, Windows, 32/64 etc)
- Packaged Test - contains test for the build
- Tests - Mochitests, Reftests, xpcshell, ... 10 in total
- l10n builds
The problem that mozharness solves:
- buildbot uses a "factory" to run a job
- there are (becoming) too many different "factories" within buildbot
Project Plan
Goals for each release:
adrianp | mustafaj |
---|---|
- Create the MercurialVCS class that is responsible for basic hg operations (clone, pull, push) each with an individual method
- Implement all hgtool actions as individual methods in MercurialVCS. At this point MercurialVCS() should be importable (useful) for Mozharness - Document usage for programmers (inheritance, import, whatever else not pertaining to users shell interaction)
- lib/source/mercurial.py should be callable via shell with parameters matching each method (ie: ./mercurial.py checkout [src]?) - The Class should be generalized to ensure portability to other D/VCSs (git, svn, cvs) |
|
Project News
- Friday October 8, 2010:
- I will try to contact Armen today and find out what his schedule is like, and coordinate with everybody to setup a meeting in CDOT conference room. -Mustafa
- Tuesday October 12, 2010:
- Adrian made initial Contact with Armen, meeting set for 3pm Wendesday October 13, 2010 -Mustafa
- Wednesday October 13, 2010:
- The mozharness/buildapi/releasebugs group met today with Armen and Ctyler in a conference call. The conference call is logged below -Mustafa
First meeting: mozharness call (2010-10-12 15:00 EDT)
- What is mozharness (Armen)
- Initial direction
- Q&A
Atendees:
- ctyler, mustafaj, armenzg, adrianp, asingh
Blogs:
- Armen: http://armenzg.blogspot.com/
- Mustafa: http://mustafaredha.wordpress.com/
- adrianp: http://blog.esmnetworks.com/
... all of which appear on the CDOT Planet