drone-yaml/samples/complex.yml

48 lines
535 B
YAML
Raw Normal View History

2019-01-23 00:44:17 +01:00
kind: pipeline
name: build
steps:
- name: backend
image: golang:1.11
commands:
- go build
- go test -v
- name: frontend
image: node
commands:
- npm install
- npm run test
- npm run lint
services:
- name: redis
image: redis:latest
ports:
- 6379
volumes:
- name: foo
path: /bar
volumes:
- name: foo
temp: {}
---
kind: pipeline
name: notify
steps:
- name: notify
image: plugins/slack
settings:
room: general
token:
2019-02-10 20:00:16 +01:00
from_secret: token
2019-01-23 00:44:17 +01:00
node:
disk: ssd
depends_on:
- build