.
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
giles 2023-10-18 16:40:55 +01:00
parent c86a272294
commit c50fbe34db
1 changed files with 27 additions and 5 deletions

View File

@ -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
--- ---