Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed Jul 21, 2021
1 parent 852dca9 commit 75c95be
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 34 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ between process cache and Redis.
> Kotlin DSL
``` kotlin
val coskyVersion = "1.2.7";
val coskyVersion = "1.2.8";
implementation("me.ahoo.cosky:spring-cloud-starter-cosky-config:${coskyVersion}")
implementation("me.ahoo.cosky:spring-cloud-starter-cosky-discovery:${coskyVersion}")
implementation("org.springframework.cloud:spring-cloud-starter-loadbalancer:3.0.3")
Expand All @@ -50,7 +50,7 @@ between process cache and Redis.
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<properties>
<cosky.version>1.2.7</cosky.version>
<cosky.version>1.2.8</cosky.version>
</properties>

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

#### Option 2:Run On Docker

```shell
docker pull ahoowang/cosky-rest-api:1.2.7
docker run --name cosky-rest-api -d -p 8080:8080 --link redis -e COSKY_REDIS_URI=redis://redis:6379 ahoowang/cosky-rest-api:1.2.7
docker pull ahoowang/cosky-rest-api:1.2.8
docker run --name cosky-rest-api -d -p 8080:8080 --link redis -e COSKY_REDIS_URI=redis://redis:6379 ahoowang/cosky-rest-api:1.2.8
```

#### Option 3:Run On Kubernetes
Expand Down Expand Up @@ -141,7 +141,7 @@ spec:
value: standalone
- name: COSKY_REDIS_URI
value: redis://redis-uri:6379
image: ahoowang/cosky-rest-api:1.2.7
image: ahoowang/cosky-rest-api:1.2.8
name: cosky-rest-api
ports:
- containerPort: 8080
Expand Down Expand Up @@ -306,7 +306,7 @@ spec:
``` shell
gradle cosky-config:jmh
# or
java -jar cosky-config/build/libs/cosky-config-1.2.7-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
java -jar cosky-config/build/libs/cosky-config-1.2.8-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
```

```
Expand All @@ -321,7 +321,7 @@ RedisConfigServiceBenchmark.setConfig thrpt 140461.112
``` shell
gradle cosky-discovery:jmh
# or
java -jar cosky-discovery/build/libs/cosky-discovery-1.2.7-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
java -jar cosky-discovery/build/libs/cosky-discovery-1.2.8-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
```

```
Expand Down
22 changes: 11 additions & 11 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
> Kotlin DSL
``` kotlin
val coskyVersion = "1.2.7";
val coskyVersion = "1.2.8";
implementation("me.ahoo.cosky:spring-cloud-starter-cosky-config:${coskyVersion}")
implementation("me.ahoo.cosky:spring-cloud-starter-cosky-discovery:${coskyVersion}")
implementation("org.springframework.cloud:spring-cloud-starter-loadbalancer:3.0.3")
Expand All @@ -49,7 +49,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>demo</artifactId>
<properties>
<cosky.version>1.2.7</cosky.version>
<cosky.version>1.2.8</cosky.version>
</properties>

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

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

```shell
docker pull ahoowang/cosky-rest-api:1.2.7
docker run --name cosky-rest-api -d -p 8080:8080 --link redis -e COSKY_REDIS_URI=redis://redis:6379 ahoowang/cosky-rest-api:1.2.7
docker pull ahoowang/cosky-rest-api:1.2.8
docker run --name cosky-rest-api -d -p 8080:8080 --link redis -e COSKY_REDIS_URI=redis://redis:6379 ahoowang/cosky-rest-api:1.2.8
```

#### 方式三:在 Kubernetes 中运行
Expand Down Expand Up @@ -140,7 +140,7 @@ spec:
value: standalone
- name: COSKY_REDIS_URI
value: redis://redis-uri:6379
image: ahoowang/cosky-rest-api:1.2.7
image: ahoowang/cosky-rest-api:1.2.8
name: cosky-rest-api
ports:
- containerPort: 8080
Expand Down Expand Up @@ -306,7 +306,7 @@ spec:
``` shell
gradle cosky-config:jmh
# or
java -jar cosky-config/build/libs/cosky-config-1.2.7-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
java -jar cosky-config/build/libs/cosky-config-1.2.8-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
```

```
Expand All @@ -321,7 +321,7 @@ RedisConfigServiceBenchmark.setConfig thrpt 140461.112
``` shell
gradle cosky-discovery:jmh
# or
java -jar cosky-discovery/build/libs/cosky-discovery-1.2.7-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
java -jar cosky-discovery/build/libs/cosky-discovery-1.2.8-jmh.jar -bm thrpt -t 25 -wi 1 -rf json -f 1
```

```
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#

group=me.ahoo.cosky
version=1.2.7
version=1.2.8

description=High-performance, low-cost microservice governance platform. Service Discovery and Configuration Service.
website=https://github.com/Ahoo-Wang/cosky
Expand Down
2 changes: 1 addition & 1 deletion k8s/deployment/cosky-mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
value: nacos
- name: SPRING_CLOUD_NACOS_PASSWORD
value: nacos-pwd
image: ahoowang/cosky-mirror:1.2.7
image: ahoowang/cosky-mirror:1.2.8
name: cosky-mirror
resources:
limits:
Expand Down
2 changes: 1 addition & 1 deletion k8s/deployment/cosky-rest-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
value: standalone
- name: COSKY_REDIS_URI
value: redis://redis-uri:6379
image: ahoowang/cosky-rest-api:1.2.7
image: ahoowang/cosky-rest-api:1.2.8
name: cosky-rest-api
ports:
- containerPort: 8080
Expand Down
6 changes: 3 additions & 3 deletions k8s/docker/cosky-mirror/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 COSKY_VERSION=1.2.7 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/cosky-mirror:1.2.7-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg COSKY_VERSION=1.2.7 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/cosky-mirror:1.2.7 .
# docker buildx build --push --platform linux/arm/v7 --build-arg COSKY_VERSION=1.2.8 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/cosky-mirror:1.2.8-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg COSKY_VERSION=1.2.8 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/cosky-mirror:1.2.8 .

ARG JDK_VERSION=jdk11u-centos-nightly-slim
ARG COSKY_VERSION=1.2.7
ARG COSKY_VERSION=1.2.8
ARG COSKY_HOME=/cosky
FROM adoptopenjdk/openjdk11:${JDK_VERSION} AS base

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 COSKY_VERSION=1.2.7 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/cosky-rest-api:1.2.7-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg COSKY_VERSION=1.2.7 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/cosky-rest-api:1.2.7 .
# docker buildx build --push --platform linux/arm/v7 --build-arg COSKY_VERSION=1.2.8 --build-arg JDK_VERSION=armv7l-centos-jdk-11.0.11_9-slim -t ahoowang/cosky-rest-api:1.2.8-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg COSKY_VERSION=1.2.8 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/cosky-rest-api:1.2.8 .

ARG JDK_VERSION=jdk11u-centos-nightly-slim
ARG COSKY_VERSION=1.2.7
ARG COSKY_VERSION=1.2.8
ARG COSKY_HOME=/cosky
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 COSKY_VERSION=1.2.7 --build-arg JDK_VERSION=armv7l-centos-jdk-11.2.71_9-slim -t ahoowang/cosky-rest-api:1.2.7-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg COSKY_VERSION=1.2.7 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/cosky-rest-api:1.2.7 .
# docker buildx build --push --platform linux/arm/v7 --build-arg COSKY_VERSION=1.2.8 --build-arg JDK_VERSION=armv7l-centos-jdk-11.2.81_9-slim -t ahoowang/cosky-rest-api:1.2.8-armv7 .
# docker buildx build --push --platform linux/amd64,linux/arm64 --build-arg COSKY_VERSION=1.2.8 --build-arg JDK_VERSION=jdk11u-centos-nightly-slim -t ahoowang/cosky-rest-api:1.2.8 .

ARG JDK_VERSION=jdk11u-centos-nightly-slim
ARG COSKY_VERSION=1.2.7
ARG COSKY_VERSION=1.2.8
ARG COSKY_HOME=/cosky
FROM adoptopenjdk/openjdk11:${JDK_VERSION} AS base

Expand Down

0 comments on commit 75c95be

Please sign in to comment.