2021-08-03 20:41:00 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-10-05 20:17:00 +00:00
|
|
|
- name: test
|
|
|
|
image: alpine
|
|
|
|
commands:
|
2021-10-17 21:13:19 +00:00
|
|
|
- apk add libxml2-utils libxslt
|
2021-10-05 20:17:00 +00:00
|
|
|
- xmllint --noout --schema itsb.xsd itsb.xml
|
2021-10-17 21:14:23 +00:00
|
|
|
- 'xsltproc xslt/itsb.xsl itsb.xml | xmllint --noout --schema itsb.xsd -'
|
2021-10-05 20:17:00 +00:00
|
|
|
|
2021-08-03 20:41:00 +00:00
|
|
|
- name: deploy
|
|
|
|
image: drillster/drone-rsync
|
|
|
|
settings:
|
|
|
|
source: .
|
|
|
|
target: ~/dev/itsb/
|
|
|
|
hosts:
|
|
|
|
- tilde.town
|
|
|
|
user: lucidiot
|
|
|
|
exclude:
|
|
|
|
- .git
|
|
|
|
- feeds
|
|
|
|
- feeds.*
|
|
|
|
key:
|
|
|
|
from_secret: rsync_ssh_key
|
|
|
|
script:
|
|
|
|
- tree ~/dev/itsb/
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
repo:
|
|
|
|
- lucidiot/itsb
|