[infra] Cleanup better after BuildStats
Followup to https://skia-review.googlesource.com/c/skia/+/436816 Change-Id: I564c5a160588e5d9f843e297bf04baea50024dc5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436896 Reviewed-by: Eric Boren <borenet@google.com>
This commit is contained in:
parent
8e2d89465a
commit
daa9717416
@ -39,6 +39,10 @@ def main():
|
||||
'%s/%s_tree.tar.gz' % (out_dir, input_base),
|
||||
'.'])
|
||||
|
||||
# Delete our temporary directory
|
||||
subprocess.check_call(['docker', 'run',
|
||||
'--volume', '%s:/OUT' % temp_out,
|
||||
DOCKER_IMAGE, '/bin/sh', '-c', 'rm -rf /OUT/*'])
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user