Skip to content

Commit

Permalink
Ignore error while setting public-read on GCS files, GCS uniform acce…
Browse files Browse the repository at this point in the history
…ss buckets will always fail.
  • Loading branch information
jeremyje committed Nov 10, 2020
1 parent 6631848 commit 24978fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/gce/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function copy-to-staging() {

echo "${hash}" > "${tar}.sha512"
gsutil -m -q -h "Cache-Control:private, max-age=0" cp "${tar}" "${tar}.sha512" "${staging_path}"
gsutil -m acl ch -g all:R "${gs_url}" "${gs_url}.sha512" >/dev/null 2>&1
gsutil -m acl ch -g all:R "${gs_url}" "${gs_url}.sha512" >/dev/null 2>&1 || true
echo "+++ ${basename_tar} uploaded (sha512 = ${hash})"
}

Expand Down

0 comments on commit 24978fd

Please sign in to comment.