plex-test/.drone.yml
2017-06-30 16:39:55 +01:00

23 lines
440 B
YAML

services:
docker:
image: docker:dind
privileged: true
pipeline:
build:
image: docker
environment:
- DOCKER_HOST=tcp://docker:2375
commands:
- docker build -t devbuild .
test:
image: docker
environment:
- DOCKER_HOST=tcp://docker:2375
commands:
- docker run --name=DEV -d -p 32400:32400 devbuild
- sleep 10 # Wait for plex to start!
- curl -s 127.0.0.1:32400