2
0
mirror of https://github.com/spritsail/plex-media-server.git synced 2025-07-09 17:10:56 +00:00

Bump Plex build on cron and attempt to push to git

This should cover 95% of cases where we'd want to bump Plex, but
autonomously. If the build fails or the tests fail we'll know about it
and can manually investigate.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2021-02-16 15:22:57 +00:00
parent 7867337400
commit a09bf8c4ff
2 changed files with 40 additions and 3 deletions

View File

@ -2,6 +2,12 @@
kind: pipeline
name: build-amd64
trigger:
event:
- push
- pull_request
- tag
platform:
os: linux
arch: amd64
@ -67,8 +73,36 @@ steps:
event:
- push
---
kind: pipeline
name: update-cron
trigger:
event:
- cron
platform:
os: linux
arch: amd64
steps:
- name: update
pull: always
image: spritsail/alpine
commands:
- apk add bash curl jq git
- ./update.sh
- name: push
pull: always
image: appleboy/drone-git-push
settings:
branch: master
remote: git@github.com:spritsail/plex-media-server.git
ssh_key: {from_secret: git_ssh_key}
---
kind: signature
hmac: 6d4fdd6274fdab370550ea310af156a7e6fdb74794c80bf234a825d7136f6783
hmac: ffa33c4e8d4d71e4a1dcbc850859ebde679f6c574885d99df3ca9496e1db55b9
...