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


+ 1
- 0
README.md View File

@ -1,2 +1,3 @@
# 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,
dwsqlFilterChianCustom=@dwsqlFilterChianCustom@
#management field enabled
mgmtFieldEnabled=false
mgmtFieldEnabled=true
#management field resolver class name
#dap default resolver = com.digiwin.app.dao.filter.DWProfileManagementFieldResolver
mgmtFieldResolver=com.digiwin.app.dao.filter.DWProfileManagementFieldResolver
#management fields mappings
#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
mgmtFieldIgnoreCustomValue=false
#Log file name id: Ex. Windows:_${env:COMPUTERNAME} Linux:_${env:HOSTNAME}
@ -66,7 +66,7 @@ dwServiceChainReceivedPrinterType=@dwServiceChainReceivedPrinterType@
#DWJson enable empty string to null
dwJsonEmptyStrToNullEnabled=@dwJsonEmptyStrToNullEnabled@
#DWDao underscore-to-camel-case setting
dwDaoUnderScoreToCamelCase=@dwDaoUnderScoreToCamelCase@
dwDaoUnderScoreToCamelCase=true
#DWMq
dwMqEnabled=@dwMqEnabled@
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>
<revision>1.1.0.0</revision>
<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>
<DWQueue.version>1.05</DWQueue.version>
</properties>
@ -41,7 +41,7 @@
<dependency>
<groupId>com.digiwin.athena</groupId>
<artifactId>athena-opt-common</artifactId>
<version>1.0.103-SNAPSHOT</version>
<version>1.0.105-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>com.digiwin</groupId>
@ -56,6 +56,12 @@
<version>${api.version}</version>
</dependency>
<dependency>
<groupId>com.digiwin.lcdp</groupId>
<artifactId>lcdp-modeldriven</artifactId>
<version>1.0.0.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<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