drone-yaml/yaml/pretty/testdata/services.yml
2019-01-22 15:44:17 -08:00

33 lines
416 B
YAML

kind: pipeline
name: default
steps:
- name: test
image: golang
commands:
- go build
- go test -v
services:
- name: redis
image: redis:localhost
ports:
- 6379
entrypoint:
- /bin/redis-server
command:
- --port
- 6380
- name: mysql
image: mysql:latest
ports:
- 3306
environment:
MYSQL_USERNAME: root
MYSQL_PASSWORD:
from_secret: password
depends_on:
- foo
- bar