Bug 1409260 - Remove base-repository exception in .taskcluster.yml. r?dustin draft
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 17 Oct 2017 14:59:53 +0900
changeset 681925 39c5e962cf8df727aaf4c627010e6a9bd23938f2
parent 681924 4ab57bf53b59580601ee7398be3265473e31fb01
child 681926 4d5eb75799565b83e72fe6e4a1b4648462e4e2f5
push id84949
push userbmo:mh+mozilla@glandium.org
push dateTue, 17 Oct 2017 21:31:20 +0000
reviewersdustin
bugs1409260, 1383973
milestone58.0a1
Bug 1409260 - Remove base-repository exception in .taskcluster.yml. r?dustin Per the comments in .taskcluster.yml, the exception is there because some jobs were still using tc-vcs, but they aren't anymore, per bug 1383973.
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -116,47 +116,42 @@ tasks:
         # Note: This task is built server side without the context or tooling that
         # exist in tree so we must hard code the hash
         # XXX Changing this will break Chain of Trust without an associated puppet and
         # scriptworker patch!
         image: 'taskcluster/decision:2.0.0@sha256:4039fd878e5700b326d4a636e28c595c053fbcb53909c1db84ad1f513cf644ef'
 
         maxRunTime: 1800
 
-        # TODO use mozilla-unified for the base repository once the tc-vcs
-        # tar.gz archives are created or tc-vcs isn't being used.
         command:
           - /builds/worker/bin/run-task
           - '--vcs-checkout=/builds/worker/checkouts/gecko'
           - '--sparse-profile=build/sparse-profiles/taskgraph'
           - '--'
           - bash
           - -cx
           - $let:
               extraArgs: {$if: 'tasks_for == "cron"', then: '${cron.quoted_args}', else: ''}
-            # NOTE: the explicit reference to mozilla-central below is required because android-stuff
-            # still uses tc-vcs, which does not support mozilla-unified
-            # https://bugzilla.mozilla.org/show_bug.cgi?id=1383973
             in:
               $if: 'tasks_for == "action"'
               then: >
                 cd /builds/worker/checkouts/gecko &&
                 ln -s /builds/worker/artifacts artifacts &&
                 ./mach --log-no-times taskgraph action-callback
               else: >
                 cd /builds/worker/checkouts/gecko &&
                 ln -s /builds/worker/artifacts artifacts &&
                 ./mach --log-no-times taskgraph decision
                 --pushlog-id='${push.pushlog_id}'
                 --pushdate='${push.pushdate}'
                 --project='${repository.project}'
                 --message="$GECKO_COMMIT_MSG"
                 --owner='${ownerEmail}'
                 --level='${repository.level}'
-                --base-repository='https://hg.mozilla.org/mozilla-central'
+                --base-repository="$GECKO_BASE_REPOSITORY"
                 --head-repository="$GECKO_HEAD_REPOSITORY"
                 --head-ref="$GECKO_HEAD_REF"
                 --head-rev="$GECKO_HEAD_REV"
                 ${extraArgs}
 
         artifacts:
           'public':
             type: 'directory'