From 75c95befdea4be9f88af0e10fa35642dc266ce28 Mon Sep 17 00:00:00 2001 From: Ahoo Wang Date: Thu, 22 Jul 2021 00:50:49 +0800 Subject: [PATCH] update version --- README.md | 22 +++++++++++----------- README.zh-CN.md | 22 +++++++++++----------- gradle.properties | 2 +- k8s/deployment/cosky-mirror.yml | 2 +- k8s/deployment/cosky-rest-api.yml | 2 +- k8s/docker/cosky-mirror/Dockerfile | 6 +++--- k8s/docker/rest-api-local/Dockerfile | 6 +++--- k8s/docker/rest-api/Dockerfile | 6 +++--- 8 files changed, 34 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index f7cfcb82..30f0646d 100644 --- a/README.md +++ b/README.md @@ -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") @@ -50,7 +50,7 @@ between process cache and Redis. 4.0.0 demo - 1.2.7 + 1.2.8 @@ -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 @@ -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 @@ -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 ``` ``` @@ -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 ``` ``` diff --git a/README.zh-CN.md b/README.zh-CN.md index 55cfa29b..b145b134 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -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") @@ -49,7 +49,7 @@ 4.0.0 demo - 1.2.7 + 1.2.8 @@ -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 中运行 @@ -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 @@ -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 ``` ``` @@ -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 ``` ``` diff --git a/gradle.properties b/gradle.properties index 52f4b812..cb9e3f4f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/k8s/deployment/cosky-mirror.yml b/k8s/deployment/cosky-mirror.yml index f673e1cf..b8d5c820 100644 --- a/k8s/deployment/cosky-mirror.yml +++ b/k8s/deployment/cosky-mirror.yml @@ -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: diff --git a/k8s/deployment/cosky-rest-api.yml b/k8s/deployment/cosky-rest-api.yml index edd211fb..1fa4c6d2 100644 --- a/k8s/deployment/cosky-rest-api.yml +++ b/k8s/deployment/cosky-rest-api.yml @@ -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 diff --git a/k8s/docker/cosky-mirror/Dockerfile b/k8s/docker/cosky-mirror/Dockerfile index 6ddd9bc6..0d021b7c 100644 --- a/k8s/docker/cosky-mirror/Dockerfile +++ b/k8s/docker/cosky-mirror/Dockerfile @@ -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 diff --git a/k8s/docker/rest-api-local/Dockerfile b/k8s/docker/rest-api-local/Dockerfile index 84e2e5ad..713a9a70 100644 --- a/k8s/docker/rest-api-local/Dockerfile +++ b/k8s/docker/rest-api-local/Dockerfile @@ -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 diff --git a/k8s/docker/rest-api/Dockerfile b/k8s/docker/rest-api/Dockerfile index 53a0d69b..17d9fd71 100644 --- a/k8s/docker/rest-api/Dockerfile +++ b/k8s/docker/rest-api/Dockerfile @@ -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