Browse Source

Merge branch 'release/S2'

master
董书康 1 year ago
parent
commit
389832a97d
7 changed files with 23 additions and 16 deletions
  1. +8
    -8
      .drone.yml
  2. +1
    -0
      README.md
  3. +1
    -1
      VERSION
  4. +3
    -3
      demo-athenaopt_backend/develop/conf/application.properties
  5. +8
    -2
      demo-athenaopt_backend/pom.xml
  6. +1
    -1
      version_control/APP_VERSION
  7. +1
    -1
      version_control/BUILD

+ 8
- 8
.drone.yml View File

@ -9,7 +9,7 @@ steps:
# 应用专案名称(需手动修改) # 应用专案名称(需手动修改)
backendName: demo-athenaopt_backend backendName: demo-athenaopt_backend
# 平台API版本号(需手动修改) # 平台API版本号(需手动修改)
apiVersion: 5.2.0.1005
apiVersion: 5.2.0.1029
commands: commands:
# 在开发根目录下执行 maven package 指令以构建运行包 # 在开发根目录下执行 maven package 指令以构建运行包
- mvn -f $backendName/pom.xml package -Dapi.version=$apiVersion -Dnexus.ip=https://repo.digiwincloud.com.cn/maven - mvn -f $backendName/pom.xml package -Dapi.version=$apiVersion -Dnexus.ip=https://repo.digiwincloud.com.cn/maven
@ -25,7 +25,7 @@ steps:
branch: branch:
# - develop # - develop
# - master # - master
- develop
- release/S2
event: event:
- push - push
### 应用版本控制:检查版本文件,若不存在则自动创建,并自动递增版本号 ### 应用版本控制:检查版本文件,若不存在则自动创建,并自动递增版本号
@ -38,14 +38,14 @@ steps:
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk add tree --no-cache - apk add tree --no-cache
- tree ./$backendName - tree ./$backendName
- make branch=develop vc
- make branch=release/S2 vc
# - make branch=master vc # - make branch=master vc
when: when:
status: [ success ] status: [ success ]
branch: branch:
# - develop # - develop
# - master # - master
- develop
- release/S2
event: event:
- push - push
### 打包镜像并推送到镜像仓库 ### 打包镜像并推送到镜像仓库
@ -76,27 +76,27 @@ steps:
branch: branch:
# - develop # - develop
# - master # - master
- develop
- release/S2
### 应用版本控制:提交版本文件的修改记录,并为代码分支创建版本号标签 ### 应用版本控制:提交版本文件的修改记录,并为代码分支创建版本号标签
- name: Upload Version - name: Upload Version
image: registry.digiwincloud.com.cn/base/base_vc image: registry.digiwincloud.com.cn/base/base_vc
commands: commands:
# - make branch=develop to_git # - make branch=develop to_git
# - make branch=master to_git # - make branch=master to_git
- make branch=develop to_git
- make branch=release/S2 to_git
when: when:
status: [ success ] status: [ success ]
branch: branch:
# - develop # - develop
# - master # - master
- develop
- release/S2
event: event:
- push - push
trigger: trigger:
branch: branch:
# - develop # - develop
# - master # - master
- develop
- release/S2
event: event:
- push - push
volumes: volumes:


+ 1
- 0
README.md View File

@ -1,2 +1,3 @@
# demo-athenaopt # demo-athenaopt
测试 release/S2 打包

+ 1
- 1
VERSION View File

@ -1 +1 @@
1.0.0
1.0.1

+ 3
- 3
demo-athenaopt_backend/develop/conf/application.properties View File

@ -44,13 +44,13 @@ dwdaoSelectVersionFieldEnabled=@dwdaoSelectVersionFieldEnabled@
#example - false:com.digiwin.app.dao.filter.DWSQLManagementFieldFilter, #example - false:com.digiwin.app.dao.filter.DWSQLManagementFieldFilter,
dwsqlFilterChianCustom=@dwsqlFilterChianCustom@ dwsqlFilterChianCustom=@dwsqlFilterChianCustom@
#management field enabled #management field enabled
mgmtFieldEnabled=false
mgmtFieldEnabled=true
#management field resolver class name #management field resolver class name
#dap default resolver = com.digiwin.app.dao.filter.DWProfileManagementFieldResolver #dap default resolver = com.digiwin.app.dao.filter.DWProfileManagementFieldResolver
mgmtFieldResolver=com.digiwin.app.dao.filter.DWProfileManagementFieldResolver mgmtFieldResolver=com.digiwin.app.dao.filter.DWProfileManagementFieldResolver
#management fields mappings #management fields mappings
#example - DATA_CREATED_BY:userId,DATA_MODIFY_BY:userId #example - DATA_CREATED_BY:userId,DATA_MODIFY_BY:userId
mgmtFieldInsertMappings=create_by:userId,create_date:$DATETIME
mgmtFieldInsertMappings=create_by:userId,modified_by:userId,create_date:$DATETIME
mgmtFieldUpdateMappings=modified_by:userId,modified_date:$DATETIME mgmtFieldUpdateMappings=modified_by:userId,modified_date:$DATETIME
mgmtFieldIgnoreCustomValue=false mgmtFieldIgnoreCustomValue=false
#Log file name id: Ex. Windows:_${env:COMPUTERNAME} Linux:_${env:HOSTNAME} #Log file name id: Ex. Windows:_${env:COMPUTERNAME} Linux:_${env:HOSTNAME}
@ -66,7 +66,7 @@ dwServiceChainReceivedPrinterType=@dwServiceChainReceivedPrinterType@
#DWJson enable empty string to null #DWJson enable empty string to null
dwJsonEmptyStrToNullEnabled=@dwJsonEmptyStrToNullEnabled@ dwJsonEmptyStrToNullEnabled=@dwJsonEmptyStrToNullEnabled@
#DWDao underscore-to-camel-case setting #DWDao underscore-to-camel-case setting
dwDaoUnderScoreToCamelCase=@dwDaoUnderScoreToCamelCase@
dwDaoUnderScoreToCamelCase=true
#DWMq #DWMq
dwMqEnabled=@dwMqEnabled@ dwMqEnabled=@dwMqEnabled@
dwMqProtocol=@dwMqProtocol@ dwMqProtocol=@dwMqProtocol@


+ 8
- 2
demo-athenaopt_backend/pom.xml View File

@ -32,7 +32,7 @@
<nexus.ip>https://repo.digiwincloud.com.cn/maven</nexus.ip> <nexus.ip>https://repo.digiwincloud.com.cn/maven</nexus.ip>
<revision>1.1.0.0</revision> <revision>1.1.0.0</revision>
<spring.version>5.0.5.RELEASE</spring.version> <spring.version>5.0.5.RELEASE</spring.version>
<api.version>5.2.0.1005</api.version>
<api.version>5.2.0.1029</api.version>
<dwgson.version>2.8.6</dwgson.version> <dwgson.version>2.8.6</dwgson.version>
<DWQueue.version>1.05</DWQueue.version> <DWQueue.version>1.05</DWQueue.version>
</properties> </properties>
@ -41,7 +41,7 @@
<dependency> <dependency>
<groupId>com.digiwin.athena</groupId> <groupId>com.digiwin.athena</groupId>
<artifactId>athena-opt-common</artifactId> <artifactId>athena-opt-common</artifactId>
<version>1.0.103-SNAPSHOT</version>
<version>1.0.105-SNAPSHOT</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>com.digiwin</groupId> <groupId>com.digiwin</groupId>
@ -56,6 +56,12 @@
<version>${api.version}</version> <version>${api.version}</version>
</dependency> </dependency>
<dependency>
<groupId>com.digiwin.lcdp</groupId>
<artifactId>lcdp-modeldriven</artifactId>
<version>1.0.0.3</version>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>


+ 1
- 1
version_control/APP_VERSION View File

@ -1 +1 @@
1.0.0
1.0.1

+ 1
- 1
version_control/BUILD View File

@ -1 +1 @@
1032
1002

Loading…
Cancel
Save