Browse Source

ci: 更新drone.yml

develop^2
wally 4 years ago
parent
commit
a57d598b57
  1. 45
      .drone.yml
  2. 3
      CHANGELOG.md
  3. 8
      manifest.json

45
.drone.yml

@ -19,13 +19,11 @@ volumes:
steps: steps:
- name: restore-cache - name: restore-cache
image: drillster/drone-volume-cache image: drillster/drone-volume-cache
restore: true
mount:
- ./node_modules
volumes: volumes:
- name: cache - /var/local/drone-cache:/cache
path: /cache
settings:
restore: true
mount:
- ./node_modules
- name: build - name: build
image: node:latest image: node:latest
@ -34,18 +32,17 @@ steps:
- name: cache - name: cache
path: /root/.m2 path: /root/.m2
commands: commands:
- npm config set registry http://registry.npm.taobao.org
- npm i - npm i
- npm run build:dev - npm run build:dev
- name: rebuild-cache - name: rebuild-cache
image: drillster/drone-volume-cache image: drillster/drone-volume-cache
rebuild: true
mount:
- ./node_modules
volumes: volumes:
- name: cache - /var/local/drone-cache:/cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
- name: deploy-scp - name: deploy-scp
image: appleboy/drone-scp image: appleboy/drone-scp
@ -91,7 +88,7 @@ steps:
password: #邮箱密码 password: #邮箱密码
from_secret: orgsecret_password_mail_devops from_secret: orgsecret_password_mail_devops
from: devops@ccsens.com from: devops@ccsens.com
recipients: weizezhao@ccsens.com #收件人,多个用,隔开 recipients: fengjun@ccsens.com #收件人,多个用,隔开
when: #执行条件 when: #执行条件
status: status:
- success - success
@ -124,25 +121,3 @@ steps:
trigger: trigger:
branch: develop branch: develop
# - name: notify-dingtalk
# image: lddsb/drone-dingtalk-message
# environment:
# PASSWORD:
# from_secret: password_mail_devops
# settings:
# token: your-dingtalk-robot-access-token
# type: markdown
# message_color: true
# message_pic: true
# sha_link: true
# -name: notify-slack
# image: plugins/slack
# webhook: https://hooks.slack.com/ www.dijiuyy.com services/xxx/xxx/xxx
# channel: dev
# template: >
# {{#success build.status}}
# build {{build.number}} succeeded. Good job.
# {{else}}
# build {{build.number}} failed. Fix me please.
# {{/success}}

3
CHANGELOG.md

@ -1,4 +1,4 @@
# 1.0.0 (2022-01-11) # 1.0.0 (2022-01-12)
### 🌟 新功能 ### 🌟 新功能
范围|描述|commitId 范围|描述|commitId
@ -40,6 +40,7 @@
### 📦 持续集成 ### 📦 持续集成
范围|描述|commitId 范围|描述|commitId
--|--|-- --|--|--
- | 修改.drone.yml | [f5b52e3](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/f5b52e3)
- | 添加drone.yml | [9fbae89](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/9fbae89) - | 添加drone.yml | [9fbae89](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/9fbae89)

8
manifest.json

@ -1,6 +1,6 @@
{ {
"name" : "tall-4-project", "name" : "时物链条",
"appid" : "__UNI__1EC8558", "appid" : "__UNI__3CBCFFF",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",
@ -43,7 +43,9 @@
/* ios */ /* ios */
"ios" : {}, "ios" : {},
/* SDK */ /* SDK */
"sdkConfigs" : {} "sdkConfigs" : {
"ad" : {}
}
} }
}, },
/* */ /* */

Loading…
Cancel
Save