From 2117b98c67d657fcd5ecce819754e0801d5fde88 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 20 Feb 2024 12:51:06 -0500 Subject: [PATCH 01/20] chore: setting up samples_build.yaml --- .cloudbuild/samples_build.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index 1c3ed5366..9af57e6db 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -13,5 +13,10 @@ steps: ] env: - 'JOB_TYPE=samples' +- name: gcr.io/cloud-devrel-kokoro-resources/java8 + entrypoint: echo + args: [ + 'Samp[le job succeeded', + ] timeout: 300m From b2fb7b4936d0ddd62c3b1d6780a4825b6a37557a Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 21 Feb 2024 16:30:00 -0500 Subject: [PATCH 02/20] show iam --- .cloudbuild/samples_build.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index 9af57e6db..8c0648fd7 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -1,19 +1,26 @@ steps: -- name: gcr.io/cloud-devrel-kokoro-resources/java8 +- name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: ls args: [ '-alt', ] -- name: gcr.io/cloud-devrel-kokoro-resources/java8 +- name: gcr.io/cloud-devrel-public-resources/java8 + entrypoint: curl + args: [ + '--header', + 'Metadata-Flavor: Google', + 'http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/default/email' + ] +- name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: pwd -- name: gcr.io/cloud-devrel-kokoro-resources/java8 +- name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: bash args: [ './kokoro/build.sh' ] env: - 'JOB_TYPE=samples' -- name: gcr.io/cloud-devrel-kokoro-resources/java8 +- name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: echo args: [ 'Samp[le job succeeded', From 22979e941f8a92afd2e87965cef8b558965a5246 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Wed, 21 Feb 2024 16:56:55 -0500 Subject: [PATCH 03/20] fix typo --- .cloudbuild/samples_build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index 8c0648fd7..032083292 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -16,7 +16,7 @@ steps: - name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: bash args: [ - './kokoro/build.sh' + '.kokoro/build.sh' ] env: - 'JOB_TYPE=samples' From 8e9e3a1aabbd1849cf427fc2f8f831c45ba9c714 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 10:47:39 -0500 Subject: [PATCH 04/20] specify GOOGLE_CLOUD_PROJECT variable --- .cloudbuild/samples_build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index 032083292..eb190d44a 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -20,6 +20,7 @@ steps: ] env: - 'JOB_TYPE=samples' + - 'GOOGLE_CLOUD_PROJECT=cloud-java-ci-sample' - name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: echo args: [ From 5b7e07abfa4e388e05d7294c3ac7ea9240e2ae70 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 22 Feb 2024 16:59:19 +0000 Subject: [PATCH 05/20] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53cd42194..653c6dcec 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.32.0') +implementation platform('com.google.cloud:libraries-bom:26.33.0') implementation 'com.google.cloud:google-cloud-pubsub' ``` From f92498d2be661a420ec795ae145010d2d2877504 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 12:09:59 -0500 Subject: [PATCH 06/20] empty commit to trigger CloudBuild From aec62877b7dc3264d0ef78840a6af85f74d5594d Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 14:52:21 -0500 Subject: [PATCH 07/20] empty commit to trigger the build From 51ea3e1da561d64fdb1358ac31a2d327aaf03e64 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 15:01:25 -0500 Subject: [PATCH 08/20] empty commit From c59465f7ccf15054621ae17729750de803bc6669 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 16:19:44 -0500 Subject: [PATCH 09/20] trigger the build From ed70ebee25bc432467440e6b943726b27284d673 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 16:27:32 -0500 Subject: [PATCH 10/20] seconds --- .cloudbuild/samples_build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index eb190d44a..c29dfe8bf 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -27,4 +27,4 @@ steps: 'Samp[le job succeeded', ] -timeout: 300m +timeout: 3600s From 9b6fdca41a2096b798b1f91f6602b2ca6a054de1 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 21:21:22 -0500 Subject: [PATCH 11/20] empty commit to trigger Cloud Build From 7342ebae3b7cb9ec42fa16fdf96afe9694ebce52 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 21:41:08 -0500 Subject: [PATCH 12/20] empty commit to trigger Cloud Build From 12b191314baf2c7067dd3d1c79e3d9d1ea974570 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 22 Feb 2024 21:43:31 -0500 Subject: [PATCH 13/20] not specifying trigger From 2cdf9aa066353666f05d48084d19d9324fe55a5f Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 12:13:02 -0500 Subject: [PATCH 14/20] test commit From 98e4b1da1a41eb99ca54a25e8753208bb04620b6 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 12:16:48 -0500 Subject: [PATCH 15/20] test commit 2 From 775993cce83c4d2191e29e12e1165c9bc9b872b0 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 12:18:31 -0500 Subject: [PATCH 16/20] test commit 3 From 7ba4f0f73d444ac9ee5eb4e3a782bcaccafaa766 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 12:39:26 -0500 Subject: [PATCH 17/20] test commit 4 From 128a879284a8810681e746272bc46a16a4ca72c8 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 12:52:49 -0500 Subject: [PATCH 18/20] REGIONAL_USER_OWNED_BUCKET --- .cloudbuild/samples_build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index c29dfe8bf..32f539927 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -26,5 +26,6 @@ steps: args: [ 'Samp[le job succeeded', ] - timeout: 3600s +options: + defaultLogsBucketBehavior: REGIONAL_USER_OWNED_BUCKET From cc3758f52320f8a24bcc6e16a956d236a76f5116 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 14:06:33 -0500 Subject: [PATCH 19/20] test commit 5 From a2616aa210e931e256485154702750b26e3e5d46 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Fri, 23 Feb 2024 14:54:58 -0500 Subject: [PATCH 20/20] fix typo --- .cloudbuild/samples_build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cloudbuild/samples_build.yaml b/.cloudbuild/samples_build.yaml index 32f539927..2d4a498e3 100644 --- a/.cloudbuild/samples_build.yaml +++ b/.cloudbuild/samples_build.yaml @@ -24,7 +24,7 @@ steps: - name: gcr.io/cloud-devrel-public-resources/java8 entrypoint: echo args: [ - 'Samp[le job succeeded', + 'Sample job succeeded', ] timeout: 3600s options: