From f17fb3a816851b9f3a954c881e3fbc35bed5d6a6 Mon Sep 17 00:00:00 2001 From: Laszlo Csomor Date: Thu, 24 Nov 2016 11:01:33 +0000 Subject: Bazel release script: run `gsutil cp` in parallel Run the command with the `-m` option so gsutil will copy files in parallel. Suggested by gsutil itself http://ci.bazel.io/view/Bazel%20bootstrap%20and%20maintenance/job/Bazel-Release/83/console (look for "NOTE: You are performing a sequence of gsutil operations") -- MOS_MIGRATED_REVID=140119304 --- scripts/ci/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/ci') diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 0c4df206a2..3a5f01a844 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -300,7 +300,7 @@ function release_to_gcs() { create_index_html "${dir}/${release_name}/rc${rc}" \ >"${dir}/${release_name}/rc${rc}"/index.html cd ${dir} - "${gs}" cp -a public-read -r . "gs://${GCS_BUCKET}" + "${gs}" cp -m -a public-read -r . "gs://${GCS_BUCKET}" cd "${prev_dir}" rm -fr "${dir}" trap - EXIT -- cgit v1.2.3