plex-test/.drone.yml

23 lines
440 B
YAML
Raw Normal View History

2017-06-30 15:39:55 +00:00
services:
docker:
image: docker:dind
privileged: true
2017-06-29 21:42:35 +00:00
pipeline:
build:
image: docker
2017-06-30 15:39:55 +00:00
environment:
- DOCKER_HOST=tcp://docker:2375
2017-06-29 21:42:35 +00:00
commands:
2017-06-30 15:39:55 +00:00
- docker build -t devbuild .
2017-06-29 21:42:35 +00:00
test:
image: docker
2017-06-30 15:39:55 +00:00
environment:
- DOCKER_HOST=tcp://docker:2375
2017-06-29 21:42:35 +00:00
commands:
2017-06-30 15:39:55 +00:00
- docker run --name=DEV -d -p 32400:32400 devbuild
- sleep 10 # Wait for plex to start!
- curl -s 127.0.0.1:32400