Fix gsutil upload in test-history.

This commit is contained in:
Joe Finney 2016-03-07 10:44:59 -08:00
parent 09f00aeb32
commit 94c5e3cd4c

View File

@ -40,5 +40,5 @@ cat index_template.html | sed -e "s/TIME/Last updated: ${datestr}/" > static/ind
# Upload to GCS
readonly bucket="kubernetes-test-history"
readonly gcs_acl="public-read"
gsutil -q cp -az "${gcs_acl}" "tests.json" "gs://${bucket}/logs/${datestr}.json"
gsutil -q cp -a "${gcs_acl}" -z json "tests.json" "gs://${bucket}/logs/${datestr}.json"
gsutil -q cp -ra "${gcs_acl}" "static" "gs://${bucket}/"