diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index f60d7749..a79f0627 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 -# created: 2022-04-06T16:30:03.627422514Z + digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74 +# created: 2022-05-19T15:12:45.278246753Z diff --git a/.kokoro/build.sh b/.kokoro/build.sh index ed3eebac..b5354dc4 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -74,6 +74,11 @@ graalvm) mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test RETURN_CODE=$? ;; +graalvm17) + # Run Unit and Integration Tests with Native Image + mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test + 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-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg new file mode 100644 index 00000000..a3f7fb9d --- /dev/null +++ b/.kokoro/presubmit/graalvm-native-17.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/graalvm17" +} + +env_vars: { + key: "JOB_TYPE" + value: "graalvm17" +} + +# 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" +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3790b8..56fcd16e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.1.0](https://github.com/googleapis/java-dns/compare/v2.0.9...v2.1.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-dns/issues/1440)) ([#659](https://github.com/googleapis/java-dns/issues/659)) ([c948680](https://github.com/googleapis/java-dns/commit/c9486808e591cbb47df3f60b36a2c1b6cbd5757a)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#658](https://github.com/googleapis/java-dns/issues/658)) ([0ae6e82](https://github.com/googleapis/java-dns/commit/0ae6e826a3dfd721738fff7f8e121a59c9488c78)) +* update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#645](https://github.com/googleapis/java-dns/issues/645)) ([d256d46](https://github.com/googleapis/java-dns/commit/d256d460f373fab6f209f907d2d3593c99dad3ee)) +* use errorprone from shared deps ([#655](https://github.com/googleapis/java-dns/issues/655)) ([f2ae3e3](https://github.com/googleapis/java-dns/commit/f2ae3e3b245fe812cb3ea45467599e56ea237433)) + ### [2.0.9](https://github.com/googleapis/java-dns/compare/v2.0.8...v2.0.9) (2022-04-15) diff --git a/pom.xml b/pom.xml index f4009805..a4a76e1e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-dns jar - 2.0.9 + 2.1.0 Google Cloud DNS Parent https://github.com/googleapis/java-dns @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.4.0 @@ -61,15 +61,10 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.0 + 2.12.0 pom import - - com.google.errorprone - error_prone_annotations - 2.12.1 - @@ -166,7 +161,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.1 + 3.3.0 @@ -193,7 +188,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.0 html diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index da82533f..7923caaa 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-dns - 2.0.8 + 2.0.9 diff --git a/samples/pom.xml b/samples/pom.xml index daebc4a4..f08b8c04 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -46,7 +46,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.11 + 1.6.13 true diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 1872c68f..cd08f269 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-dns - 2.0.9 + 2.1.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 7436d6b2..9f93de77 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 25.1.0 + 25.3.0 pom import diff --git a/versions.txt b/versions.txt index 3c0a0cfb..8a496bcf 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -google-cloud-dns:2.0.9:2.0.9 \ No newline at end of file +google-cloud-dns:2.1.0:2.1.0 \ No newline at end of file