.
This commit is contained in:
parent
c86a272294
commit
c50fbe34db
32
.drone.yml
32
.drone.yml
|
@ -76,14 +76,37 @@ clone:
|
|||
disable: false
|
||||
|
||||
steps:
|
||||
- name: "yml"
|
||||
- name: "convert to xml"
|
||||
image: sigyl/zone-10-batch2yaml:latest
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
commands:
|
||||
- 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
|
||||
volumes:
|
||||
- name: dockersock
|
||||
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:
|
||||
- name: docker
|
||||
|
@ -107,10 +130,9 @@ volumes:
|
|||
path: /etc/docker/daemon.json
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- xml
|
||||
branch:
|
||||
- format-branch
|
||||
- master
|
||||
|
||||
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue