|
@ -25,7 +25,7 @@ steps: |
|
|
branch: |
|
|
branch: |
|
|
# - develop |
|
|
# - develop |
|
|
# - master |
|
|
# - master |
|
|
- release/S3 |
|
|
|
|
|
|
|
|
- release/s4 |
|
|
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=release/S3 vc |
|
|
|
|
|
|
|
|
- make branch=release/s4 vc |
|
|
# - make branch=master vc |
|
|
# - make branch=master vc |
|
|
when: |
|
|
when: |
|
|
status: [ success ] |
|
|
status: [ success ] |
|
|
branch: |
|
|
branch: |
|
|
# - develop |
|
|
# - develop |
|
|
# - master |
|
|
# - master |
|
|
- release/S3 |
|
|
|
|
|
|
|
|
- release/s4 |
|
|
event: |
|
|
event: |
|
|
- push |
|
|
- push |
|
|
### 打包镜像并推送到镜像仓库 |
|
|
### 打包镜像并推送到镜像仓库 |
|
@ -76,27 +76,27 @@ steps: |
|
|
branch: |
|
|
branch: |
|
|
# - develop |
|
|
# - develop |
|
|
# - master |
|
|
# - master |
|
|
- release/S3 |
|
|
|
|
|
|
|
|
- release/s4 |
|
|
### 应用版本控制:提交版本文件的修改记录,并为代码分支创建版本号标签 |
|
|
### 应用版本控制:提交版本文件的修改记录,并为代码分支创建版本号标签 |
|
|
- 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=release/S3 to_git |
|
|
|
|
|
|
|
|
- make branch=release/s4 to_git |
|
|
when: |
|
|
when: |
|
|
status: [ success ] |
|
|
status: [ success ] |
|
|
branch: |
|
|
branch: |
|
|
# - develop |
|
|
# - develop |
|
|
# - master |
|
|
# - master |
|
|
- release/S3 |
|
|
|
|
|
|
|
|
- release/s4 |
|
|
event: |
|
|
event: |
|
|
- push |
|
|
- push |
|
|
trigger: |
|
|
trigger: |
|
|
branch: |
|
|
branch: |
|
|
# - develop |
|
|
# - develop |
|
|
# - master |
|
|
# - master |
|
|
- release/S3 |
|
|
|
|
|
|
|
|
- release/s4 |
|
|
event: |
|
|
event: |
|
|
- push |
|
|
- push |
|
|
volumes: |
|
|
volumes: |
|
|