Skip to content

Commit

Permalink
merge v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cgw committed Aug 12, 2023
2 parents 2d120ca + f9a73cc commit 9e1c0c8
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ DHorse是一个简单易用、以应用为中心的云原生DevOps系统,具

2.下载安装文件

[最新稳定版](https://gitee.com/i512team/dhorse/releases/download/v1.3.0/dhorse-v1.3.0-bin.tar.gz)
[最新稳定版](https://gitee.com/i512team/dhorse/releases/download/v1.3.1/dhorse-v1.3.1-bin.tar.gz)

3.解压

Expand Down
2 changes: 1 addition & 1 deletion dhorse-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.dhorse</groupId>
<artifactId>dhorse-parent</artifactId>
<version>1.4.0</version>
<version>1.3.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>dhorse-agent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dhorse-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.dhorse</groupId>
<artifactId>dhorse-parent</artifactId>
<version>1.4.0</version>
<version>1.3.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>dhorse-api</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dhorse-application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.dhorse</groupId>
<artifactId>dhorse-parent</artifactId>
<version>1.4.0</version>
<version>1.3.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>dhorse-application</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dhorse-infrastructure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.dhorse</groupId>
<artifactId>dhorse-parent</artifactId>
<version>1.4.0</version>
<version>1.3.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>dhorse-infrastructure</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public boolean createDeployment(DeploymentContext context) {
if (CollectionUtils.isEmpty(oldDeployment.getItems())) {
api.createNamespacedDeployment(namespace, deployment, null, null, null, null);
} else {
//配合升级,v1.4.0以后版本应该只使用replaceNamespacedDeployment
//配合升级,v1.3.1以后版本应该只使用replaceNamespacedDeployment
if(oldDeployment.getItems().get(0).getMetadata().getLabels().get(K8sUtils.APP_KEY) == null) {
api.replaceNamespacedDeployment(context.getDeploymentName(), namespace, deployment, null, null,
null, null);
Expand Down Expand Up @@ -315,7 +315,7 @@ private boolean createService(DeploymentContext context) throws ApiException {
logger.info("Start to update service");
}

//配合升级,v1.4.0以后版本应当删除
//配合升级,v1.3.1以后版本应当删除
V1Service service = serviceList.getItems().get(0);
if(service.getMetadata().getLabels().get(K8sUtils.APP_KEY) != null) {
//先删除,再创建
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.dhorse</groupId>
<artifactId>app-node</artifactId>
<packaging>pom</packaging>
<version>1.4.0</version>
<version>1.3.1</version>

<!-- 该文件的代码行数是固定的,在解析时会用到行号,文件内容谨慎改动 -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.dhorse</groupId>
<artifactId>app-tmp</artifactId>
<version>1.4.0</version>
<version>1.3.1</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion dhorse-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.dhorse</groupId>
<artifactId>dhorse-parent</artifactId>
<version>1.4.0</version>
<version>1.3.1</version>
<relativePath>..</relativePath>
</parent>
<artifactId>dhorse-rest</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion dhorse-rest/src/main/resources/application-private.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.4.0
version: 1.3.1
spring.jackson.default-property-inclusion: non_null
spring.jackson.date-format: yyyy-MM-dd HH:mm:ss
spring.jackson.time-zone: GMT+8
Expand Down
2 changes: 1 addition & 1 deletion dhorse-rest/src/main/resources/banner.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
/ _` | '_ \ / _ \| '__/ __|/ _ \
| (_| | | | | (_) | | \__ \ __/
\__,_|_| |_|\___/|_| |___/\___|
:: DHorse :: (v1.4.0)
:: DHorse :: (v1.3.1)

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>org.dhorse</groupId>
<artifactId>dhorse-parent</artifactId>
<packaging>pom</packaging>
<version>1.4.0</version>
<version>1.3.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -16,7 +16,7 @@
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.version>1.4.0</project.version>
<project.version>1.3.1</project.version>
<spring.version>5.3.24</spring.version>
<springboot.version>2.7.6</springboot.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

<div class="layui-body">
<div class="layuimini-content-page"></div>
<div style="text-align: center; height:60px; line-height:60px; color: #9c9da0">v1.4.0</div>
<div style="text-align: center; height:60px; line-height:60px; color: #9c9da0">v1.3.1</div>
</div>

</div>
Expand Down
1 change: 1 addition & 0 deletions static/page/tag/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
contentType: 'application/json;charset=UTF-8',
data: JSON.stringify({'appId': appId}),
success: function(res){
var techType = res.data.techType;
//SpringBoot、Nodejs、Html
if(techType == 1 || techType == 4 || techType == 5){
doBuild($, appId, '0', branchName);
Expand Down

0 comments on commit 9e1c0c8

Please sign in to comment.