From 3bed974117e823cb2a726d6e06602861dd80a5cd Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Fri, 20 Dec 2024 13:20:11 -0800 Subject: [PATCH] build: configure logs bucket for custom service accounts (#5642) Configure the remaining bots to use logs buckets for dedicated service accounts --- packages/cherry-pick-bot/cloudbuild-test.yaml | 4 ++++ packages/cherry-pick-bot/cloudbuild.yaml | 4 ++++ packages/flakybot/cloudbuild.yaml | 4 ++++ packages/release-please/cloudbuild.yaml | 4 ++++ packages/release-trigger/cloudbuild-test.yaml | 4 ++++ packages/release-trigger/cloudbuild.yaml | 4 ++++ packages/snippet-bot/cloudbuild-test.yaml | 4 ++++ packages/snippet-bot/cloudbuild.yaml | 4 ++++ 8 files changed, 32 insertions(+) diff --git a/packages/cherry-pick-bot/cloudbuild-test.yaml b/packages/cherry-pick-bot/cloudbuild-test.yaml index 8cd4c412c49..5534daced32 100644 --- a/packages/cherry-pick-bot/cloudbuild-test.yaml +++ b/packages/cherry-pick-bot/cloudbuild-test.yaml @@ -25,3 +25,7 @@ steps: # TODO: create container test # TODO: create unit & integration tests + +logsBucket: 'gs://cherry-pick-bot-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/cherry-pick-bot/cloudbuild.yaml b/packages/cherry-pick-bot/cloudbuild.yaml index 5f54d096c5d..6ecf78385ab 100644 --- a/packages/cherry-pick-bot/cloudbuild.yaml +++ b/packages/cherry-pick-bot/cloudbuild.yaml @@ -61,3 +61,7 @@ steps: - "--region" - "$_REGION" - "--quiet" + +logsBucket: 'gs://cherry-pick-bot-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/flakybot/cloudbuild.yaml b/packages/flakybot/cloudbuild.yaml index d2aa40449d2..77fa5359f81 100644 --- a/packages/flakybot/cloudbuild.yaml +++ b/packages/flakybot/cloudbuild.yaml @@ -70,3 +70,7 @@ steps: - "--region" - "$_REGION" - "--quiet" + +logsBucket: 'gs://flakybot-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/release-please/cloudbuild.yaml b/packages/release-please/cloudbuild.yaml index 8b9bc3e65ae..f55ac78a464 100644 --- a/packages/release-please/cloudbuild.yaml +++ b/packages/release-please/cloudbuild.yaml @@ -63,3 +63,7 @@ steps: - "--region" - "$_REGION" - "--quiet" + +logsBucket: 'gs://release-please-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/release-trigger/cloudbuild-test.yaml b/packages/release-trigger/cloudbuild-test.yaml index f0d04b3ad77..d9158005896 100644 --- a/packages/release-trigger/cloudbuild-test.yaml +++ b/packages/release-trigger/cloudbuild-test.yaml @@ -45,3 +45,7 @@ steps: - "-t" - "gcr.io/$PROJECT_ID/release-trigger" - "." + +logsBucket: 'gs://release-trigger-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/release-trigger/cloudbuild.yaml b/packages/release-trigger/cloudbuild.yaml index 73b0d4b1ead..ece956e620d 100644 --- a/packages/release-trigger/cloudbuild.yaml +++ b/packages/release-trigger/cloudbuild.yaml @@ -78,3 +78,7 @@ steps: - "--region" - "$_REGION" - "--quiet" + +logsBucket: 'gs://release-trigger-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/snippet-bot/cloudbuild-test.yaml b/packages/snippet-bot/cloudbuild-test.yaml index 0473f3fa196..792739ff7c2 100644 --- a/packages/snippet-bot/cloudbuild-test.yaml +++ b/packages/snippet-bot/cloudbuild-test.yaml @@ -47,3 +47,7 @@ steps: - "-t" - "gcr.io/$PROJECT_ID/snippet-bot-frontend" - "." + +logsBucket: 'gs://snippet-bot-deploy-logs' +options: + logging: GCS_ONLY diff --git a/packages/snippet-bot/cloudbuild.yaml b/packages/snippet-bot/cloudbuild.yaml index 5d4abc4fae4..e0b33fe963f 100644 --- a/packages/snippet-bot/cloudbuild.yaml +++ b/packages/snippet-bot/cloudbuild.yaml @@ -80,3 +80,7 @@ steps: - "--region" - "$_REGION" - "--quiet" + +logsBucket: 'gs://snippet-bot-deploy-logs' +options: + logging: GCS_ONLY