diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5ff6c87c..dc53bbb5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,3 +1,3 @@ docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:13b7387edb404234610d30473ac48210ae7fe42a136335ee2b2f8a07c4c7f6a5 + digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875 diff --git a/.kokoro/build.sh b/.kokoro/build.sh index f330a4de..ab2bf876 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -69,6 +69,11 @@ integration) verify RETURN_CODE=$? ;; +graalvm) + # Run Unit and Integration Tests with Native Image + mvn test -Pnative -Penable-integration-tests + RETURN_CODE=$? + ;; samples) SAMPLES_DIR=samples # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. diff --git a/.kokoro/presubmit/graalvm-native.cfg b/.kokoro/presubmit/graalvm-native.cfg new file mode 100644 index 00000000..4c7225ec --- /dev/null +++ b/.kokoro/presubmit/graalvm-native.cfg @@ -0,0 +1,33 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Configure the docker image for kokoro-trampoline. +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/graalvm" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm" +} + +# TODO: remove this after we've migrated all tests and scripts +env_vars: { + key: "GCLOUD_PROJECT" + value: "gcloud-devel" +} + +env_vars: { + key: "GOOGLE_CLOUD_PROJECT" + value: "gcloud-devel" +} + +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/.repo-metadata.json b/.repo-metadata.json index 5f1e7816..294b98f1 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -2,7 +2,7 @@ "name": "cloudscheduler", "name_pretty": "Google Cloud Scheduler", "product_documentation": "https://cloud.google.com/scheduler/docs", - "client_documentation": "https://googleapis.dev/java/google-cloud-scheduler/latest/", + "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-scheduler/latest/history", "issue_tracker": "https://issuetracker.google.com/savedsearches/5411429", "release_level": "ga", "language": "java", diff --git a/CHANGELOG.md b/CHANGELOG.md index 88fce2d2..61f9aff5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.1.7](https://www.github.com/googleapis/java-scheduler/compare/v2.1.6...v2.1.7) (2021-10-19) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#610](https://www.github.com/googleapis/java-scheduler/issues/610)) ([0adae06](https://www.github.com/googleapis/java-scheduler/commit/0adae06cf687627534eefa45c012fefe4711deb5)) + ### [2.1.6](https://www.github.com/googleapis/java-scheduler/compare/v2.1.5...v2.1.6) (2021-10-06) diff --git a/README.md b/README.md index 9e83e936..065d69b1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-scheduler - 2.1.5 + 2.1.6 ``` @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-scheduler' If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-scheduler:2.1.5' +implementation 'com.google.cloud:google-cloud-scheduler:2.1.6' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.1.5" +libraryDependencies += "com.google.cloud" % "google-cloud-scheduler" % "2.1.6" ``` ## Authentication @@ -189,7 +189,7 @@ Java 11 | [![Kokoro CI][kokoro-badge-image-5]][kokoro-badge-link-5] Java is a registered trademark of Oracle and/or its affiliates. [product-docs]: https://cloud.google.com/scheduler/docs -[javadocs]: https://googleapis.dev/java/google-cloud-scheduler/latest/ +[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-scheduler/latest/history [kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-scheduler/java7.svg [kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-scheduler/java7.html [kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-scheduler/java8.svg diff --git a/google-cloud-scheduler-bom/pom.xml b/google-cloud-scheduler-bom/pom.xml index 6888b266..3ae9e491 100644 --- a/google-cloud-scheduler-bom/pom.xml +++ b/google-cloud-scheduler-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-scheduler-bom - 2.1.6 + 2.1.7 pom com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 Google Cloud scheduler BOM @@ -52,27 +52,27 @@ com.google.cloud google-cloud-scheduler - 2.1.6 + 2.1.7 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.86.6 + 0.86.7 com.google.api.grpc grpc-google-cloud-scheduler-v1 - 2.1.6 + 2.1.7 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.86.6 + 0.86.7 com.google.api.grpc proto-google-cloud-scheduler-v1 - 2.1.6 + 2.1.7 diff --git a/google-cloud-scheduler/pom.xml b/google-cloud-scheduler/pom.xml index 0ffd80d8..64c80543 100644 --- a/google-cloud-scheduler/pom.xml +++ b/google-cloud-scheduler/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-scheduler - 2.1.6 + 2.1.7 jar Google Cloud Scheduler https://github.com/googleapis/java-scheduler @@ -11,7 +11,7 @@ com.google.cloud google-cloud-scheduler-parent - 2.1.6 + 2.1.7 google-cloud-scheduler diff --git a/grpc-google-cloud-scheduler-v1/pom.xml b/grpc-google-cloud-scheduler-v1/pom.xml index 191217fe..4a9cae8b 100644 --- a/grpc-google-cloud-scheduler-v1/pom.xml +++ b/grpc-google-cloud-scheduler-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-scheduler-v1 - 2.1.6 + 2.1.7 grpc-google-cloud-scheduler-v1 GRPC library for grpc-google-cloud-scheduler-v1 com.google.cloud google-cloud-scheduler-parent - 2.1.6 + 2.1.7 diff --git a/grpc-google-cloud-scheduler-v1beta1/pom.xml b/grpc-google-cloud-scheduler-v1beta1/pom.xml index 942b64e8..c959e0da 100644 --- a/grpc-google-cloud-scheduler-v1beta1/pom.xml +++ b/grpc-google-cloud-scheduler-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.86.6 + 0.86.7 grpc-google-cloud-scheduler-v1beta1 GRPC library for grpc-google-cloud-scheduler-v1beta1 com.google.cloud google-cloud-scheduler-parent - 2.1.6 + 2.1.7 diff --git a/pom.xml b/pom.xml index 9d064b29..441be5c4 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-scheduler-parent pom - 2.1.6 + 2.1.7 Google Cloud Scheduler Parent https://github.com/googleapis/java-scheduler @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 @@ -61,33 +61,33 @@ com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.86.6 + 0.86.7 com.google.api.grpc proto-google-cloud-scheduler-v1 - 2.1.6 + 2.1.7 com.google.api.grpc grpc-google-cloud-scheduler-v1beta1 - 0.86.6 + 0.86.7 com.google.api.grpc grpc-google-cloud-scheduler-v1 - 2.1.6 + 2.1.7 com.google.cloud google-cloud-scheduler - 2.1.6 + 2.1.7 com.google.cloud google-cloud-shared-dependencies - 2.3.0 + 2.4.0 pom import diff --git a/proto-google-cloud-scheduler-v1/pom.xml b/proto-google-cloud-scheduler-v1/pom.xml index 15f51189..accbdc39 100644 --- a/proto-google-cloud-scheduler-v1/pom.xml +++ b/proto-google-cloud-scheduler-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-scheduler-v1 - 2.1.6 + 2.1.7 proto-google-cloud-scheduler-v1 PROTO library for proto-google-cloud-scheduler-v1 com.google.cloud google-cloud-scheduler-parent - 2.1.6 + 2.1.7 diff --git a/proto-google-cloud-scheduler-v1beta1/pom.xml b/proto-google-cloud-scheduler-v1beta1/pom.xml index 4def0f3f..7343dc08 100644 --- a/proto-google-cloud-scheduler-v1beta1/pom.xml +++ b/proto-google-cloud-scheduler-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-scheduler-v1beta1 - 0.86.6 + 0.86.7 proto-google-cloud-scheduler-v1beta1 PROTO library for proto-google-cloud-scheduler-v1beta1 com.google.cloud google-cloud-scheduler-parent - 2.1.6 + 2.1.7 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index b0488a2d..2e4fbc34 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-scheduler - 2.1.5 + 2.1.6 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e1c76df4..683bbfd0 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-scheduler - 2.1.5 + 2.1.6 diff --git a/versions.txt b/versions.txt index 40e89362..bfce5ca8 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-scheduler:2.1.6:2.1.6 -grpc-google-cloud-scheduler-v1beta1:0.86.6:0.86.6 -grpc-google-cloud-scheduler-v1:2.1.6:2.1.6 -proto-google-cloud-scheduler-v1beta1:0.86.6:0.86.6 -proto-google-cloud-scheduler-v1:2.1.6:2.1.6 +google-cloud-scheduler:2.1.7:2.1.7 +grpc-google-cloud-scheduler-v1beta1:0.86.7:0.86.7 +grpc-google-cloud-scheduler-v1:2.1.7:2.1.7 +proto-google-cloud-scheduler-v1beta1:0.86.7:0.86.7 +proto-google-cloud-scheduler-v1:2.1.7:2.1.7