Skip to content

Commit

Permalink
Bug 1492362: [taskgraph] Don't delete fetches after running a task; r…
Browse files Browse the repository at this point in the history
…=glandium

In Bug 1466660, we started deleting the fetches after a task had run, to avoid
interference between tasks. It turns out the only tasks this was for were the
`source-test-jsshell` tasks, which were changed to use an absolute directory in
Bug 1465181. However, since Bug 1568460 we've always used a per-task directory
for fetches, so can remove the work-around of removing fethes.

Differential Revision: https://phabricator.services.mozilla.com/D86670
  • Loading branch information
tomprince committed Aug 18, 2020
1 parent cb1de32 commit ab0e573
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions taskcluster/scripts/run-task
Original file line number Diff line number Diff line change
Expand Up @@ -967,11 +967,6 @@ def main(args):
else:
resource_process.terminate()
resource_process.wait()
fetches_dir = os.environ.get('MOZ_FETCHES_DIR')
if fetches_dir and os.path.isdir(fetches_dir):
print_line(b'fetches', b'removing %s\n' % fetches_dir.encode('utf-8'))
shutil.rmtree(fetches_dir)
print_line(b'fetches', b'finished\n')


if __name__ == '__main__':
Expand Down

0 comments on commit ab0e573

Please sign in to comment.