mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-25 11:30:41 +00:00
20 lines
212 B
YAML
20 lines
212 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: linux
|
||
|
|
||
|
steps:
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test
|
||
|
devices:
|
||
|
- name: data
|
||
|
path: /dev/xvda
|
||
|
|
||
|
services:
|
||
|
- name: database
|
||
|
image: redis
|
||
|
ports:
|
||
|
- 6379
|