Joshua M. Boniface
35a5f70653
Improve output messages for Docker builds
2024-06-06 14:39:11 -04:00
Joshua M. Boniface
a7c2e52b9f
Flip is_unstable conditionals
...
Using is_stable avoids "not is_unstable" which is confusing. Make
stability the default.
Also clean up the now completely unnecessary version_suffix in Docker
builds, as the only decider is stability.
2024-06-06 14:35:15 -04:00
Joshua M. Boniface
38311227a7
Add subpoint version manifests and cleanup
...
Remove the extra var is_latest as unneeded, use a better conditional for
stable releases, and ensure everything is consistent.
Closes #29
2024-06-06 14:32:01 -04:00
Joshua M. Boniface
06cdec877c
Fail if docker builds fail
...
Huge oversight that allows failures to propagate.
2024-05-12 20:23:25 -04:00
Steve Kowalik
d576b9ec7d
Refactor arch checking into a function
...
Remove some duplicated code by refactoring the architecture checking
into a function. The error paths would have also likely resulted in
NameErrors being thrown due to function arguments having underscores, so
that has been corrected as well.
2024-04-07 17:46:50 +10:00
Joshua M. Boniface
044737dfd1
Use buildx build explicitly instead of alias
...
Fixes #12
2024-04-01 01:53:12 -04:00
Joshua M. Boniface
75f8b49616
Fix nuget arch requirement
2024-03-27 11:23:33 -04:00
Joshua M. Boniface
675b2a5af5
Switch no-push to local
...
Makes it a bit clearer what this option actually does.
2024-03-18 12:29:23 -04:00
Joshua M. Boniface
5295c46936
Avoid ghcr.io tag if no_push
2024-03-18 12:15:07 -04:00
Joshua M. Boniface
027db4a953
Switch build.py to argparse
...
Provides much more reliable and consistent argumentation and help
documentation for the script.
Also supports "auto" as a version identical to "master" for better
clarity of what it does.
2024-03-18 12:10:56 -04:00
Joshua M. Boniface
a8f366ef65
Abort pushes if envvars aren't set
2024-03-18 11:50:51 -04:00
Joshua M. Boniface
b8f27e85ff
Support building docker images for only one arch
2024-03-18 11:48:04 -04:00
Joshua M. Boniface
1ac8187e51
Fail if nuget_key is not found
2024-03-07 11:54:40 -05:00
Joshua M. Boniface
8983e61902
Fix bad manifest tagging
...
Was missing {server} in the lists, so GHCR wasn't pushed.
2024-03-07 11:42:08 -05:00
Joshua M. Boniface
84951d3003
Remove references to CentOS/Fedora
...
Moving these to RPMFusion now.
2024-03-07 10:52:31 -05:00
Joshua M. Boniface
ef5a6b0d98
Fix typo in Version command
2024-03-06 21:03:12 -05:00
Joshua M. Boniface
5ff299ae2a
Reformat with black
2024-03-06 20:58:49 -05:00
Joshua M. Boniface
9040836f51
Reformat Nuget build component (style, fstrings)
2024-03-06 20:58:33 -05:00
Cody Robibero
c39620ebb5
Add workflow to publish nuget packages
2024-03-06 18:39:49 -07:00
Joshua M. Boniface
4e81d71c54
Add ability to disable Docker pushes
2024-03-03 23:42:51 -05:00
Joshua M. Boniface
2d1c1e20ce
Try removing explicit docker.io
2024-03-03 23:03:04 -05:00
Joshua M. Boniface
5fcad3f3c5
Fix bad import and formatting
2024-03-03 22:22:24 -05:00
Joshua M. Boniface
8ac15107ea
Rework manifest builds and push configuration
2024-03-03 22:13:42 -05:00
Joshua M. Boniface
35f2185eeb
Disable building and pushing
2024-03-03 21:30:42 -05:00
Joshua M. Boniface
351a6a7c73
Move pushes earlier
2024-03-03 21:11:34 -05:00
Joshua M. Boniface
bddb4cd79f
Add login step
2024-03-03 19:25:10 -05:00
Joshua M. Boniface
652b6046b3
Avoid using amend for manifests
2024-03-03 19:21:27 -05:00
Joshua M. Boniface
d7aeb7cab3
Fix typoes
2024-03-03 18:28:42 -05:00
Joshua M. Boniface
285e1b397a
Try fixing the Docker push issue again
2024-03-03 18:11:47 -05:00
Joshua M. Boniface
481b495ff5
Fix bad log statements
2024-03-03 17:17:49 -05:00
Joshua M. Boniface
a9a9d6b017
Fix syntax error
2024-03-03 17:08:22 -05:00
Joshua M. Boniface
fb3889209a
Push the "unstable" tag to Docker as well
2024-03-03 17:05:25 -05:00
Joshua M. Boniface
d82270d270
Add flushing log function
2024-03-03 02:35:15 -05:00
Joshua M. Boniface
64fa0d7c3f
Redirect stderr to stdout for docker cmds
2024-03-03 02:09:06 -05:00
Joshua M. Boniface
9e857da959
Add logging for image and manifest pushes
2024-03-03 01:29:37 -05:00
Joshua M. Boniface
6abc19f3d9
Reformat (Black) and lint (flake8) Python scripts
2024-02-16 03:00:16 -05:00
Joshua M. Boniface
e777812ef1
Move configuration into YAML document
...
Simplifies changes in the future especially for new releases of e.g.
Debian/Ubuntu, and makes the definitions easier to read.
2024-02-16 02:43:32 -05:00
Joshua M. Boniface
1c936530c4
Add JELLYFIN_VERSION to all build-time envs
2024-02-16 01:14:03 -05:00
Joshua M. Boniface
05d21f5f78
Make all variables more descriptive
2024-02-15 01:23:51 -05:00
Joshua M. Boniface
31efb50694
Remove extra newlines
2024-02-12 02:34:11 -05:00
Joshua M. Boniface
4a4e4d871c
Use osversion in changelog
2024-02-11 23:15:59 -05:00
Joshua M. Boniface
32f7a62535
Switch to using codenames for releases
...
Will make life easier when dealing with reprepro later.
2024-02-11 22:44:01 -05:00
Joshua M. Boniface
8321814a2f
Take minutes and seconds off auto-version
...
1-hour resolution is enough to make this unique for our planned
purposes, and keeps this from being too long. Once testing is completed
can probably drop the hour too and just go with a 1-day version.
2024-02-11 22:01:30 -05:00
Joshua M. Boniface
0c0c7f11e4
Accept master as jvers
2024-02-11 21:45:28 -05:00
Joshua M. Boniface
f398ba7d03
Clean up build commands
2024-02-11 17:50:05 -05:00
Joshua M. Boniface
836f014f31
Add Windows builds
2024-02-11 17:47:00 -05:00
Joshua M. Boniface
e339eee1b9
Combine all portable archive builds
2024-02-11 16:47:03 -05:00
Joshua M. Boniface
356439e9a0
Add portable linux build
2024-02-11 14:35:17 -05:00
Joshua M. Boniface
6144590fff
Add portable builds
2024-02-11 14:21:47 -05:00
Joshua M. Boniface
80a997253a
Add combined docker builds and rework Deb builds
2024-02-11 12:47:51 -05:00