|
|
@ -11,6 +11,7 @@ clone: |
|
|
trigger: |
|
|
trigger: |
|
|
branch: |
|
|
branch: |
|
|
- master |
|
|
- master |
|
|
|
|
|
- test |
|
|
event: |
|
|
event: |
|
|
- push |
|
|
- push |
|
|
|
|
|
|
|
|
@ -27,9 +28,6 @@ steps: |
|
|
- name: "Checkout" |
|
|
- name: "Checkout" |
|
|
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:alpine-git-v2.36.2 |
|
|
image: registry.cn-hangzhou.aliyuncs.com/qmiot/init:alpine-git-v2.36.2 |
|
|
pull: if-not-exists |
|
|
pull: if-not-exists |
|
|
volumes: |
|
|
|
|
|
- name: gitea |
|
|
|
|
|
path: /root/.ssh/id_rsa |
|
|
|
|
|
commands: |
|
|
commands: |
|
|
- echo 192.168.0.2 git.1000my.com >> /etc/hosts |
|
|
- echo 192.168.0.2 git.1000my.com >> /etc/hosts |
|
|
- ping git.1000my.com -c 1 |
|
|
- ping git.1000my.com -c 1 |
|
|
@ -80,10 +78,9 @@ steps: |
|
|
- makensis Sources/nbn.nsi |
|
|
- makensis Sources/nbn.nsi |
|
|
- ls Sources/Setup.exe |
|
|
- ls Sources/Setup.exe |
|
|
- du -sh Sources/Setup.exe |
|
|
- du -sh Sources/Setup.exe |
|
|
|
|
|
|
|
|
when: |
|
|
when: |
|
|
branch: |
|
|
branch: |
|
|
- master |
|
|
|
|
|
|
|
|
- test |
|
|
|
|
|
|
|
|
- name: 上传exe到iot测试接口platformAppAdd |
|
|
- name: 上传exe到iot测试接口platformAppAdd |
|
|
pull: if-not-exists |
|
|
pull: if-not-exists |
|
|
|