2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2024-11-05 09:26:22 +00:00
plex-media-server/.drone.yml

77 lines
1.3 KiB
YAML
Raw Normal View History

2019-08-23 21:07:45 +00:00
---
kind: pipeline
name: build-amd64
platform:
os: linux
arch: amd64
steps:
- name: build
pull: always
image: spritsail/docker-build
settings:
2019-02-13 23:08:39 +00:00
make: true
2019-08-23 21:07:45 +00:00
repo: plex-dev
2018-07-08 13:30:52 +00:00
2019-08-23 21:07:45 +00:00
- name: test-bin
pull: always
image: spritsail/docker-test
settings:
repo: plex-dev
run: |
curl --version &&
xmlstarlet --version
2018-08-09 09:59:39 +00:00
2019-08-23 21:07:45 +00:00
- name: test
pull: always
image: spritsail/docker-test
settings:
curl: :32400/identity
2018-08-06 12:29:46 +00:00
delay: 5
pipe: |
xmlstarlet sel -t -v "/MediaContainer/@version" |
grep -qw "$(label io.spritsail.version.plex | cut -d- -f1)"
2019-08-23 21:07:45 +00:00
repo: plex-dev
retry: 10
2017-06-30 15:39:55 +00:00
2019-08-23 21:07:45 +00:00
- name: publish
pull: always
image: spritsail/docker-publish
settings:
2018-03-16 15:26:23 +00:00
from: plex-dev
repo: spritsail/plex-media-server
tags:
2019-08-23 21:07:45 +00:00
- latest
- "%label io.spritsail.version.plex | %remsuf [0-9a-f]+$ | %auto 2"
environment:
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
when:
branch:
- master
event:
- push
- tag
- name: notify
pull: always
image: spritsail/notify
environment:
NOTIFY_TOKEN:
from_secret: notify_token
WEBHOOK_URL:
from_secret: webhook_url
when:
status:
- success
- failure
---
kind: signature
hmac: c1c9e7fe83806aba030d7395e11d9077863538131d04c8c291600fe8c84b99bc
2018-03-16 15:26:23 +00:00
2019-08-23 21:07:45 +00:00
...