From f155d995617790697bc6c97531eadc9e43849854 Mon Sep 17 00:00:00 2001 From: cindy-peng Date: Thu, 11 Jan 2024 14:26:07 -0800 Subject: [PATCH 1/6] feat:add graal native image profile for logback library --- owlbot.py | 3 +-- pom.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/owlbot.py b/owlbot.py index c73cc8b6a..d57e0b44a 100644 --- a/owlbot.py +++ b/owlbot.py @@ -24,8 +24,7 @@ '.github/blunderbuss.yml', 'CONTRIBUTING.md', '.github/auto-label.yaml', - ".github/release-please.yml", - ".kokoro/build.sh" + ".github/release-please.yml" ]) # -------------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 124705f03..d7f333e03 100644 --- a/pom.xml +++ b/pom.xml @@ -225,4 +225,12 @@ + + + native + + !LoggingAppenderTest + + + From 0022c4d14700fd4ca34b7519965e88b599621f84 Mon Sep 17 00:00:00 2001 From: cindy-peng Date: Thu, 11 Jan 2024 14:27:06 -0800 Subject: [PATCH 2/6] feat:add graal native image profile for logback library --- .kokoro/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 8aeb0eba5..b6154fc7b 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -72,12 +72,12 @@ integration) ;; graalvm) # Run Unit and Integration Tests with Native Image. Skip tests that use mocking libs - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test "-Dtest=!LoggingAppenderTest" + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test RETURN_CODE=$? ;; graalvm17) # Run Unit and Integration Tests with Native Image - mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test "-Dtest=!LoggingAppenderTest" + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test RETURN_CODE=$? ;; samples) From dbfba42de209eef1997f00792a2b91401dfe9389 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 11 Jan 2024 22:29:57 +0000 Subject: [PATCH 3/6] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-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 --- .kokoro/build.sh | 2 +- README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index b6154fc7b..4239a1127 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -71,7 +71,7 @@ integration) RETURN_CODE=$? ;; graalvm) - # Run Unit and Integration Tests with Native Image. Skip tests that use mocking libs + # Run Unit and Integration Tests with Native Image mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test RETURN_CODE=$? ;; diff --git a/README.md b/README.md index ba2aeaf07..3a5eff653 100644 --- a/README.md +++ b/README.md @@ -23,20 +23,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-logging-logback - 0.130.28-alpha + 0.130.29-alpha ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-logging-logback:0.130.28-alpha' +implementation 'com.google.cloud:google-cloud-logging-logback:0.130.29-alpha' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.130.28-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.130.29-alpha" ``` @@ -299,7 +299,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-logging-logback/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-logging-logback.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging-logback/0.130.28-alpha +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging-logback/0.130.29-alpha [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 From 1f77719a583321051dab20f1c02fc143de87c365 Mon Sep 17 00:00:00 2001 From: cindy-peng Date: Tue, 16 Jan 2024 14:15:58 -0800 Subject: [PATCH 4/6] Add comment for skipped mock tests --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index d7f333e03..c3afd1823 100644 --- a/pom.xml +++ b/pom.xml @@ -229,6 +229,7 @@ native + !LoggingAppenderTest From b744a9890e5b8f2545862a3e5b7b3cc3aaf9e101 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 16 Jan 2024 22:20:48 +0000 Subject: [PATCH 5/6] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3a5eff653..c76b5b651 100644 --- a/README.md +++ b/README.md @@ -23,20 +23,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-logging-logback - 0.130.29-alpha + 0.130.30-alpha ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-logging-logback:0.130.29-alpha' +implementation 'com.google.cloud:google-cloud-logging-logback:0.130.30-alpha' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.130.29-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.130.30-alpha" ``` @@ -299,7 +299,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-logging-logback/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-logging-logback.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging-logback/0.130.29-alpha +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging-logback/0.130.30-alpha [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 From 839e663aa34aab68b81f7725ece6b35b94bc293f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 16 Jan 2024 22:25:27 +0000 Subject: [PATCH 6/6] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3a5eff653..c76b5b651 100644 --- a/README.md +++ b/README.md @@ -23,20 +23,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-logging-logback - 0.130.29-alpha + 0.130.30-alpha ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-logging-logback:0.130.29-alpha' +implementation 'com.google.cloud:google-cloud-logging-logback:0.130.30-alpha' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.130.29-alpha" +libraryDependencies += "com.google.cloud" % "google-cloud-logging-logback" % "0.130.30-alpha" ``` @@ -299,7 +299,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-logging-logback/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-logging-logback.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging-logback/0.130.29-alpha +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-logging-logback/0.130.30-alpha [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