diff --git a/.cloudbuild/std-build.yaml b/.cloudbuild/std-build.yaml index f2f849f6..004000aa 100644 --- a/.cloudbuild/std-build.yaml +++ b/.cloudbuild/std-build.yaml @@ -50,31 +50,31 @@ steps: # Run all the samples - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/pubsub-sample/target/pubsub-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/pubsub-sample/target/pubsub-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/storage-sample/target/storage-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/storage-sample/target/storage-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/bigquery-sample/target/bigquery-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/bigquery-sample/target/bigquery-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/logging-sample/target/logging-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/logging-sample/target/logging-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/trace-sample/target/trace-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/trace-sample/target/trace-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/secretmanager-sample/target/secretmanager-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/secretmanager-sample/target/secretmanager-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/tasks-sample/target/tasks-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/tasks-sample/target/tasks-sample-0.9.0-SNAPSHOT.jar'] - name: openjdk:11-jdk entrypoint: java @@ -82,30 +82,30 @@ steps: '-jar', '-Dinstance=cloud-graalvm-support-ci:us-east1:test-instance', '-Dpassword=root', - 'native-image-samples/native-image-samples-client-library/cloud-sql-sample/target/cloud-sql-sample-0.8.0-SNAPSHOT.jar' + 'native-image-samples/native-image-samples-client-library/cloud-sql-sample/target/cloud-sql-sample-0.9.0-SNAPSHOT.jar' ] - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/firestore-sample/target/firestore-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/firestore-sample/target/firestore-sample-0.9.0-SNAPSHOT.jar'] env: - 'FIRESTORE_EMULATOR_HOST=firestore-emulator:9010' - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/spanner-sample/target/spanner-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/spanner-sample/target/spanner-sample-0.9.0-SNAPSHOT.jar'] env: - 'SPANNER_EMULATOR_HOST=spanner-emulator:9010' - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/bigtable-sample/target/bigtable-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/bigtable-sample/target/bigtable-sample-0.9.0-SNAPSHOT.jar'] env: - 'BIGTABLE_EMULATOR_HOST=bigtable-emulator:9010' - name: openjdk:11-jdk entrypoint: java - args: ['-jar', 'native-image-samples/native-image-samples-client-library/datastore-sample/target/datastore-sample-0.8.0-SNAPSHOT.jar'] + args: ['-jar', 'native-image-samples/native-image-samples-client-library/datastore-sample/target/datastore-sample-0.9.0-SNAPSHOT.jar'] env: - 'DATASTORE_EMULATOR_HOST=http://datastore-emulator:9010' diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fa651a1c..62217741 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -43,8 +43,8 @@ jobs: - name: Run Samples run: | cd native-image-samples - java -jar native-image-samples-client-library/pubsub-sample/target/pubsub-sample-0.8.0-SNAPSHOT.jar - java -jar native-image-samples-client-library/trace-sample/target/trace-sample-0.8.0-SNAPSHOT.jar + java -jar native-image-samples-client-library/pubsub-sample/target/pubsub-sample-0.9.0-SNAPSHOT.jar + java -jar native-image-samples-client-library/trace-sample/target/trace-sample-0.9.0-SNAPSHOT.jar graal-java-build: if: github.repository_owner == 'GoogleCloudPlatform' diff --git a/README.md b/README.md index 1c42aeb8..60a2ea4a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ For example, in Maven: com.google.cloud native-image-support - 0.7.0 + 0.8.0 ``` @@ -26,8 +26,7 @@ To compile with native image, ensure the client library version in your project | Native Image Support version | GraalVM Compiler Version | *`libraries-bom` version | `grpc-netty-shaded` version | |-------------------------|--------------------------|:-------------------------|-----------------------------| -| `0.5.0` - `0.7.0` | `>= 21.2.0` | `20.8.0` or later | `1.39.0` or later | -| `0.4.0` | `>= 21.0.0` | `11.0.0` or later | `1.32.1` or later | +| `0.8.0` | `>= 21.2.0` | `23.0.0` or later | `1.41.0` or later | Typically, you can just depend on the latest versions of the client libraries to get something working if you are not sure about what versions of (transitive) dependencies are being used by your project. diff --git a/native-image-samples/native-image-samples-client-library/bigquery-sample/pom.xml b/native-image-samples/native-image-samples-client-library/bigquery-sample/pom.xml index 03b44cf6..7cafa565 100644 --- a/native-image-samples/native-image-samples-client-library/bigquery-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/bigquery-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/bigtable-sample/pom.xml b/native-image-samples/native-image-samples-client-library/bigtable-sample/pom.xml index f344929e..1f187637 100644 --- a/native-image-samples/native-image-samples-client-library/bigtable-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/bigtable-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/cloud-functions-sample/pom.xml b/native-image-samples/native-image-samples-client-library/cloud-functions-sample/pom.xml index f26becc9..50081389 100644 --- a/native-image-samples/native-image-samples-client-library/cloud-functions-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/cloud-functions-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/cloud-sql-sample/pom.xml b/native-image-samples/native-image-samples-client-library/cloud-sql-sample/pom.xml index b6d85332..a04cf4dd 100644 --- a/native-image-samples/native-image-samples-client-library/cloud-sql-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/cloud-sql-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/datastore-sample/pom.xml b/native-image-samples/native-image-samples-client-library/datastore-sample/pom.xml index da694863..b4e26f33 100644 --- a/native-image-samples/native-image-samples-client-library/datastore-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/datastore-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/firestore-sample/pom.xml b/native-image-samples/native-image-samples-client-library/firestore-sample/pom.xml index b8533600..2c7a2fc5 100644 --- a/native-image-samples/native-image-samples-client-library/firestore-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/firestore-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/logging-sample/pom.xml b/native-image-samples/native-image-samples-client-library/logging-sample/pom.xml index c2493321..b785f132 100644 --- a/native-image-samples/native-image-samples-client-library/logging-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/logging-sample/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples-client-library - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/pom.xml b/native-image-samples/native-image-samples-client-library/pom.xml index 779ddadf..7ae25dfc 100644 --- a/native-image-samples/native-image-samples-client-library/pom.xml +++ b/native-image-samples/native-image-samples-client-library/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/pubsub-sample/pom.xml b/native-image-samples/native-image-samples-client-library/pubsub-sample/pom.xml index a173d6ae..da56e932 100644 --- a/native-image-samples/native-image-samples-client-library/pubsub-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/pubsub-sample/pom.xml @@ -6,7 +6,7 @@ com.google.cloud native-image-samples-client-library - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/secretmanager-sample/pom.xml b/native-image-samples/native-image-samples-client-library/secretmanager-sample/pom.xml index 1c600daa..56c32ade 100644 --- a/native-image-samples/native-image-samples-client-library/secretmanager-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/secretmanager-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/spanner-sample/pom.xml b/native-image-samples/native-image-samples-client-library/spanner-sample/pom.xml index 7ce960c8..999da399 100644 --- a/native-image-samples/native-image-samples-client-library/spanner-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/spanner-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/storage-sample/pom.xml b/native-image-samples/native-image-samples-client-library/storage-sample/pom.xml index 28839fa0..dd1ebb94 100644 --- a/native-image-samples/native-image-samples-client-library/storage-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/storage-sample/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples-client-library - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/tasks-sample/pom.xml b/native-image-samples/native-image-samples-client-library/tasks-sample/pom.xml index d6cff2b2..ed7a8143 100644 --- a/native-image-samples/native-image-samples-client-library/tasks-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/tasks-sample/pom.xml @@ -5,7 +5,7 @@ native-image-samples-client-library com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-client-library/trace-sample/pom.xml b/native-image-samples/native-image-samples-client-library/trace-sample/pom.xml index 150e8ae9..9ba4d332 100644 --- a/native-image-samples/native-image-samples-client-library/trace-sample/pom.xml +++ b/native-image-samples/native-image-samples-client-library/trace-sample/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples-client-library - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-quarkus/pom.xml b/native-image-samples/native-image-samples-quarkus/pom.xml index 185999ff..35d876ce 100644 --- a/native-image-samples/native-image-samples-quarkus/pom.xml +++ b/native-image-samples/native-image-samples-quarkus/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-quarkus/quarkus-integration-test/pom.xml b/native-image-samples/native-image-samples-quarkus/quarkus-integration-test/pom.xml index 4985d3aa..631ee821 100644 --- a/native-image-samples/native-image-samples-quarkus/quarkus-integration-test/pom.xml +++ b/native-image-samples/native-image-samples-quarkus/quarkus-integration-test/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples-quarkus - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/README.md b/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/README.md index 25de66a9..7041698d 100644 --- a/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/README.md +++ b/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/README.md @@ -49,7 +49,7 @@ You may use this method on any machine that supports Docker, but it will produce ### Running the executable on Linux -You can then execute your native executable with: `./target/quarkus-pubsub-sample-0.8.0-SNAPSHOT-runner` +You can then execute your native executable with: `./target/quarkus-pubsub-sample-0.9.0-SNAPSHOT-runner` Then visit http://localhost:8080/ to view the application. @@ -61,7 +61,7 @@ Then you will be able to run the executable in a Linux container. ``` $ export CREDS_PATH=/PATH/TO/CREDS/DIRECTORY/ $ export CREDS_FILE_NAME=credentials-file.json -$ docker run -it --rm -v $PWD/target/:/target/ -v $CREDS_PATH:/creds/ --env GOOGLE_APPLICATION_CREDENTIALS=/creds/$CREDS_FILE_NAME -p 8080:8080 ubuntu ./target/quarkus-pubsub-sample-0.8.0-SNAPSHOT-runner +$ docker run -it --rm -v $PWD/target/:/target/ -v $CREDS_PATH:/creds/ --env GOOGLE_APPLICATION_CREDENTIALS=/creds/$CREDS_FILE_NAME -p 8080:8080 ubuntu ./target/quarkus-pubsub-sample-0.9.0-SNAPSHOT-runner ``` If you want to learn more about building native executables, please consult https://quarkus.io/guides/building-native-image. \ No newline at end of file diff --git a/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/pom.xml b/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/pom.xml index d18576ce..38b95ff4 100644 --- a/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/pom.xml +++ b/native-image-samples/native-image-samples-quarkus/quarkus-pubsub-sample/pom.xml @@ -5,7 +5,7 @@ com.google.cloud native-image-samples-quarkus - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-spring/pom.xml b/native-image-samples/native-image-samples-spring/pom.xml index ccba3b06..ce839d49 100644 --- a/native-image-samples/native-image-samples-spring/pom.xml +++ b/native-image-samples/native-image-samples-spring/pom.xml @@ -6,7 +6,7 @@ native-image-samples com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/native-image-samples-spring/spring-cloud-gcp-trace-sample/pom.xml b/native-image-samples/native-image-samples-spring/spring-cloud-gcp-trace-sample/pom.xml index 2fc52d18..e3899433 100644 --- a/native-image-samples/native-image-samples-spring/spring-cloud-gcp-trace-sample/pom.xml +++ b/native-image-samples/native-image-samples-spring/spring-cloud-gcp-trace-sample/pom.xml @@ -6,7 +6,7 @@ com.google.cloud native-image-samples-spring - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-samples/pom.xml b/native-image-samples/pom.xml index 6fb67156..097a78f0 100644 --- a/native-image-samples/pom.xml +++ b/native-image-samples/pom.xml @@ -6,7 +6,7 @@ native-image-support-parent com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/native-image-support/pom.xml b/native-image-support/pom.xml index 6c654c44..0427e388 100644 --- a/native-image-support/pom.xml +++ b/native-image-support/pom.xml @@ -5,7 +5,7 @@ native-image-support-parent com.google.cloud - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT 4.0.0 diff --git a/pom.xml b/pom.xml index 9ff5f820..e9194359 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ com.google.cloud native-image-support-parent - 0.8.0-SNAPSHOT + 0.9.0-SNAPSHOT https://github.com/GoogleCloudPlatform/native-image-support-java