tiny-pilot / janus-debian

MIT License
1 stars 0 forks source link

Investigate / proof of concept: TinyPilot apt repository #14

Closed mtlynch closed 1 year ago

mtlynch commented 1 year ago

I've been shying away from maintaining our own apt repo because it's just one more thing to maintain, but it might be easier than I fear.

This article makes it look pretty easy:

https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/

As an exercise, explore how feasible it would be to stand up an apt repository. The ideal for me would be that if the repository is just a Backblaze (or other static host) bucket, and CircleCI jobs push packages / indexes to the bucket as things get tagged as releases or merged into the main branch.

This is how nextdns publishes their Debian packages to S3:

https://github.com/nextdns/nextdns/blob/25396c2329e743abbb1a0f1218b67cd9a472ec89/.github/workflows/release.yml#L45

mtlynch commented 1 year ago

I spoke with a Debian maintainer this week, and he had some more details on tools for hosting an apt repo.

reprepo

aptly

PackageCloud

mtlynch commented 1 year ago

Punting due to our switch to the official Janus package: https://github.com/tiny-pilot/ansible-role-ustreamer/pull/78