User:Armenzg/Automation tricks: Difference between revisions

How to add a new job type
(testing chunking)
(How to add a new job type)
 
Line 39: Line 39:


= How to make changes =
= How to make changes =
== How to add a new job to tbpl ==
== How to add a new job to treeherder ==
* We need changes in buildbot-configs, mozharness and mozilla-central
Most jobs are running on Mozilla's Releng infrastructure and these steps will only apply to that.
* You might need to create tbpl and trychooser patches as well
With regards to adding jobs to TaskCluster I don't know a thing.
 
For Releng's buildbot:
* We need changes in buildbot-configs
** Let's aim to enable on Try or one of the Disposable branches first before enabling across the board
* We might also need changes to mozharness, mozilla-central, treeherder and trychooser
* You can see a buildbot-config change in [https://bug1074147.bugzilla.mozilla.org/attachment.cgi?id=8497530 here].
* You can see a buildbot-config change in [https://bug1074147.bugzilla.mozilla.org/attachment.cgi?id=8497530 here].
* You can see a mozharness change in [https://bug1074147.bugzilla.mozilla.org/attachment.cgi?id=8498751 here].
* You can see a mozharness change in [https://bug1074147.bugzilla.mozilla.org/attachment.cgi?id=8498751 here].
TODO: Document this properly
 
Once you have a buildbot-config patch, you can determine if it is working by running [[ReleaseEngineering:TestingTechniques#List_builders_added.2Fremoved|this simple script]]. This will setup a buildbot environment for you and run some tests.
 
Once that patch is ready, you can request a review from someone from Releng or the A-team.
We might need more changes but
 
NOTE: I'm still working on this section to have steps that are easily understood by developers.


== How to add a new builder/job on buildbot-configs ==
== How to add a new builder/job on buildbot-configs ==
Confirmed users
3,990

edits