158 Commits

Author SHA1 Message Date
Joshua M. Boniface
726f9b0760 Add reprepro version obsolescence
We've moved reprepro to a version that supports keeping multiple
versions for the purpose of facilitating downgrades if people need it.
However the logic of the multiple versions functionality there does not
permit the granular rules we want. This implements them manually.

1. For Unstable builds, we only want to keep a max of 4 in the repo
(matching what we keep in the web archive). Since reprepro doesn't
support granularity of Limit at the component level, implement logic to
remove all but the most recent 4 unstables if there end up being more
than 4 after importing the new version.

2. For Stable builds, we want to keep the last point release of a given
major release (e.g. keep 10.10.13 but obsolete 10.10.12), while also
keeping older major versions (e.g. 10.9.10). Again the logic in reprepro
is too simplistic to handle this, so we implement it manually. For any
version that comes in, if the point version is above 0, we remove any
packages with a version that's one point release behind that one within
the same major version, while preserving everything else.
2025-03-30 16:47:14 -04:00
Joshua M. Boniface
bfd3345210 Merge pull request #57 from jellyfin/renovate/actions-upload-artifact-digest
Update actions/upload-artifact digest to ea165f8
2025-03-30 15:44:24 -04:00
Joshua M. Boniface
08238818dd Merge pull request #58 from jellyfin/renovate/actions-download-artifact-digest
Update actions/download-artifact digest to 95815c3
2025-03-30 15:44:07 -04:00
renovate[bot]
6496b9dc7c Update actions/upload-artifact digest to ea165f8 2025-03-19 18:30:38 +00:00
renovate[bot]
d88abfa417 Update actions/download-artifact digest to 95815c3 2025-03-19 18:30:34 +00:00
renovate[bot]
7f4967e34a Update appleboy/ssh-action action to v1.2.2 2025-03-09 16:50:27 +00:00
Joshua M. Boniface
ee2efc544a Update Windows Installer workflows with bugfixes 2025-02-17 04:02:47 -05:00
Joshua M. Boniface
7ef6a1a1a6 Remove test workflow 2025-02-17 04:02:38 -05:00
Joshua M. Boniface
fee7113f7b One final correction 2025-02-17 03:47:05 -05:00
Joshua M. Boniface
c883b92b1d Fix names and add test outputs 2025-02-17 03:33:35 -05:00
Joshua M. Boniface
e48b93fb82 Fix variable passing to preserve dates 2025-02-17 03:15:39 -05:00
Joshua M. Boniface
4f1458b266 Fix extraction path of archive 2025-02-17 02:55:34 -05:00
Joshua M. Boniface
86da79fd9a Fix some more path bugs and incorrect task 2025-02-17 02:42:29 -05:00
Joshua M. Boniface
555f38c468 Fix artifact name 2025-02-17 02:28:33 -05:00
Joshua M. Boniface
33d360bd8f Restore upload to repo 2025-02-17 02:25:25 -05:00
Joshua M. Boniface
b36c77f14d Fix incorrect placement and package name 2025-02-17 02:19:30 -05:00
Joshua M. Boniface
e53fcacc72 Temporarily disable arm64 build 2025-02-17 02:18:01 -05:00
Joshua M. Boniface
88600e64d2 Add pip install for git 2025-02-17 02:17:35 -05:00
Joshua M. Boniface
a1b8df1487 Disable uploads temporarily 2025-02-17 02:16:52 -05:00
Joshua M. Boniface
4063b64792 Add Windows testing workflow 2025-02-17 02:08:29 -05:00
Joshua M. Boniface
700973a7ff Improve artifact fetch handling 2025-02-17 02:06:33 -05:00
Joshua M. Boniface
289da8f786 Readd matrix for consistency 2025-02-17 01:57:28 -05:00
Joshua M. Boniface
890b145ce8 Fix artifact upload on arm64 2025-02-17 01:50:54 -05:00
Joshua M. Boniface
143b1e624d Fix bad path to clone 2025-02-17 01:48:48 -05:00
Joshua M. Boniface
2cf4dca8fc Fix bugs with release build
1. Ensure we check out the repo during the Installer build.

2. Avoid the erroring working-directory on artifact fetch.

3. Move the item into place later.
2025-02-17 01:47:31 -05:00
renovate[bot]
e3167eaadf Pin dependencies 2025-02-17 02:21:31 +00:00
Joshua M. Boniface
5dfcd306f5 Remove unnecessary cd 2025-02-16 21:00:52 -05:00
Joshua M. Boniface
de6772bb1b Fix artifact path 2025-02-16 20:53:23 -05:00
Joshua M. Boniface
735bfc5e55 Fix substring handling in Windows task 2025-02-16 20:47:48 -05:00
Joshua M. Boniface
5c9f3240d9 Improve version handling in Windows tasks
This allows running of the Installer steps on unstable.
2025-02-16 20:41:15 -05:00
Joshua M. Boniface
aa2ae38ff0 Move repo upload to separate step 2025-02-16 20:25:29 -05:00
Joshua M. Boniface
86fac5c131 Add Windows installer build steps
Avoids the need to run this separately afterwards; it will be run
automatically on all stable releases.
2025-02-16 20:18:48 -05:00
renovate[bot]
c0c6e18d02 Update appleboy/ssh-action action to v1.2.0 2024-11-17 10:04:41 +00:00
Joshua M. Boniface
543b32369c Merge pull request #44 from jellyfin/renovate/ubuntu-24.x
Update dependency ubuntu to v24
2024-11-09 10:10:58 -05:00
renovate[bot]
041244ef5e Update CI dependencies 2024-10-23 17:12:53 +00:00
renovate[bot]
16eb7eba30 Update dependency ubuntu to v24 2024-09-26 20:06:10 +00:00
renovate[bot]
4273e74835 Update actions/checkout action to v4.2.0 (#43) 2024-09-25 17:32:41 -06:00
renovate[bot]
9e59a6c9f3 Update actions/checkout action to v4.1.7 2024-06-12 19:29:32 +00:00
Joshua M. Boniface
f368a7c998 Fix dependency update for other builds 2024-05-26 20:09:23 -04:00
Joshua M. Boniface
721c2e4b51 Ensure apt is updated first 2024-05-26 20:03:22 -04:00
Joshua M. Boniface
6eccb2596c Add CODEOWNERS 2024-05-21 09:52:40 -04:00
Joshua M. Boniface
0019b198b9 Remove temporary Ubuntu Noble-only workflow
This was just a helper and can be brought back as needed.
2024-05-21 09:45:08 -04:00
renovate[bot]
c6544bd7c4 Update actions/checkout action to v4.1.6 2024-05-17 22:34:15 +00:00
Joshua M. Boniface
dea4f8dc0f Add temporary workflow only for Noble 2024-05-17 18:32:41 -04:00
renovate[bot]
51be1000ad Update actions/checkout action to v4.1.5 2024-05-08 21:25:36 +00:00
Joshua M. Boniface
3ddb375a90 Add Debian package and dsc signing with repo key
Allows for the verification of the integrity and ownership of the
resulting .deb, .dsc, .changes, and .buildinfo files for both Debian and
Ubuntu using `debsig-verify` and the standard Apt toolkits.

Closes #14
2024-05-01 15:52:28 -04:00
Joshua M. Boniface
759c75a107 Correct to the actual value
My brain just reversed the order on me.
2024-05-01 13:01:51 -04:00
Joshua M. Boniface
fad8561616 Disable fast-fail strategy
This will prevent a failed build from cancelling other failed builds,
important since all are independent of each other.
2024-05-01 12:59:22 -04:00
Joshua M. Boniface
e715c583d8 Enable build for Ubuntu 24.04 2024-04-25 19:59:32 -04:00
Joshua M. Boniface
deb844f1cb Remove -V from reprepro commands 2024-03-09 14:43:58 -05:00