Merge pull request 'this is a PR! it rocks!' (#23) from format-branch into master
continuous-integration/drone/push Build is passing Details

Reviewed-on: #23
This commit is contained in:
giles 2023-10-18 15:53:52 +00:00
commit 913be7371f
1 changed files with 72 additions and 1 deletions

View File

@ -31,7 +31,7 @@ steps:
- name: "yml" - name: "yml"
image: sigyl/zone-10-batch2yaml:latest image: sigyl/zone-10-batch2yaml:latest
commands: commands:
- .data yml - node /app/servers/apps/batch2yaml/build/index.js . yml
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
@ -63,6 +63,77 @@ trigger:
target: target:
- yml - yml
---
kind: pipeline
type: docker
name: convert
platform:
os: linux
arch: amd64
clone:
disable: false
steps:
- 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
commands:
- git log
- git remote -v
volumes:
- name: dockersock
path: /var/run
services:
- name: docker
image: docker:19.03.12-dind@sha256:8dded163e463f4a59bf305b3dca98e312b2cfb89a43da3872e48f95a7554c48f
privileged: true
volumes:
- name: dockersock
path: /var/run
- name: ca
path: /etc/docker/certs.d
- name: daemonjson
path: /etc/docker/daemon.json
volumes:
- name: dockersock
temp: {}
- name: ca
host:
path: /etc/docker/certs.d
- name: daemonjson
host:
path: /etc/docker/daemon.json
trigger:
branch:
- format-branch
- master
event:
- push
--- ---
kind: pipeline kind: pipeline
type: docker type: docker