Commit Graph
10 Commits
Author SHA1 Message Date
michael 3fa3e76a3b Run the bump workflow as the Cottage catalog bot GitHub App (#33)
Pull requests opened with the default workflow token don't start CI, and
the repository doesn't let Actions create pull requests. The run now mints
a token for the GitHub App installed on this repository (BUMP_APP_ID
variable, BUMP_APP_KEY secret).
2026-11-23 04:40:44 -05:00
michael 5796d0eebb Add a bump bot that opens update pull requests for recipes (#30)
A daily workflow compares each recipe with its upstream's newest stable
release and opens one pull request when the image for it is published:
version, image tag and multi-arch digest only. bump/track.yml holds where
each project releases and how its image tag follows the version; it lives
outside cottage.yml because Hearth reads that file strictly. Patch and
minor releases wait 3 days, majors 14. A guard check fails a bump branch
that changes anything else, and 'scripts/bump.py audit' shows how far
behind each recipe is.
2026-11-23 04:33:21 -05:00
michael f3157b71f3 Git over SSH for Forgejo and Gitea (tcp_ports) (#27) 2026-11-22 19:47:21 -05:00
michael 7b6851c023 Let apps send email through the owner's own mail provider (#26) 2026-11-22 18:07:41 -05:00
michael 57d83eba83 Test only changed recipes on a new branch's first push (#22)
The first push of a branch has no previous commit, so CI fell back to
testing the whole catalog: slow, and a broken recipe elsewhere failed
unrelated changes. Compare with main instead.
2026-11-22 13:04:34 -05:00
michael 64e36819fd Run Cottage's checks with the servers' image allowlist (#21)
The platform check now starts the node with a managed image allowlist and
sets it from this catalog, as the control plane does for the servers. A
recipe whose image the servers would refuse now fails here, before merge,
and a refused template prints the platform's reasons.

Pins the platform at the commit that adds the managed allowlist.
2026-11-22 13:03:49 -05:00
michael 4e85ff3e45 Use dotted numeric versions for date-released apps (#8)
The platform only accepts versions made of numbers and dots followed by
-c<revision>, and compares them to decide automatic updates. DokuWiki,
RSS-Bridge, RSSHub and Tiny Tiny RSS used their date tags with hyphens
(and DokuWiki a hotfix letter), so the platform rejected them.

A new CI job checks every recipe's version, and the README explains how
to write date releases.
2026-11-22 10:30:20 -05:00
michael 42a9780b1d Review app licences and test only the recipes a change touches (#3)
docs/licensing.md checks every app in PikaPods' catalog against its
licence: 70 allowed, 53 allowed with conditions, 8 not allowed (n8n,
NocoDB, Journiv, SparkyFitness, Bugsink, Directus, Joplin Server,
Stirling PDF).

The Compose test now runs only on recipes a push or pull request
changes, pruning images between recipes, so CI keeps working as the
catalog grows. A manual run still tests every recipe.
2026-11-22 10:02:27 -05:00
michael 193936ab2e Test recipes locally with Docker Compose (#1)
scripts/local-test.sh starts a recipe the way Cottage runs it (parameters filled in, owned
volumes without copy-up, default limits, no-new-privileges, localhost only), waits for its
health path to answer 200 and cleans up. CI runs it on every pull request, forks included,
alongside Cottage's own checks, which now live under .github/.

The README explains the recipe format and rules for contributors.
2026-11-21 14:03:35 -05:00
Michael Kinder a0d992022d Cottage catalog: three starter recipes
Vaultwarden, Actual Budget and Uptime Kuma, each a Harbor template with a listing, an icon,
first-run notes and a smoke test. CI builds Harbor at the pinned commit and runs every
recipe's smoke test against its fake runtime.
2026-11-21 13:45:14 -05:00