.
This commit is contained in:
parent
c86a272294
commit
c50fbe34db
32
.drone.yml
32
.drone.yml
|
@ -76,14 +76,37 @@ clone:
|
||||||
disable: false
|
disable: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "yml"
|
- name: "convert to xml"
|
||||||
image: sigyl/zone-10-batch2yaml:latest
|
image: sigyl/zone-10-batch2yaml:latest
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
commands:
|
commands:
|
||||||
- node /app/servers/apps/batch2yaml/build/index.js . xml
|
- node /app/servers/apps/batch2yaml/build/index.js . xml
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
- name: "convert to yml"
|
||||||
|
image: sigyl/zone-10-batch2yaml:latest
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- format-branch
|
||||||
|
commands:
|
||||||
- node /app/servers/apps/batch2yaml/build/index.js . yml
|
- node /app/servers/apps/batch2yaml/build/index.js . yml
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run
|
||||||
|
- name: "git"
|
||||||
|
image: alpine/git:latest
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- format-branch
|
||||||
|
commands:
|
||||||
|
- git log
|
||||||
|
- git remote -v
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: /var/run
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
@ -107,10 +130,9 @@ volumes:
|
||||||
path: /etc/docker/daemon.json
|
path: /etc/docker/daemon.json
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
branch:
|
||||||
- promote
|
- format-branch
|
||||||
target:
|
- master
|
||||||
- xml
|
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in New Issue