Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Bump version numbers (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzou authored Sep 28, 2021
1 parent a7eb979 commit 4b0ac74
Show file tree
Hide file tree
Showing 26 changed files with 40 additions and 41 deletions.
24 changes: 12 additions & 12 deletions .cloudbuild/std-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,62 +50,62 @@ 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
args: [
'-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'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ For example, in Maven:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-support</artifactId>
<version>0.7.0</version>
<version>0.8.0</version>
</dependency>
```

Expand All @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-client-library</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-client-library</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-client-library</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-samples-client-library</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-client-library</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion native-image-samples/native-image-samples-quarkus/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-quarkus</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-quarkus</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion native-image-samples/native-image-samples-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>native-image-samples</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>native-image-samples-spring</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion native-image-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>native-image-support-parent</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion native-image-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>native-image-support-parent</artifactId>
<groupId>com.google.cloud</groupId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<groupId>com.google.cloud</groupId>
<artifactId>native-image-support-parent</artifactId>
<version>0.8.0-SNAPSHOT</version>
<version>0.9.0-SNAPSHOT</version>

<scm>
<url>https://github.com/GoogleCloudPlatform/native-image-support-java</url>
Expand Down

0 comments on commit 4b0ac74

Please sign in to comment.