Compare commits

...

2 Commits

Author SHA1 Message Date
Your Name 745a499cec fix: ci 2 years ago
Your Name 1a4af85b1e fix: ci 2 years ago
  1. 20
      .drone.yml

20
.drone.yml

@ -18,18 +18,12 @@ volumes:
- name: dockersock
host:
path: /data/drone/docker/sock
- name: gitea
host:
path: /gitea
steps:
- name: "Checkout"
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:alpine-git-v2.36.2
pull: if-not-exists
volumes:
- name: gitea
path: /root/.ssh/id_rsa
commands:
- echo 192.168.0.2 git.1000my.com >> /etc/hosts
- ping git.1000my.com -c 1
@ -54,7 +48,7 @@ steps:
- echo 192.168.0.2 git.1000my.com >> /etc/hosts
- semantic-release
- name: 获取tag数据
- name: tag
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:alpine-git-v2.36.2
commands:
- ping git.1000my.com -c 1
@ -66,7 +60,6 @@ steps:
# - git submodule add -b master https://git.1000my.com/project_runteng/server_iot-common.git
# - git mv server_iot-common iot-common
# - git submodule sync
- git describe --tags `git rev-list --tags --max-count=1`
# 获取当前分支的tag
- git describe --abbrev=0 --tags > .tags
@ -85,6 +78,17 @@ steps:
- master
- name: 对比生成增量包
pull: if-not-exists
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:nsis20241212
commands:
- the_last_dir
- ls Sources/Setup.exe
- du -sh Sources/Setup.exe
when:
branch:
- master
# - name: 上传zip到iot正式接口platformProgramAdd
# pull: if-not-exists
# image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:apisix-init-base

Loading…
Cancel
Save