From 45e0427863c4198e96fea00a3d97f0257201649c Mon Sep 17 00:00:00 2001 From: Carlos Panato Date: Tue, 24 Mar 2020 13:38:48 +0100 Subject: [PATCH] testgrishot: remove canned_acl The new K8s Infra buckets are public read at the top-level, so it'll reject attempts to set the ACL on individual objects --- testgridshot | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/testgridshot b/testgridshot index b7079980d74..56823b6d3de 100755 --- a/testgridshot +++ b/testgridshot @@ -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() {