Bug 1512285: Stop checking out tools; r=nthomas,gps

Differential Revision: https://phabricator.services.mozilla.com/D13855

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Prince 2018-12-11 19:50:58 +00:00
parent 338febf855
commit b6557180f7
2 changed files with 1 additions and 16 deletions

View File

@ -561,7 +561,6 @@ def main(args):
add_vcs_arguments(parser, 'firefox', 'Firefox')
add_vcs_arguments(parser, 'comm', 'Comm')
add_vcs_arguments(parser, 'tools', 'build/tools')
parser.add_argument('--fetch-hgfingerprint', action='store_true',
help='Fetch the latest hgfingerprint from the secrets store, '
@ -703,8 +702,7 @@ def main(args):
os.chown(store_path, uid, gid)
prepare_checkout_dir(args.firefox_checkout)
prepare_checkout_dir(args.tools_checkout)
if args.firefox_checkout or args.tools_checkout or args.comm_checkout:
if args.firefox_checkout or args.comm_checkout:
prepare_hg_store_path()
if IS_POSIX and running_as_root:
@ -742,18 +740,6 @@ def main(args):
print('task should be defined in terms of non-symbolic revision')
return 1
tools_checkout = collect_vcs_options(args, 'tools')
if tools_checkout:
vcs_checkout('https://hg.mozilla.org/build/tools',
tools_checkout['checkout'],
os.environ['HG_STORE_PATH'],
fetch_hgfingerprint=args.fetch_hgfingerprint,
# Always check out the latest commit on default branch.
# This is non-deterministic!
branch='default',
sparse_profile=tools_checkout['sparse-profile'])
# Checkout the repository, setting the COMM_HEAD_REV to the current
# revision hash. Revision hashes have priority over symbolic revisions. We
# disallow running tasks with symbolic revisions unless they have been

View File

@ -220,7 +220,6 @@ def mozharness_on_docker_worker_setup(config, job, taskdesc):
command = [
'{workdir}/bin/run-task'.format(**run),
'--firefox-checkout', env['GECKO_PATH'],
'--tools-checkout', '{workdir}/workspace/build/tools'.format(**run),
]
if run['comm-checkout']:
command.append('--comm-checkout={workdir}/workspace/build/src/comm'.format(**run))