Project

General

Profile

Actions

Idea #22843

closed

Stop publishing development packages for distros where we don't deploy them

Added by Brett Smith 11 months ago. Updated 10 months ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
CI
Target version:
-
Start date:
Due date:
Story points:
-

Description

We should still build and test them, but uploading them all to the public apt repository takes a ton of disk space on the server and increases contention for the aptly database.

One side effect of this would be: the package build code tries to avoid rebuilds by checking whether a package is already in the apt repository, and if it is, downloading that instead of rebuilding. Doing this naively would lead to more redundant package builds. On net I feel like that's probably still a good trade-off, but if it's a problem I'd suggest we look at implementing some simpler disk-based cache. Or heck, maybe we could even just upload recently-built packages to /var/www but not put them in the aptly database (our package code looks for the package file directly, it doesn't go through the repository Packages file). That would still reduce contention on aptly and be much easier to clean up: we could just create a job to delete packages more than a month old or something.

Actions #2

Updated by Peter Amstutz 10 months ago

  • Target version set to Development 2025-07-09
Actions #3

Updated by Peter Amstutz 10 months ago

  • Status changed from New to Rejected

We actually do use all of them with provision tests.

Actions #4

Updated by Peter Amstutz 10 months ago

  • Target version deleted (Development 2025-07-09)
Actions

Also available in: Atom PDF