From 12d6d31e44dfcfd0f25266d4caba2144222448ba Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Tue, 23 Jul 2019 10:12:37 -0700 Subject: [PATCH] [infra] Use gsutil "cp" instead of "rsync" for coverage job (#2585). (#2625) --- infra/gcb/build_and_run_coverage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/gcb/build_and_run_coverage.py b/infra/gcb/build_and_run_coverage.py index e9e36983d..c9f6ad7e1 100644 --- a/infra/gcb/build_and_run_coverage.py +++ b/infra/gcb/build_and_run_coverage.py @@ -179,7 +179,7 @@ def get_build_steps(project_dir): { 'name': 'gcr.io/cloud-builders/gsutil', 'args': [ - '-m', 'rsync', '-r', '-d', + '-m', 'cp', '-r', os.path.join(out, 'report'), upload_report_url, ], @@ -193,7 +193,7 @@ def get_build_steps(project_dir): { 'name': 'gcr.io/cloud-builders/gsutil', 'args': [ - '-m', 'rsync', '-r', '-d', + '-m', 'cp', '-r', os.path.join(out, 'fuzzer_stats'), upload_fuzzer_stats_url, ], @@ -205,7 +205,7 @@ def get_build_steps(project_dir): { 'name': 'gcr.io/cloud-builders/gsutil', 'args': [ - '-m', 'rsync', '-r', '-d', + '-m', 'cp', '-r', os.path.join(out, 'logs'), UPLOAD_URL_FORMAT.format( project=project_name, type='logs', date=report_date),