Skip to content

Commit

Permalink
[monitor]release hertzbeat version v1.1.1 (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 committed Jul 10, 2022
1 parent 269ccbf commit 4b1cf01
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class CommonUtilTest {
void testParseDoubleStr() {
assertEquals("9.3454",CommonUtil.parseDoubleStr("9.345435345", null));
assertEquals("9.3454",CommonUtil.parseDoubleStr("9.345435345%", "%"));
assertEquals("10.0",CommonUtil.parseDoubleStr("10%", "%"));
assertEquals("588.0",CommonUtil.parseDoubleStr("588Mb", "Mb"));
assertEquals("10",CommonUtil.parseDoubleStr("10%", "%"));
assertEquals("588",CommonUtil.parseDoubleStr("588Mb", "Mb"));
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion script/assembly/server/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
http://maven.apache.org/ASSEMBLY/2.0.0 ">
<!--必填,会追加到打包文件名称的末尾-->
<id>1.1</id>
<id>1.1.1</id>
<!--打包类型,可以设置多种类型,打包的时候不同的类型都会打包打出来-->
<formats>
<format>tar</format>
Expand Down
1 change: 1 addition & 0 deletions script/docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ services:
restart: always
environment:
TZ: Asia/Shanghai
LANG: zh_CN.UTF-8
volumes:
- ./conf/application.yml:/opt/hertzbeat/config/application.yml
- ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml
Expand Down
2 changes: 1 addition & 1 deletion script/docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM openjdk:11.0.15-jre-slim-buster

MAINTAINER tomsun28 "[email protected]"

ADD hertzbeat-1.1.tar /opt/
ADD hertzbeat-1.1.1.tar /opt/

ENV TZ=Asia/Shanghai

Expand Down
2 changes: 1 addition & 1 deletion web-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hertzbeat-web-app",
"version": "0.0.0",
"version": "1.0",
"scripts": {
"ng": "ng",
"start": "ng s -o",
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/app/shared/consts.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const CONSTS = {
VERSION: 'v1.0'
VERSION: 'v1.1.1'
};

0 comments on commit 4b1cf01

Please sign in to comment.