diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index f66be60f..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:e56a9ac49143216f08cd6d5f7f8769b456ce35b576ae14dbbf8d9891bbb859c3 \ No newline at end of file + digest: sha256:d4b2141d65566523dfd523f63c6e6899ab1281463bce182a9f600e74b0511875 diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 9ff56432..d5feb063 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 02caf438..844c0ee3 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -2,7 +2,7 @@ "name": "cloudkms", "name_pretty": "Cloud Key Management Service", "product_documentation": "https://cloud.google.com/kms", - "client_documentation": "https://googleapis.dev/java/google-cloud-kms/latest/", + "client_documentation": "https://cloud.google.com/java/docs/reference/google-cloud-kms/latest/history", "issue_tracker": "https://issuetracker.google.com/savedsearches/5264932", "release_level": "ga", "repo": "googleapis/java-kms", diff --git a/CHANGELOG.md b/CHANGELOG.md index 42ad3148..08528bc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.2.2](https://www.github.com/googleapis/java-kms/compare/v2.2.1...v2.2.2) (2021-10-20) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.4.0 ([#652](https://www.github.com/googleapis/java-kms/issues/652)) ([5764de2](https://www.github.com/googleapis/java-kms/commit/5764de2b71f0c5ac23ff8393ef8f58271c4c3fc6)) + ### [2.2.1](https://www.github.com/googleapis/java-kms/compare/v2.2.0...v2.2.1) (2021-10-06) diff --git a/README.md b/README.md index 14220b1e..dbcad668 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-kms - 2.2.0 + 2.2.1 ``` @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-kms' If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-kms:2.2.0' +implementation 'com.google.cloud:google-cloud-kms:2.2.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.2.0" +libraryDependencies += "com.google.cloud" % "google-cloud-kms" % "2.2.1" ``` ## Authentication @@ -233,7 +233,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/kms -[javadocs]: https://googleapis.dev/java/google-cloud-kms/latest/ +[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-kms/latest/history [kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-kms/java7.svg [kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-kms/java7.html [kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-kms/java8.svg diff --git a/google-cloud-kms-bom/pom.xml b/google-cloud-kms-bom/pom.xml index e029d27a..d0b6e870 100644 --- a/google-cloud-kms-bom/pom.xml +++ b/google-cloud-kms-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-kms-bom - 2.2.1 + 2.2.2 pom com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 Google Cloud kms BOM @@ -52,17 +52,17 @@ com.google.cloud google-cloud-kms - 2.2.1 + 2.2.2 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.93.1 + 0.93.2 com.google.api.grpc proto-google-cloud-kms-v1 - 0.93.1 + 0.93.2 diff --git a/google-cloud-kms/pom.xml b/google-cloud-kms/pom.xml index f06a39f3..e4f3733a 100644 --- a/google-cloud-kms/pom.xml +++ b/google-cloud-kms/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-kms - 2.2.1 + 2.2.2 jar Google Cloud KMS https://github.com/googleapis/java-kms @@ -11,7 +11,7 @@ com.google.cloud google-cloud-kms-parent - 2.2.1 + 2.2.2 google-cloud-kms diff --git a/grpc-google-cloud-kms-v1/pom.xml b/grpc-google-cloud-kms-v1/pom.xml index ec70b919..fee19019 100644 --- a/grpc-google-cloud-kms-v1/pom.xml +++ b/grpc-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.93.1 + 0.93.2 grpc-google-cloud-kms-v1 GRPC library for grpc-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.2.1 + 2.2.2 diff --git a/pom.xml b/pom.xml index e13b83bf..304d0a1e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-kms-parent pom - 2.2.1 + 2.2.2 Google Cloud KMS Parent https://github.com/googleapis/java-kms @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.0.3 + 1.1.0 @@ -61,28 +61,28 @@ com.google.api.grpc proto-google-cloud-kms-v1 - 0.93.1 + 0.93.2 com.google.api.grpc grpc-google-cloud-kms-v1 - 0.93.1 + 0.93.2 com.google.cloud google-cloud-kms - 2.2.1 + 2.2.2 com.google.cloud google-cloud-kms-bom - 2.1.2 + 2.2.1 com.google.cloud google-cloud-shared-dependencies - 2.3.0 + 2.4.0 pom import diff --git a/proto-google-cloud-kms-v1/pom.xml b/proto-google-cloud-kms-v1/pom.xml index 359d058b..c5cf344b 100644 --- a/proto-google-cloud-kms-v1/pom.xml +++ b/proto-google-cloud-kms-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-kms-v1 - 0.93.1 + 0.93.2 proto-google-cloud-kms-v1 PROTO library for proto-google-cloud-kms-v1 com.google.cloud google-cloud-kms-parent - 2.2.1 + 2.2.2 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index a2c1b56a..c34a6a59 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-kms - 2.2.0 + 2.2.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 6cffd6d4..424dc1b3 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-kms - 2.2.1 + 2.2.2 diff --git a/versions.txt b/versions.txt index 131d2c49..9cd8ea5a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-kms:2.2.1:2.2.1 -grpc-google-cloud-kms-v1:0.93.1:0.93.1 -proto-google-cloud-kms-v1:0.93.1:0.93.1 +google-cloud-kms:2.2.2:2.2.2 +grpc-google-cloud-kms-v1:0.93.2:0.93.2 +proto-google-cloud-kms-v1:0.93.2:0.93.2