Bug 1247168 - Make mozilla-unified the base repository for Firefox; r=dustin
authorGregory Szorc <gps@mozilla.com>
Tue, 19 Jul 2016 16:46:25 -0700
changeset 306625 cab3a2a82ac02633e14c31e4bc62d35f16ac15b6
parent 306624 2a31541145b552e564801e7d0d2aacd878a40826
child 306626 423fef62913f01b290bc71b059f3f2c22551e389
push id79889
push usercbook@mozilla.com
push dateTue, 26 Jul 2016 09:57:55 +0000
treeherdermozilla-inbound@2544cbe88839 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1247168
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1247168 - Make mozilla-unified the base repository for Firefox; r=dustin https://hg.mozilla.org/mozilla-unified contains heads from all the major Firefox repos. In addition, it is encoded on the server in such a way that it is several hundred megabytes smaller despite containing 30,000+ more changesets. This means faster clones and faster operations. Cloning this repo does require a new version of Mercurial. So if any TC tasks are using an ancient Mercurial - one that is vulnerable to known CVE issues in fact - this will flush them out. MozReview-Commit-ID: 2VHDa6FEeeJ
.taskcluster.yml
taskcluster/taskgraph/action.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -61,21 +61,23 @@ tasks:
         - "index.gecko.v2.{{project}}.latest.firefox.decision"
         - "tc-treeherder.v2.{{project}}.{{revision}}.{{pushlog_id}}"
         - "tc-treeherder-stage.v2.{{project}}.{{revision}}.{{pushlog_id}}"
 
       payload:
         env:
           # checkout-gecko uses these to check out the source; the inputs
           # to `mach taskgraph decision` are all on the command line.
-          GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-central'
+          GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-unified'
           GECKO_HEAD_REPOSITORY: '{{{url}}}'
           GECKO_HEAD_REF: '{{revision}}'
           GECKO_HEAD_REV: '{{revision}}'
           # Arguments passed into `mach taskgraph decision`
+          # TODO use mozilla-unified for the base repository once the tc-vcs
+          # tar.gz archives are created or tc-vcs isn't being used.
           DECISION_ARGS: >
             --pushlog-id='{{pushlog_id}}'
             --project='{{project}}'
             --message='{{comment}}'
             --owner='{{owner}}'
             --level='{{level}}'
             --base-repository='https://hg.mozilla.org/mozilla-central'
             --head-repository='{{{url}}}'
--- a/taskcluster/taskgraph/action.yml
+++ b/taskcluster/taskgraph/action.yml
@@ -22,17 +22,17 @@ scopes:
   - "assume:repo:hg.mozilla.org/try:*"
 
 routes:
   - "tc-treeherder.v2.{{project}}.{{head_rev}}.{{pushlog_id}}"
   - "tc-treeherder-stage.v2.{{project}}.{{head_rev}}.{{pushlog_id}}"
 
 payload:
   env:
-    GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-central'
+    GECKO_BASE_REPOSITORY: 'https://hg.mozilla.org/mozilla-unified'
     GECKO_HEAD_REPOSITORY: '{{{head_repository}}}'
     GECKO_HEAD_REF: '{{head_ref}}'
     GECKO_HEAD_REV: '{{head_rev}}'
     ACTION_ARGS: >
       --decision-id='{{decision_task_id}}'
       --task-labels='{{task_labels}}'
 
   cache: