ReleaseEngineering/How To/Enable a branch on buildbot and taskcluster: Difference between revisions

.
(Created page with "This documentation provides information on how to enable a branch on buildbot and taskcluster. We will consider holly branch as example. = Buildbot steps = * Enable the bran...")
 
(.)
 
Line 49: Line 49:
* Clone the branch from https://hg.mozilla.org/
* Clone the branch from https://hg.mozilla.org/
Note that the holly repository can be found at https://hg.mozilla.org/projects. It can simply be done using git clone or if the repository is larger, you can follow the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial/Bundles
Note that the holly repository can be found at https://hg.mozilla.org/projects. It can simply be done using git clone or if the repository is larger, you can follow the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial/Bundles
* Enable the branch in taskcluster by adding the branch in taskcluster/src/config/default.yml from mozilla-taskcluster git repository:
<pre>
holly:
  level: 2
  scopes:
    - "assume:repo:hg.mozilla.org/projects/holly:*"
    # temporary until this scope is removed from .taskcluster.yml
    - "assume:repo:hg.mozilla.org/try:*"
</pre>




Line 87: Line 99:


- "include nightly" refers to nightly builds. Since it is set to False it means that nightly builds are excluded.
- "include nightly" refers to nightly builds. Since it is set to False it means that nightly builds are excluded.
* Enable the branch in treeherder by modifying the "active_status" flag to "active" in treeherder/model/fixtures/repository.json located in the treeherder git repository:
<pre>
{
    "pk": 29,
    "model": "model.repository",
    "fields": {
        "dvcs_type": "hg",
        "name": "holly",
        "url": "https://hg.mozilla.org/projects/holly",
        "active_status": "active",
        "codebase": "gecko",
        "repository_group": 6,
        "description": ""
    }
},
</pre>
6

edits