Skip to content

Commit

Permalink
feat: Extend viur-gcloud-setup.sh with command to create public buc…
Browse files Browse the repository at this point in the history
…ket with ACL (#139)
  • Loading branch information
sveneberth authored Jan 31, 2025
1 parent 769e8a3 commit c0e38c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions viur-gcloud-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ done
# Configure Google Cloud Storage
gsutil uniformbucketlevelaccess set on gs://$project.appspot.com/

# Create public bucket with ACL
gcloud storage buckets create gs://public-dot-$project \
--project=$project \
--default-storage-class=standard \
--location=europe-west3 \
--public-access-prevention \
--no-uniform-bucket-level-access

# Deployment of cron, queue and index settings
pushd deploy
for yaml in cron.yaml queue.yaml index.yaml
Expand Down

0 comments on commit c0e38c0

Please sign in to comment.