Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed May 15, 2021
1 parent 04793cc commit 9339e76
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ process cache refresh, with unparalleled QPS performance and real-time consisten
> Kotlin DSL
``` kotlin
val governVersion = "0.9.5";
val governVersion = "0.9.6";
implementation("me.ahoo.govern:spring-cloud-starter-config:${governVersion}")
implementation("me.ahoo.govern:spring-cloud-starter-discovery:${governVersion}")
```
Expand All @@ -32,7 +32,7 @@ process cache refresh, with unparalleled QPS performance and real-time consisten
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<properties>
<govern.version>0.9.5</govern.version>
<govern.version>0.9.6</govern.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -73,31 +73,31 @@ spring:
#### Option 1:Download the executable file
> Download [rest-api-server](https://github.com/Ahoo-Wang/govern-service/releases/download/0.9.5/rest-api-0.9.5.tar)
> Download [rest-api-server](https://github.com/Ahoo-Wang/govern-service/releases/download/0.9.6/rest-api-0.9.6.tar)
> tar *rest-api-0.9.5.tar*
> tar *rest-api-0.9.6.tar*
```shell
cd rest-api-0.9.5
# Working directory: rest-api-0.9.5
cd rest-api-0.9.6
# Working directory: rest-api-0.9.6
bin/rest-api --server.port=8080 --govern.redis.uri=redis://localhost:6379
```

#### Option 2:Docker run

```shell
docker pull ahoowang/govern-service:0.9.5
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.5
docker pull ahoowang/govern-service:0.9.6
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.6
```

---
> MacBook Pro (M1)
>
> Please use *ahoowang/govern-service:0.9.5-armv7*
> Please use *ahoowang/govern-service:0.9.6-armv7*
```shell
docker pull ahoowang/govern-service:0.9.5-armv7
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.5-armv7
docker pull ahoowang/govern-service:0.9.6-armv7
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.6-armv7
```

---
Expand Down
22 changes: 11 additions & 11 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Govern Service* 提供了超高TPS&QPS。*Govern Service* 结合本地进程缓
> Kotlin DSL
``` kotlin
val governVersion = "0.9.5";
val governVersion = "0.9.6";
implementation("me.ahoo.govern:spring-cloud-starter-config:${governVersion}")
implementation("me.ahoo.govern:spring-cloud-starter-discovery:${governVersion}")
```
Expand All @@ -27,7 +27,7 @@ Govern Service* 提供了超高TPS&QPS。*Govern Service* 结合本地进程缓
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<properties>
<govern.version>0.9.5</govern.version>
<govern.version>0.9.6</govern.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -72,31 +72,31 @@ logging:

#### 方式一:下载可执行文件

> 下载 [rest-api-server](https://github.com/Ahoo-Wang/govern-service/releases/download/0.9.5/rest-api-0.9.5.tar)
> 下载 [rest-api-server](https://github.com/Ahoo-Wang/govern-service/releases/download/0.9.6/rest-api-0.9.6.tar)
> 解压 *rest-api-0.9.5.tar*
> 解压 *rest-api-0.9.6.tar*
```shell
cd rest-api-0.9.5
# 工作目录: rest-api-0.9.5
cd rest-api-0.9.6
# 工作目录: rest-api-0.9.6
bin/rest-api --server.port=8080 --govern.redis.uri=redis://localhost:6379
```

#### 方式二:Docker run

```shell
docker pull ahoowang/govern-service:0.9.5
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.5
docker pull ahoowang/govern-service:0.9.6
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.6
```

---
> MacBook Pro (M1)
>
> 请使用 *ahoowang/govern-service:0.9.5-armv7*
> 请使用 *ahoowang/govern-service:0.9.6-armv7*
```shell
docker pull ahoowang/govern-service:0.9.5-armv7
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.5-armv7
docker pull ahoowang/govern-service:0.9.6-armv7
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.6-armv7
```

---
Expand Down
6 changes: 3 additions & 3 deletions docker/rest-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# docker buildx build --push --platform linux/arm/v7 --build-arg GOVERN_VERSION=0.9.5 --build-arg JDK_VERSION=armv7l-centos-jre-11.0.11_9 -t ahoowang/govern-service:0.9.5-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg GOVERN_VERSION=0.9.5 --build-arg JDK_VERSION=jre11u-centos-nightly -t ahoowang/govern-service:0.9.5 .
# docker buildx build --push --platform linux/arm/v7 --build-arg GOVERN_VERSION=0.9.6 --build-arg JDK_VERSION=armv7l-centos-jre-11.0.11_9 -t ahoowang/govern-service:0.9.6-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg GOVERN_VERSION=0.9.6 --build-arg JDK_VERSION=jre11u-centos-nightly -t ahoowang/govern-service:0.9.6 .

ARG JDK_VERSION=jre11u-centos-nightly
ARG GOVERN_VERSION=0.9.5
ARG GOVERN_VERSION=0.9.6
ARG GOVERN_SERVICE_HOME=/govern-service
FROM adoptopenjdk/openjdk11:${JDK_VERSION} AS base

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=me.ahoo.govern
version=0.9.5
version=0.9.6

description=Govern Service On Redis
website=https://github.com/Ahoo-Wang/govern-service
Expand Down

0 comments on commit 9339e76

Please sign in to comment.