mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Add first proper build of CI - woooo!
This commit is contained in:
parent
ac0172d78c
commit
2a5ec60655
22
.drone.yml
22
.drone.yml
@ -1,14 +1,22 @@
|
|||||||
|
services:
|
||||||
|
docker:
|
||||||
|
image: docker:dind
|
||||||
|
privileged: true
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: docker
|
image: docker
|
||||||
|
environment:
|
||||||
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- docker build -t plexdev .
|
- docker build -t devbuild .
|
||||||
- docker tag plexdev itpersists
|
|
||||||
- docker save -o image.tar plexdev
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: docker
|
image: docker
|
||||||
|
environment:
|
||||||
|
- DOCKER_HOST=tcp://docker:2375
|
||||||
commands:
|
commands:
|
||||||
- ls
|
- docker run --name=DEV -d -p 32400:32400 devbuild
|
||||||
- docker load -i image.tar
|
- sleep 10 # Wait for plex to start!
|
||||||
- docker images
|
- curl -s 127.0.0.1:32400
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user