Bug 1247168 - Make mozilla-unified the base repository for Firefox; r=dustin draft
authorGregory Szorc <gps@mozilla.com>
Tue, 19 Jul 2016 16:46:25 -0700
changeset 390189 7fb55f326e3abd66b15be35836c59e6d10bcce08
parent 390188 2f28f734d3e92fd5ee41273bebce339e587542f0
child 390190 f7c2a6ce2af42465745ede67941985ac5620e067
push id23614
push userbmo:gps@mozilla.com
push dateWed, 20 Jul 2016 19:22:19 +0000
reviewersdustin
bugs1247168
milestone50.0a1
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,17 +61,17 @@ 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}}'
 
         cache:
           level-{{level}}-hg-shared: /home/worker/hg-shared/
           level-{{level}}-{{project}}-gecko-decision: /home/worker/workspace
 
@@ -93,17 +93,17 @@ tasks:
             cd workspace/gecko &&
             ln -s /home/worker/artifacts artifacts &&
             ./mach taskgraph decision
             --pushlog-id='{{pushlog_id}}'
             --project='{{project}}'
             --message='{{comment}}'
             --owner='{{owner}}'
             --level='{{level}}'
-            --base-repository='https://hg.mozilla.org/mozilla-central'
+            --base-repository='https://hg.mozilla.org/mozilla-unified'
             --head-repository='{{{url}}}'
             --head-ref='{{revision}}'
             --head-rev='{{revision}}'
             --revision-hash='{{revision_hash}}'
 
         artifacts:
           'public':
             type: 'directory'
--- 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}}'
 
   cache:
     level-{{level}}-hg-shared: /home/worker/hg-shared/
     level-{{level}}-{{project}}-gecko-decision: /home/worker/workspace