diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2016-11-24 11:01:33 +0000 |
---|---|---|
committer | Dmitry Lomov <dslomov@google.com> | 2016-11-24 13:33:30 +0000 |
commit | f17fb3a816851b9f3a954c881e3fbc35bed5d6a6 (patch) | |
tree | dc2cf98d1be1882ef7d3d16989e1d7b9f2758bc8 /scripts/ci | |
parent | fd0e41aac417defff2ddc14cf48de53223e06397 (diff) |
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
Diffstat (limited to 'scripts/ci')
-rwxr-xr-x | scripts/ci/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |