From ab58b887d041783335d2ab4f04b47651ae91ef77 Mon Sep 17 00:00:00 2001 From: Cindy Peng <148148319+cindy-peng@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:41:16 -0800 Subject: [PATCH] feat: add graal native image profile for logback library (#1246) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat:add graal native image profile for logback library * feat:add graal native image profile for logback library * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Add comment for skipped mock tests * 🦉 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: cindy-peng Co-authored-by: Owl Bot --- .kokoro/build.sh | 6 +++--- README.md | 8 ++++---- owlbot.py | 3 +-- pom.xml | 9 +++++++++ 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 8aeb0eba5..4239a1127 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -71,13 +71,13 @@ integration) RETURN_CODE=$? ;; 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" + # Run Unit and Integration Tests with Native Image + 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) 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 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 267c876d3..88bdf412b 100644 --- a/pom.xml +++ b/pom.xml @@ -225,4 +225,13 @@ + + + native + + + !LoggingAppenderTest + + +