diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 53e7c2e74b..6bbfd9645b 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -112,6 +112,18 @@ clirr) mvn -B -Denforcer.skip=true clirr:check RETURN_CODE=$? ;; +retry_quota) + mvn -B ${INTEGRATION_TEST_ARGS} \ + -Dtest=ITBigQueryWriteQuotaRetryTest \ + test + RETURN_CODE=$? + ;; +retry_non_quota) + mvn -B ${INTEGRATION_TEST_ARGS} \ + -Dtest=ITBigQueryWriteNonQuotaRetryTest \ + test + RETURN_CODE=$? + ;; *) ;; esac diff --git a/.kokoro/nightly/retry_non_quota.cfg b/.kokoro/nightly/retry_non_quota.cfg new file mode 100644 index 0000000000..f481a726bb --- /dev/null +++ b/.kokoro/nightly/retry_non_quota.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "bq-write-api-java-retry-test" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "bq-write-api-java-retry-test" +} + +env_vars: { + key: "JOB_TYPE" + value: "retry_non_quota" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} diff --git a/.kokoro/nightly/retry_quota.cfg b/.kokoro/nightly/retry_quota.cfg new file mode 100644 index 0000000000..9da681d9b5 --- /dev/null +++ b/.kokoro/nightly/retry_quota.cfg @@ -0,0 +1,37 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/java8" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "bq-writeapi-java-quota-retry" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "bq-writeapi-java-quota-retry" +} + +env_vars: { + key: "JOB_TYPE" + value: "retry_quota" +} + +env_vars: { + key: "ENABLE_FLAKYBOT" + value: "true" +} + +env_vars: { + key: "GOOGLE_APPLICATION_CREDENTIALS" + value: "secret_manager/java-it-service-account" +} + +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" +} diff --git a/README.md b/README.md index 82c9e4277d..5ac5115b67 100644 --- a/README.md +++ b/README.md @@ -50,20 +50,20 @@ 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.26.0') +implementation platform('com.google.cloud:libraries-bom:26.27.0') implementation 'com.google.cloud:google-cloud-bigquerystorage' ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigquerystorage:2.44.1' +implementation 'com.google.cloud:google-cloud-bigquerystorage:2.45.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.44.1" +libraryDependencies += "com.google.cloud" % "google-cloud-bigquerystorage" % "2.45.0" ``` @@ -220,7 +220,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-bigquerystorage/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-bigquerystorage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.44.1 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-bigquerystorage/2.45.0 [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 16352d12b8..7f873745ef 100644 --- a/owlbot.py +++ b/owlbot.py @@ -25,6 +25,8 @@ excludes=[ "renovate.json", ".kokoro/build.sh", + ".kokoro/nightly/retry_non_quota.cfg", + ".kokoro/nightly/retry_quota.cfg", ".kokoro/nightly/samples.cfg", ".kokoro/presubmit/samples.cfg", ".kokoro/dependencies.sh",