2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-11-05 01:16:23 +00:00
plex-media-server/.drone.yml
2017-06-30 16:47:02 +01:00

24 lines
534 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:
- apk add --no-cache curl
- docker run --name=DEV -d -p 32400:32400 devbuild
- sleep 10 # Wait for plex to start!
- curl -s 127.0.0.1:32400 > /dev/null # Check if its responding, a 401 here is expected