Skip to content

Commit

Permalink
testgrishot: remove canned_acl
Browse files Browse the repository at this point in the history
The new K8s Infra buckets are public read at the top-level, so it'll
reject attempts to set the ACL on individual objects
  • Loading branch information
cpanato committed Mar 24, 2020
1 parent 1cd1e25 commit 45e0427
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions testgridshot
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,7 @@ upload_and_publish_images() {
local img_bucket_dir="${2}"
local bucket_path="gs://${BUCKET}/${img_bucket_dir}/"

# https://cloud.google.com/storage/docs/access-control/lists#predefined-acl
local canned_acl='public-read'

gsutil -m -q cp -a "$canned_acl" -r "${local_path}/." "${bucket_path}"
gsutil -m -q cp -r "${local_path}/." "${bucket_path}"
}

usage() {
Expand Down

0 comments on commit 45e0427

Please sign in to comment.