From c4cbb45d167af62bb63c37c89944bc7d2295f6b6 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 8 Feb 2024 18:01:26 +0100 Subject: [PATCH 01/12] chore(deps): update dependency com.google.cloud:google-cloud-pubsublite to v1.12.21 (#1582) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-pubsublite to v1.12.21 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- README.md | 8 ++++---- samples/snippets/pom.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e27cd1fb2..92255e6e4 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-pubsublite - 1.12.20 + 1.12.21 com.google.cloud @@ -33,13 +33,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsublite:1.12.20' +implementation 'com.google.cloud:google-cloud-pubsublite:1.12.21' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsublite" % "1.12.20" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsublite" % "1.12.21" ``` @@ -483,7 +483,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsublite/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsublite.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsublite/1.12.20 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsublite/1.12.21 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b9e4b2f74..c62c0333a 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.cloud google-cloud-pubsublite - 1.12.20 + 1.12.21 com.google.cloud From a90d076f011972c5f58fa989ad502d32a82c8c7d Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Thu, 8 Feb 2024 20:36:14 +0100 Subject: [PATCH 02/12] deps: update dependency com.google.cloud:google-cloud-pubsub to v1.126.3 (#1590) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.126.3 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- README.md | 2 +- google-cloud-pubsublite/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 92255e6e4..af22dbdb4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-pubsub - 1.126.2 + 1.126.3 ``` diff --git a/google-cloud-pubsublite/pom.xml b/google-cloud-pubsublite/pom.xml index ff0d67ea1..36aae28ee 100644 --- a/google-cloud-pubsublite/pom.xml +++ b/google-cloud-pubsublite/pom.xml @@ -38,7 +38,7 @@ com.google.cloud google-cloud-pubsub - 1.126.2 + 1.126.3 com.google.api.grpc diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 06ede50eb..c3c5793e0 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -51,7 +51,7 @@ com.google.cloud google-cloud-pubsub - 1.126.2 + 1.126.3 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index c62c0333a..b85b07880 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -51,7 +51,7 @@ com.google.cloud google-cloud-pubsub - 1.126.2 + 1.126.3 From 4a6920b886a9dac00657b1f31d34f33cde72c50e Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Fri, 9 Feb 2024 20:02:58 +0000 Subject: [PATCH 03/12] chore: use sdk-platform-java-config to consolidate build configs (#1589) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: use sdk-platform-java-config to consolidate build configs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .kokoro/presubmit/graalvm-native-17.cfg | 2 +- .kokoro/presubmit/graalvm-native.cfg | 2 +- google-cloud-pubsublite-bom/pom.xml | 4 ++-- owlbot.py | 4 +++- pom.xml | 6 +++--- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg index fb5bb678f..90d9a20a0 100644 --- a/.kokoro/presubmit/graalvm-native-17.cfg +++ b/.kokoro/presubmit/graalvm-native-17.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.3" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.24.0" } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native.cfg b/.kokoro/presubmit/graalvm-native.cfg index 59efee340..948177be8 100644 --- a/.kokoro/presubmit/graalvm-native.cfg +++ b/.kokoro/presubmit/graalvm-native.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.3" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.24.0" } env_vars: { diff --git a/google-cloud-pubsublite-bom/pom.xml b/google-cloud-pubsublite-bom/pom.xml index 4b840d9c9..bc6374a25 100644 --- a/google-cloud-pubsublite-bom/pom.xml +++ b/google-cloud-pubsublite-bom/pom.xml @@ -7,8 +7,8 @@ pom com.google.cloud - google-cloud-shared-config - 1.7.1 + sdk-platform-java-config + 3.24.0 Google Cloud pubsublite BOM diff --git a/owlbot.py b/owlbot.py index ca85ede4a..92ab341e3 100644 --- a/owlbot.py +++ b/owlbot.py @@ -26,6 +26,8 @@ ".kokoro/*/samples.cfg", "samples/install-without-bom/*", ".github/workflows/samples.yaml", - ".github/CODEOWNERS" + ".github/CODEOWNERS", + ".kokoro/presubmit/graalvm-native.cfg", + ".kokoro/presubmit/graalvm-native-17.cfg" ] ) diff --git a/pom.xml b/pom.xml index 146e25338..3fed36a8f 100644 --- a/pom.xml +++ b/pom.xml @@ -2,8 +2,8 @@ com.google.cloud - google-cloud-shared-config - 1.7.1 + sdk-platform-java-config + 3.24.0 4.0.0 com.google.cloud @@ -18,7 +18,7 @@ com.google.cloud google-cloud-shared-dependencies - 3.23.0 + ${google-cloud-shared-dependencies.version} pom import From c81ccca1efd2cf81a657d72b8c135a41a209c530 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 15:28:17 -0500 Subject: [PATCH 04/12] chore(main): release 1.12.22 (#1591) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ google-cloud-pubsublite-bom/pom.xml | 8 ++++---- google-cloud-pubsublite/pom.xml | 8 ++++---- grpc-google-cloud-pubsublite-v1/pom.xml | 6 +++--- pom.xml | 8 ++++---- proto-google-cloud-pubsublite-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 8 ++++---- 8 files changed, 29 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1054c824f..a9acb1eb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.12.22](https://github.com/googleapis/java-pubsublite/compare/v1.12.21...v1.12.22) (2024-02-09) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-pubsub to v1.126.3 ([#1590](https://github.com/googleapis/java-pubsublite/issues/1590)) ([a90d076](https://github.com/googleapis/java-pubsublite/commit/a90d076f011972c5f58fa989ad502d32a82c8c7d)) + ## [1.12.21](https://github.com/googleapis/java-pubsublite/compare/v1.12.20...v1.12.21) (2024-01-26) diff --git a/google-cloud-pubsublite-bom/pom.xml b/google-cloud-pubsublite-bom/pom.xml index bc6374a25..86ace1eab 100644 --- a/google-cloud-pubsublite-bom/pom.xml +++ b/google-cloud-pubsublite-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsublite-bom - 1.12.22-SNAPSHOT + 1.12.22 pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsublite - 1.12.22-SNAPSHOT + 1.12.22 com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 diff --git a/google-cloud-pubsublite/pom.xml b/google-cloud-pubsublite/pom.xml index 36aae28ee..73d6b8b0c 100644 --- a/google-cloud-pubsublite/pom.xml +++ b/google-cloud-pubsublite/pom.xml @@ -3,13 +3,13 @@ com.google.cloud google-cloud-pubsublite-parent - 1.12.22-SNAPSHOT + 1.12.22 ../pom.xml 4.0.0 com.google.cloud google-cloud-pubsublite - 1.12.22-SNAPSHOT + 1.12.22 jar Google Cloud Pub/Sub Lite https://github.com/googleapis/java-pubsublite @@ -47,12 +47,12 @@ com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 com.google.flogger diff --git a/grpc-google-cloud-pubsublite-v1/pom.xml b/grpc-google-cloud-pubsublite-v1/pom.xml index 70391ae09..c3a0327d4 100644 --- a/grpc-google-cloud-pubsublite-v1/pom.xml +++ b/grpc-google-cloud-pubsublite-v1/pom.xml @@ -4,20 +4,20 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 grpc-google-cloud-pubsublite-v1 GRPC library for grpc-google-cloud-pubsublite-v1 com.google.cloud google-cloud-pubsublite-parent - 1.12.22-SNAPSHOT + 1.12.22 ../pom.xml com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 io.grpc diff --git a/pom.xml b/pom.xml index 3fed36a8f..ca2d1bc52 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ 4.0.0 com.google.cloud google-cloud-pubsublite-parent - 1.12.22-SNAPSHOT + 1.12.22 pom Google Cloud Pub/Sub Lite Parent https://github.com/googleapis/java-pubsublite @@ -25,17 +25,17 @@ com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 com.google.cloud google-cloud-pubsublite - 1.12.22-SNAPSHOT + 1.12.22 com.google.cloud diff --git a/proto-google-cloud-pubsublite-v1/pom.xml b/proto-google-cloud-pubsublite-v1/pom.xml index b1e0e2b79..92853d442 100644 --- a/proto-google-cloud-pubsublite-v1/pom.xml +++ b/proto-google-cloud-pubsublite-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22-SNAPSHOT + 1.12.22 proto-google-cloud-pubsublite-v1 PROTO library for proto-google-cloud-pubsublite-v1 com.google.cloud google-cloud-pubsublite-parent - 1.12.22-SNAPSHOT + 1.12.22 ../pom.xml diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c3c5793e0..9010f37d4 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -45,7 +45,7 @@ com.google.cloud google-cloud-pubsublite - 1.12.22-SNAPSHOT + 1.12.22 diff --git a/versions.txt b/versions.txt index 5b9ee6a23..e5ccf2ce9 100644 --- a/versions.txt +++ b/versions.txt @@ -1,7 +1,7 @@ # Format: # module:released-version:current-version -google-cloud-pubsublite:1.12.21:1.12.22-SNAPSHOT -pubsublite-beam-io:0.31.21:0.31.22-SNAPSHOT -proto-google-cloud-pubsublite-v1:1.12.21:1.12.22-SNAPSHOT -grpc-google-cloud-pubsublite-v1:1.12.21:1.12.22-SNAPSHOT +google-cloud-pubsublite:1.12.22:1.12.22 +pubsublite-beam-io:0.31.22:0.31.22 +proto-google-cloud-pubsublite-v1:1.12.22:1.12.22 +grpc-google-cloud-pubsublite-v1:1.12.22:1.12.22 From a25d2c70be6a56b85a7e31b439daadfd19829a9a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 20:40:42 +0000 Subject: [PATCH 05/12] chore(main): release 1.12.23-SNAPSHOT (#1592) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please). --- google-cloud-pubsublite-bom/pom.xml | 8 ++++---- google-cloud-pubsublite/pom.xml | 8 ++++---- grpc-google-cloud-pubsublite-v1/pom.xml | 6 +++--- pom.xml | 8 ++++---- proto-google-cloud-pubsublite-v1/pom.xml | 4 ++-- samples/snapshot/pom.xml | 2 +- versions.txt | 8 ++++---- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/google-cloud-pubsublite-bom/pom.xml b/google-cloud-pubsublite-bom/pom.xml index 86ace1eab..672dca268 100644 --- a/google-cloud-pubsublite-bom/pom.xml +++ b/google-cloud-pubsublite-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-pubsublite-bom - 1.12.22 + 1.12.23-SNAPSHOT pom com.google.cloud @@ -52,17 +52,17 @@ com.google.cloud google-cloud-pubsublite - 1.12.22 + 1.12.23-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT diff --git a/google-cloud-pubsublite/pom.xml b/google-cloud-pubsublite/pom.xml index 73d6b8b0c..ff961a60c 100644 --- a/google-cloud-pubsublite/pom.xml +++ b/google-cloud-pubsublite/pom.xml @@ -3,13 +3,13 @@ com.google.cloud google-cloud-pubsublite-parent - 1.12.22 + 1.12.23-SNAPSHOT ../pom.xml 4.0.0 com.google.cloud google-cloud-pubsublite - 1.12.22 + 1.12.23-SNAPSHOT jar Google Cloud Pub/Sub Lite https://github.com/googleapis/java-pubsublite @@ -47,12 +47,12 @@ com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT com.google.flogger diff --git a/grpc-google-cloud-pubsublite-v1/pom.xml b/grpc-google-cloud-pubsublite-v1/pom.xml index c3a0327d4..d4e265d8b 100644 --- a/grpc-google-cloud-pubsublite-v1/pom.xml +++ b/grpc-google-cloud-pubsublite-v1/pom.xml @@ -4,20 +4,20 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT grpc-google-cloud-pubsublite-v1 GRPC library for grpc-google-cloud-pubsublite-v1 com.google.cloud google-cloud-pubsublite-parent - 1.12.22 + 1.12.23-SNAPSHOT ../pom.xml com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT io.grpc diff --git a/pom.xml b/pom.xml index ca2d1bc52..8720610fe 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ 4.0.0 com.google.cloud google-cloud-pubsublite-parent - 1.12.22 + 1.12.23-SNAPSHOT pom Google Cloud Pub/Sub Lite Parent https://github.com/googleapis/java-pubsublite @@ -25,17 +25,17 @@ com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT com.google.api.grpc grpc-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT com.google.cloud google-cloud-pubsublite - 1.12.22 + 1.12.23-SNAPSHOT com.google.cloud diff --git a/proto-google-cloud-pubsublite-v1/pom.xml b/proto-google-cloud-pubsublite-v1/pom.xml index 92853d442..e4c34abd2 100644 --- a/proto-google-cloud-pubsublite-v1/pom.xml +++ b/proto-google-cloud-pubsublite-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-pubsublite-v1 - 1.12.22 + 1.12.23-SNAPSHOT proto-google-cloud-pubsublite-v1 PROTO library for proto-google-cloud-pubsublite-v1 com.google.cloud google-cloud-pubsublite-parent - 1.12.22 + 1.12.23-SNAPSHOT ../pom.xml diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9010f37d4..3971da343 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -45,7 +45,7 @@ com.google.cloud google-cloud-pubsublite - 1.12.22 + 1.12.23-SNAPSHOT diff --git a/versions.txt b/versions.txt index e5ccf2ce9..777eca30a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,7 +1,7 @@ # Format: # module:released-version:current-version -google-cloud-pubsublite:1.12.22:1.12.22 -pubsublite-beam-io:0.31.22:0.31.22 -proto-google-cloud-pubsublite-v1:1.12.22:1.12.22 -grpc-google-cloud-pubsublite-v1:1.12.22:1.12.22 +google-cloud-pubsublite:1.12.22:1.12.23-SNAPSHOT +pubsublite-beam-io:0.31.22:0.31.23-SNAPSHOT +proto-google-cloud-pubsublite-v1:1.12.22:1.12.23-SNAPSHOT +grpc-google-cloud-pubsublite-v1:1.12.22:1.12.23-SNAPSHOT From 4e694058eb33caaef6b7dccf11dfd99212dab5cf Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 13:21:39 -0500 Subject: [PATCH 06/12] chore: adjust renovate bot configs to update the sdk-platform-java-config artifact (#1921) (#1585) chore: update renovate bot configs to update the sdk-platform-java-config artifact Source-Link: https://github.com/googleapis/synthtool/commit/d7828c02a5b1aeb8dcf3aa6c55f8fdf407a0156f Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:0d1bb26a1a99ae0456176bf891b8490e9aab424a5cb4e4d301d9703c4dc43b58 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 4 ++-- renovate.json | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index dc05a7276..bf48c82da 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:a6aa751984f1e905c3ae5a3aac78fc7b68210626ce91487dc7ff4f0a06f010cc -# created: 2024-01-22T14:14:20.913785597Z + digest: sha256:0d1bb26a1a99ae0456176bf891b8490e9aab424a5cb4e4d301d9703c4dc43b58 +# created: 2024-01-30T19:46:55.029238294Z diff --git a/renovate.json b/renovate.json index 82a78474d..a3781501b 100644 --- a/renovate.json +++ b/renovate.json @@ -14,6 +14,17 @@ ".kokoro/requirements.txt", ".github/workflows/**" ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "^.kokoro/presubmit/graalvm-native.*.cfg$" + ], + "matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?.*?)\""], + "depNameTemplate": "com.google.cloud:sdk-platform-java-config", + "datasourceTemplate": "maven" + } + ], "packageRules": [ { "packagePatterns": [ From 5eff0a8222e33067b0586adbc47358579c9b457a Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 14 Feb 2024 19:33:19 +0100 Subject: [PATCH 07/12] deps: update dependency com.google.cloud:sdk-platform-java-config to v3.25.0 (#1595) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:sdk-platform-java-config to v3.25.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .kokoro/presubmit/graalvm-native-17.cfg | 2 +- .kokoro/presubmit/graalvm-native.cfg | 2 +- README.md | 6 +++--- google-cloud-pubsublite-bom/pom.xml | 2 +- pom.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg index 90d9a20a0..5e86d37f0 100644 --- a/.kokoro/presubmit/graalvm-native-17.cfg +++ b/.kokoro/presubmit/graalvm-native-17.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.24.0" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.25.0" } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native.cfg b/.kokoro/presubmit/graalvm-native.cfg index 948177be8..8e8cded78 100644 --- a/.kokoro/presubmit/graalvm-native.cfg +++ b/.kokoro/presubmit/graalvm-native.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.24.0" + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.25.0" } env_vars: { diff --git a/README.md b/README.md index af22dbdb4..ffc7400bf 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-pubsublite:1.12.21' +implementation 'com.google.cloud:google-cloud-pubsublite:1.12.22' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-pubsublite" % "1.12.21" +libraryDependencies += "com.google.cloud" % "google-cloud-pubsublite" % "1.12.22" ``` @@ -483,7 +483,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-pubsublite/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-pubsublite.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsublite/1.12.21 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-pubsublite/1.12.22 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/google-cloud-pubsublite-bom/pom.xml b/google-cloud-pubsublite-bom/pom.xml index 672dca268..c3ec6644b 100644 --- a/google-cloud-pubsublite-bom/pom.xml +++ b/google-cloud-pubsublite-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud sdk-platform-java-config - 3.24.0 + 3.25.0 Google Cloud pubsublite BOM diff --git a/pom.xml b/pom.xml index 8720610fe..53d2859fd 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ com.google.cloud sdk-platform-java-config - 3.24.0 + 3.25.0 4.0.0 com.google.cloud From 79091165e5159e27cdf29036ff594246d0723ea7 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 14 Feb 2024 19:36:29 +0100 Subject: [PATCH 08/12] deps: update dependency com.google.cloud:google-cloud-pubsub to v1.126.4 (#1594) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-pubsub to v1.126.4 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- README.md | 2 +- google-cloud-pubsublite/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ffc7400bf..7a4caa20e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-pubsub - 1.126.3 + 1.126.4 ``` diff --git a/google-cloud-pubsublite/pom.xml b/google-cloud-pubsublite/pom.xml index ff961a60c..9ce1ff319 100644 --- a/google-cloud-pubsublite/pom.xml +++ b/google-cloud-pubsublite/pom.xml @@ -38,7 +38,7 @@ com.google.cloud google-cloud-pubsub - 1.126.3 + 1.126.4 com.google.api.grpc diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 3971da343..e0942c0d1 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -51,7 +51,7 @@ com.google.cloud google-cloud-pubsub - 1.126.3 + 1.126.4 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b85b07880..e488228b8 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -51,7 +51,7 @@ com.google.cloud google-cloud-pubsub - 1.126.3 + 1.126.4 From cd02255664711caa97673a92294848e3359f32da Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 14 Feb 2024 19:37:10 +0100 Subject: [PATCH 09/12] chore(deps): update dependency com.google.cloud:google-cloud-pubsublite to v1.12.22 (#1593) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-pubsublite to v1.12.22 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- README.md | 2 +- samples/snippets/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a4caa20e..25867509d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-pubsublite - 1.12.21 + 1.12.22 com.google.cloud diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e488228b8..66f50a531 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -46,7 +46,7 @@ com.google.cloud google-cloud-pubsublite - 1.12.21 + 1.12.22 com.google.cloud From fb430aad1871b644a682699811392f6522b9d432 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 14 Feb 2024 19:49:47 +0100 Subject: [PATCH 10/12] deps: update dependency com.google.cloud:google-cloud-bom to v0.212.0 (#1584) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * deps: update dependency com.google.cloud:google-cloud-bom to v0.212.0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot Co-authored-by: Alice <65933803+alicejli@users.noreply.github.com> --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 53d2859fd..9b9a01fad 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ com.google.cloud google-cloud-bom - 0.211.0 + 0.212.0 pom import From 7b237bb94e94ef6d52e8bc073b403ac2c731c59a Mon Sep 17 00:00:00 2001 From: Alice <65933803+alicejli@users.noreply.github.com> Date: Wed, 14 Feb 2024 13:49:58 -0500 Subject: [PATCH 11/12] chore: remove obsolete release job configs (#1575) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: remove obsolete release job configs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot --- .github/CODEOWNERS | 2 +- .kokoro/release/bump_snapshot.cfg | 53 ---------------------- .kokoro/release/common.cfg | 49 --------------------- .kokoro/release/common.sh | 50 --------------------- .kokoro/release/drop.cfg | 6 --- .kokoro/release/drop.sh | 32 -------------- .kokoro/release/promote.cfg | 6 --- .kokoro/release/promote.sh | 34 --------------- .kokoro/release/publish_javadoc.cfg | 23 ---------- .kokoro/release/publish_javadoc.sh | 53 ---------------------- .kokoro/release/publish_javadoc11.cfg | 30 ------------- .kokoro/release/publish_javadoc11.sh | 63 --------------------------- .kokoro/release/snapshot.cfg | 6 --- .kokoro/release/snapshot.sh | 33 -------------- .kokoro/release/stage.cfg | 19 -------- .kokoro/release/stage.sh | 47 -------------------- .kokoro/requirements.in | 6 --- owlbot.py | 3 ++ 18 files changed, 4 insertions(+), 511 deletions(-) delete mode 100644 .kokoro/release/bump_snapshot.cfg delete mode 100644 .kokoro/release/common.cfg delete mode 100755 .kokoro/release/common.sh delete mode 100644 .kokoro/release/drop.cfg delete mode 100755 .kokoro/release/drop.sh delete mode 100644 .kokoro/release/promote.cfg delete mode 100755 .kokoro/release/promote.sh delete mode 100644 .kokoro/release/publish_javadoc.cfg delete mode 100755 .kokoro/release/publish_javadoc.sh delete mode 100644 .kokoro/release/publish_javadoc11.cfg delete mode 100755 .kokoro/release/publish_javadoc11.sh delete mode 100644 .kokoro/release/snapshot.cfg delete mode 100755 .kokoro/release/snapshot.sh delete mode 100644 .kokoro/release/stage.cfg delete mode 100755 .kokoro/release/stage.sh delete mode 100644 .kokoro/requirements.in diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index f888bf51e..35986fab9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -8,7 +8,7 @@ * @googleapis/yoshi-java @googleapis/api-pubsublite # for handwritten libraries, keep codeowner_team in .repo-metadata.json as owner -**/*.java @googleapis/yoshi-java @googleapis/api-pubsublite +**/*.java @googleapis/api-pubsublite # The java-samples-reviewers team is the default owner for samples changes diff --git a/.kokoro/release/bump_snapshot.cfg b/.kokoro/release/bump_snapshot.cfg deleted file mode 100644 index 2c322b0c3..000000000 --- a/.kokoro/release/bump_snapshot.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-pubsublite/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/bump_snapshot.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/.kokoro/release/common.cfg b/.kokoro/release/common.cfg deleted file mode 100644 index 891ff57f4..000000000 --- a/.kokoro/release/common.cfg +++ /dev/null @@ -1,49 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-pubsublite/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java8" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-keyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-passphrase" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "maven-gpg-pubkeyring" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 70247 - keyname: "sonatype-credentials" - } - } -} diff --git a/.kokoro/release/common.sh b/.kokoro/release/common.sh deleted file mode 100755 index 7f78ee414..000000000 --- a/.kokoro/release/common.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Get secrets from keystore and set and environment variables -setup_environment_secrets() { - export GPG_PASSPHRASE=$(cat ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-passphrase) - export GPG_TTY=$(tty) - export GPG_HOMEDIR=/gpg - mkdir $GPG_HOMEDIR - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-pubkeyring $GPG_HOMEDIR/pubring.gpg - mv ${KOKORO_KEYSTORE_DIR}/70247_maven-gpg-keyring $GPG_HOMEDIR/secring.gpg - export SONATYPE_USERNAME=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f1 -d'|') - export SONATYPE_PASSWORD=$(cat ${KOKORO_KEYSTORE_DIR}/70247_sonatype-credentials | cut -f2 -d'|') -} - -create_settings_xml_file() { - echo " - - - ossrh - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-staging - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - - sonatype-nexus-snapshots - ${SONATYPE_USERNAME} - ${SONATYPE_PASSWORD} - - -" > $1 -} \ No newline at end of file diff --git a/.kokoro/release/drop.cfg b/.kokoro/release/drop.cfg deleted file mode 100644 index 51368173c..000000000 --- a/.kokoro/release/drop.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/drop.sh" -} diff --git a/.kokoro/release/drop.sh b/.kokoro/release/drop.sh deleted file mode 100755 index 742ec1a88..000000000 --- a/.kokoro/release/drop.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:drop -B \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/.kokoro/release/promote.cfg b/.kokoro/release/promote.cfg deleted file mode 100644 index 5874ef346..000000000 --- a/.kokoro/release/promote.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/promote.sh" -} diff --git a/.kokoro/release/promote.sh b/.kokoro/release/promote.sh deleted file mode 100755 index 3cac3d8a9..000000000 --- a/.kokoro/release/promote.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# STAGING_REPOSITORY_ID must be set -if [ -z "${STAGING_REPOSITORY_ID}" ]; then - echo "Missing STAGING_REPOSITORY_ID environment variable" - exit 1 -fi - -source $(dirname "$0")/common.sh - -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml \ - -DstagingRepositoryId=${STAGING_REPOSITORY_ID} diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg deleted file mode 100644 index 76b53b577..000000000 --- a/.kokoro/release/publish_javadoc.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" - -env_vars: { - key: "STAGING_BUCKET" - value: "docs-staging" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/publish_javadoc.sh" -} - - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh deleted file mode 100755 index 9bc192791..000000000 --- a/.kokoro/release/publish_javadoc.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET}" ]]; then - echo "Need to set STAGING_BUCKET environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-cloud-pubsublite -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# build the docs -mvn site -B -q - -pushd target/site/apidocs - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --language java - -# upload docs -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET} diff --git a/.kokoro/release/publish_javadoc11.cfg b/.kokoro/release/publish_javadoc11.cfg deleted file mode 100644 index 760282b9e..000000000 --- a/.kokoro/release/publish_javadoc11.cfg +++ /dev/null @@ -1,30 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# cloud-rad production -env_vars: { - key: "STAGING_BUCKET_V2" - value: "docs-staging-v2" -} - -# Configure the docker image for kokoro-trampoline -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/java11" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/publish_javadoc11.sh" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "docuploader_service_account" - } - } -} - -# Downloads docfx doclet resource. This will be in ${KOKORO_GFILE_DIR}/ -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/docfx" diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh deleted file mode 100755 index 326b0a09c..000000000 --- a/.kokoro/release/publish_javadoc11.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash -# Copyright 2021 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -if [[ -z "${CREDENTIALS}" ]]; then - CREDENTIALS=${KOKORO_KEYSTORE_DIR}/73713_docuploader_service_account -fi - -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - -# work from the git root directory -pushd $(dirname "$0")/../../ - -# install docuploader package -python3 -m pip install --require-hashes -r .kokoro/requirements.txt - -# compile all packages -mvn clean install -B -q -DskipTests=true - -export NAME=google-cloud-pubsublite -export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) - -# cloud RAD generation -mvn clean javadoc:aggregate -B -q -P docFX -# include CHANGELOG -cp CHANGELOG.md target/docfx-yml/history.md - -pushd target/docfx-yml - -# create metadata -python3 -m docuploader create-metadata \ - --name ${NAME} \ - --version ${VERSION} \ - --xrefs devsite://java/gax \ - --xrefs devsite://java/google-cloud-core \ - --xrefs devsite://java/api-common \ - --xrefs devsite://java/proto-google-common-protos \ - --xrefs devsite://java/google-api-client \ - --xrefs devsite://java/google-http-client \ - --xrefs devsite://java/protobuf \ - --language java - -# upload yml to production bucket -python3 -m docuploader upload . \ - --credentials ${CREDENTIALS} \ - --staging-bucket ${STAGING_BUCKET_V2} \ - --destination-prefix docfx diff --git a/.kokoro/release/snapshot.cfg b/.kokoro/release/snapshot.cfg deleted file mode 100644 index 11e363327..000000000 --- a/.kokoro/release/snapshot.cfg +++ /dev/null @@ -1,6 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/snapshot.sh" -} \ No newline at end of file diff --git a/.kokoro/release/snapshot.sh b/.kokoro/release/snapshot.sh deleted file mode 100755 index 1f55b7702..000000000 --- a/.kokoro/release/snapshot.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# Copyright 2019 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -source $(dirname "$0")/common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -# ensure we're trying to push a snapshot (no-result returns non-zero exit code) -grep SNAPSHOT versions.txt - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} diff --git a/.kokoro/release/stage.cfg b/.kokoro/release/stage.cfg deleted file mode 100644 index 9869bcd5e..000000000 --- a/.kokoro/release/stage.cfg +++ /dev/null @@ -1,19 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-pubsublite/.kokoro/release/stage.sh" -} - -# Need to save the properties file -action { - define_artifacts { - regex: "github/java-pubsublite/target/nexus-staging/staging/*.properties" - strip_prefix: "github/java-pubsublite" - } -} - -env_vars: { - key: "SECRET_MANAGER_KEYS" - value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" -} diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh deleted file mode 100755 index 61e714d6b..000000000 --- a/.kokoro/release/stage.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/bash -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eo pipefail - -# Start the releasetool reporter -requirementsFile=$(realpath $(dirname "${BASH_SOURCE[0]}")/../requirements.txt) -python3 -m pip install --require-hashes -r $requirementsFile -python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script - -source $(dirname "$0")/common.sh -source $(dirname "$0")/../common.sh -MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml -pushd $(dirname "$0")/../../ - -setup_environment_secrets -create_settings_xml_file "settings.xml" - -# attempt to stage 3 times with exponential backoff (starting with 10 seconds) -retry_with_backoff 3 10 \ - mvn clean deploy -B \ - --settings ${MAVEN_SETTINGS_FILE} \ - -DskipTests=true \ - -Dclirr.skip=true \ - -DperformRelease=true \ - -Dgpg.executable=gpg \ - -Dgpg.passphrase=${GPG_PASSPHRASE} \ - -Dgpg.homedir=${GPG_HOMEDIR} - -if [[ -n "${AUTORELEASE_PR}" ]] -then - mvn nexus-staging:release -B \ - -DperformRelease=true \ - --settings=settings.xml -fi diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in deleted file mode 100644 index 2092cc741..000000000 --- a/.kokoro/requirements.in +++ /dev/null @@ -1,6 +0,0 @@ -gcp-docuploader -gcp-releasetool>=1.10.5 # required for compatibility with cryptography>=39.x -wheel -setuptools -typing-extensions -click<8.1.0 \ No newline at end of file diff --git a/owlbot.py b/owlbot.py index 92ab341e3..48a492fe9 100644 --- a/owlbot.py +++ b/owlbot.py @@ -26,6 +26,9 @@ ".kokoro/*/samples.cfg", "samples/install-without-bom/*", ".github/workflows/samples.yaml", + '.kokoro/requirements.in', + '.kokoro/requirements.txt' + ".github/CODEOWNERS" ".github/CODEOWNERS", ".kokoro/presubmit/graalvm-native.cfg", ".kokoro/presubmit/graalvm-native-17.cfg" From 827f22abe642c06de898d55058e8f9cfd664edea Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 14 Feb 2024 19:56:15 +0100 Subject: [PATCH 12/12] chore(deps): update dependency com.google.cloud:google-cloud-pubsublite to v1.12.22 (#1598) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-pubsublite to v1.12.22 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot