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

40 Commits

Author SHA1 Message Date
f01f4950ab
Build Plex on musl, from scratch
Plex now provide a first-party musl Plex build that works without any
external dependencies whatsoever. It's built with LLVM with many
compiler and linker optimisations enabled:
https://forums.plex.tv/t/plex-media-server-forum-preview-faster-and-smaller-builds-with-new-toolchain/699575

Restructure build into multiple distinct Docker build stages to better
leverage caching and significantly improve build time on multicore
systems with BuildKit, particularly with LTO enabled.

Changes for this release include:
- Build `FROM spritsail/alpine` instead of `FROM debian` to ensure musl
  compatibility with all compiled binaries. Use `FROM scratch` for the
  resulting image. ld-musl is provided by Plex.
- Build busybox, su-exec and tini as they're no longer provided by the
  base image.
- Build binaries/libraries with standard hardening flags, including the
  popular -flto.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-28 10:12:19 +00:00
48abfda1b6
Revert "Bump Plex build on cron and attempt to push to git"
This reverts commit a09bf8c4ff.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-05-28 10:12:13 +00:00
a09bf8c4ff
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>
2021-02-16 16:08:03 +00:00
bd33ce4cb0
Build using auto-generated Docker image name
This allows running multiple builds of the same pipeline on one Docker
daemon, and also makes configuration simpler, as the  argument is
implied if not provided.

Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-04 00:24:02 +00:00
8277a3ce17
Update DockerHub README on push
[PUBLISH SKIP]

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-11 16:33:15 +01:00
c382bca5c6
Update to Plex ver 1.18.5.2309 2020-02-03 22:26:05 +00:00
a6fd98cb21
Update .drone.yml to 1.x 2019-08-23 22:07:45 +01:00
7c17e4103b
Simplify 'make' usage 2019-02-13 23:09:52 +00:00
897da36c85
Update Docker image tags 2019-01-06 18:30:10 +00:00
1f0f916f64
Update publish tags 2018-09-04 21:43:20 +01:00
e9d2165706
Use spritsail/drone-test for test-bin step 2018-08-24 11:56:13 +01:00
1ac410776e
Merge feature branch 'init-scripts' 2018-08-19 23:50:08 +01:00
b8b629552e
Bring up to date, add curl 2018-08-09 10:59:39 +01:00
6fb006928d
Use spritsail/drone-test CI step 2018-08-06 13:29:46 +01:00
2f04732b41 Remove redundant tag step 2018-07-29 12:00:26 +01:00
916ae6f3b7
Move to commit to upgrade system 2018-07-08 14:32:30 +01:00
13ef35e687
Move to new notify step 2018-06-11 17:27:40 +01:00
ec8a389e7c
Retry connection tests even when ECONNREFUSED 2018-03-16 15:52:07 +00:00
e5552397cf
Migrate to spritsail/plex-media-server 2018-03-16 15:26:23 +00:00
2b35049cc0
Print logs whilst sleeping in test 2017-12-15 16:48:29 +00:00
2bc01ff2a0
Only publish on master/pass branches 2017-09-20 00:11:30 +01:00
533a6da6f4
Pass plex version into container as build-arg 2017-09-20 00:04:10 +01:00
0e6cb00bde
Fix drone test without continuation escapes 2017-09-19 23:44:59 +01:00
59c0672010
Don't bind a port on the host, it's not required 2017-09-19 23:27:14 +01:00
0048180ff5
Split large line in test step for readability
[CI SKIP]
2017-09-19 23:26:58 +01:00
Adam Dodman
a36dce1cbf Update to Docker Sock passthru. Increases performance 2017-09-15 17:47:44 +01:00
Adam Dodman
621e44a59a Add drone conditionals, fixes pull requests 2017-09-13 23:15:56 +01:00
ddc73340e2
Only publish images when pushed/deployed 2017-09-13 22:15:50 +01:00
f6c78d3635
Revert "Rebuild plexpass after a successful public release"
This reverts commit e1505bd365.
2017-09-13 21:50:49 +01:00
69a9f53e64
Fix .drone.yml formatting 2017-08-24 18:18:12 +01:00
ee78c109bb
Print identified plex version to the logs 2017-08-24 18:17:44 +01:00
e1505bd365
Rebuild plexpass after a successful public release 2017-08-24 18:17:43 +01:00
Adam Dodman
96604f6e17 Fix for version page now being JSON 2017-07-17 18:54:27 +01:00
Adam Dodman
c1976720c1 Add more robust testing and CI 2017-07-09 23:10:10 +01:00
Adam Dodman
c70a12cc1d Final CI cleanups 2017-06-30 18:29:18 +01:00
Adam Dodman
1a8b3249b2 Fix secrets for publishing 2017-06-30 17:59:02 +01:00
Adam Dodman
9a74504f48 Fix test phase, add initial publish phase 2017-06-30 17:21:35 +01:00
Adam Dodman
da652e55d9 Fix CI test phase 2017-06-30 16:47:02 +01:00
Adam Dodman
2a5ec60655 Add first proper build of CI - woooo! 2017-06-30 16:39:55 +01:00
Adam Dodman
ac0172d78c Add drone CI support beta 2017-06-29 22:42:35 +01:00