2017-06-29 21:42:35 +00:00
|
|
|
pipeline:
|
|
|
|
build:
|
2018-03-16 15:26:23 +00:00
|
|
|
image: spritsail/docker-build
|
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
2018-03-17 09:21:49 +00:00
|
|
|
repo: ppass-dev
|
2018-07-08 15:57:17 +00:00
|
|
|
|
2018-08-09 09:59:39 +00:00
|
|
|
test-bin:
|
2018-08-24 10:56:11 +00:00
|
|
|
image: spritsail/docker-test
|
2018-03-16 15:26:23 +00:00
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
2018-08-24 11:00:32 +00:00
|
|
|
repo: ppass-dev
|
2018-08-24 10:56:11 +00:00
|
|
|
run: |
|
|
|
|
curl --version &&
|
|
|
|
xmlstarlet --version
|
2018-08-09 09:59:39 +00:00
|
|
|
|
2017-06-29 21:42:35 +00:00
|
|
|
test:
|
2018-08-06 12:29:46 +00:00
|
|
|
image: spritsail/docker-test
|
2018-03-16 15:26:23 +00:00
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
2018-08-19 22:55:49 +00:00
|
|
|
repo: ppass-dev
|
2018-08-06 12:29:46 +00:00
|
|
|
curl: ':32400/identity'
|
|
|
|
delay: 5
|
|
|
|
retry: 10
|
|
|
|
pipe: |
|
|
|
|
xmlstarlet sel -t -v "/MediaContainer/@version" |
|
|
|
|
grep -qw "$(label io.spritsail.version.plex | cut -d- -f1)"
|
2017-06-30 15:39:55 +00:00
|
|
|
|
2017-06-30 16:15:13 +00:00
|
|
|
publish:
|
2018-03-16 15:26:23 +00:00
|
|
|
image: spritsail/docker-publish
|
|
|
|
volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
|
|
|
|
secrets: [ docker_username, docker_password, microbadger_token ]
|
2018-08-19 22:55:49 +00:00
|
|
|
when: { branch: [ pass ], event: [ push, tag, deployment ] }
|
2018-03-17 09:21:49 +00:00
|
|
|
from: ppass-dev
|
2018-03-16 15:26:23 +00:00
|
|
|
repo: spritsail/plex-media-server
|
|
|
|
tags:
|
2018-03-17 09:21:49 +00:00
|
|
|
- 'plexpass'
|
2018-07-29 11:09:10 +00:00
|
|
|
- '%labelauto: %prefix: plexpass% io.spritsail.version.plex'
|
2018-03-16 15:26:23 +00:00
|
|
|
|
|
|
|
notify:
|
2018-06-11 16:10:36 +00:00
|
|
|
image: spritsail/notify
|
2018-03-16 15:26:23 +00:00
|
|
|
when: { status: [ success, failure ] }
|
2018-06-11 16:10:36 +00:00
|
|
|
secrets: [ webhook_url, notify_token ]
|