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 17, 2021
1 parent 573b925 commit d56f340
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 31 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ consistency between process cache and Redis.
> Kotlin DSL
``` kotlin
val governVersion = "0.9.16";
val governVersion = "0.9.17";
implementation("me.ahoo.govern:spring-cloud-starter-config:${governVersion}")
implementation("me.ahoo.govern:spring-cloud-starter-discovery:${governVersion}")
```
Expand All @@ -33,7 +33,7 @@ consistency between process cache and Redis.
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<properties>
<govern.version>0.9.16</govern.version>
<govern.version>0.9.17</govern.version>
</properties>

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

#### Option 2:Run On Docker

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

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

#### Option 3:Run On Kubernetes
Expand All @@ -127,7 +127,7 @@ spec:
value: standalone
- name: GOVERN_REDIS_URI
value: redis://redis-uri:6379
image: ahoowang/govern-service:0.9.16
image: ahoowang/govern-service:0.9.17
name: govern-service
resources:
limits:
Expand Down
24 changes: 12 additions & 12 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
> Kotlin DSL
``` kotlin
val governVersion = "0.9.16";
val governVersion = "0.9.17";
implementation("me.ahoo.govern:spring-cloud-starter-config:${governVersion}")
implementation("me.ahoo.govern:spring-cloud-starter-discovery:${governVersion}")
```
Expand All @@ -28,7 +28,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<properties>
<govern.version>0.9.16</govern.version>
<govern.version>0.9.17</govern.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -72,21 +72,21 @@ logging:
#### 方式一:下载可执行文件
> 下载 [rest-api-server](https://github.com/Ahoo-Wang/govern-service/releases/download/0.9.16/rest-api-0.9.16.tar)
> 下载 [rest-api-server](https://github.com/Ahoo-Wang/govern-service/releases/download/0.9.17/rest-api-0.9.17.tar)
> 解压 *rest-api-0.9.16.tar*
> 解压 *rest-api-0.9.17.tar*
```shell
cd rest-api-0.9.16
# 工作目录: rest-api-0.9.16
cd rest-api-0.9.17
# 工作目录: rest-api-0.9.17
bin/rest-api --server.port=8080 --govern.redis.uri=redis://localhost:6379
```

#### 方式二:在 Docker 中运行

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

#### 方式三:在 Kubernetes 中运行
Expand All @@ -112,7 +112,7 @@ spec:
value: standalone
- name: GOVERN_REDIS_URI
value: redis://redis-uri:6379
image: ahoowang/govern-service:0.9.16
image: ahoowang/govern-service:0.9.17
name: govern-service
resources:
limits:
Expand All @@ -133,11 +133,11 @@ spec:
---
> MacBook Pro (M1)
>
> 请使用 *ahoowang/govern-service:0.9.16-armv7*
> 请使用 *ahoowang/govern-service:0.9.17-armv7*
```shell
docker pull ahoowang/govern-service:0.9.16-armv7
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.16-armv7
docker pull ahoowang/govern-service:0.9.17-armv7
docker run --name govern-service -d -p 8080:8080 --link redis -e GOVERN_REDIS_URI=redis://redis:6379 ahoowang/govern-service:0.9.17-armv7
```

---
Expand Down
2 changes: 1 addition & 1 deletion k8s/deployment/govern-servce-rest-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
value: standalone
- name: GOVERN_REDIS_URI
value: redis://redis-uri:6379
image: ahoowang/govern-service:0.9.16
image: ahoowang/govern-service:0.9.17
name: govern-service
resources:
limits:
Expand Down
6 changes: 3 additions & 3 deletions k8s/docker/rest-api-local/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.16 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/govern-service:0.9.16-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg GOVERN_VERSION=0.9.16 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/govern-service:0.9.16 .
# docker buildx build --push --platform linux/arm/v7 --build-arg GOVERN_VERSION=0.9.17 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/govern-service:0.9.17-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg GOVERN_VERSION=0.9.17 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/govern-service:0.9.17 .

ARG JDK_VERSION=jdk11u-centos-nightly
ARG GOVERN_VERSION=0.9.16
ARG GOVERN_VERSION=0.9.17
ARG GOVERN_SERVICE_HOME=/govern-service
FROM adoptopenjdk/openjdk11:${JDK_VERSION} AS base

Expand Down
6 changes: 3 additions & 3 deletions k8s/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.16 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/govern-service:0.9.16-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg GOVERN_VERSION=0.9.16 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/govern-service:0.9.16 .
# docker buildx build --push --platform linux/arm/v7 --build-arg GOVERN_VERSION=0.9.17 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/govern-service:0.9.17-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg GOVERN_VERSION=0.9.17 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/govern-service:0.9.17 .

ARG JDK_VERSION=jdk11u-centos-nightly
ARG GOVERN_VERSION=0.9.16
ARG GOVERN_VERSION=0.9.17
ARG GOVERN_SERVICE_HOME=/govern-service
FROM adoptopenjdk/openjdk11:${JDK_VERSION} AS base

Expand Down

0 comments on commit d56f340

Please sign in to comment.