jjb: infra: bifrost-cleanup-job.yml: Use -m gsutil option for removals 45/29345/2
authorMarkos Chandras <mchandras@suse.de>
Fri, 24 Feb 2017 09:39:09 +0000 (09:39 +0000)
committerAric Gardner <agardner@linuxfoundation.org>
Fri, 24 Feb 2017 16:55:42 +0000 (16:55 +0000)
Use the -m gsutil option to perform parallel object removal insted of a
sequential one to reduce the job's execution time.

Change-Id: I87d21b07674035113883f7952514555dec1750ca
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/infra/bifrost-cleanup-job.yml

index ba283ff..9f5f9e9 100644 (file)
@@ -67,7 +67,7 @@
             fi
             # No force (-f). We always verify upstream jobs so if there are no logs
             # something else went wrong and we need to break immediately and investigate
-            gsutil rm -r $BIFROST_GS_URL
+            gsutil -m rm -r $BIFROST_GS_URL
 
     triggers:
         - '{project}-gerrit-trigger-cleanup':