[fabrica] Release: the release pipeline on a v* tag (version check, web tests, fabrica notes, the shots, approval, publish under SHA256SUMS signed by domi-release) and the highlights of 0.1.0

This commit is contained in:
2026-11-09 17:42:29 +01:00
parent 7a32eeb411
commit b9ab5006a8
4 changed files with 108 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
# Ianitor Domi: the Gitea release of a v* tag (docs/release.md). Ianitor ships no binary (the server builds it with
# Nix and the deploy pipeline switches it in), so a release is its notes and screenshots of the web UI, published under
# a SHA256SUMS signed by domi-release through Custos; release-notes.md is also the release's text on Gitea.
# The Windows runner (the Fabrica app on Mark's PC) runs it: `fabrica`, node and pnpm are on every step's PATH.
# No Gitea webhook to the hub yet: a pushed tag is started on demand (the hub's POST /api/runs, ref v<version>).
# `notes` is Fabrica's release notes since the previous v* tag (Fabrica docs/12_release_kit.md); `shots` takes the
# same files as `fabrica aula shots` (core docs/FORMATS.md, "Fabrica: the Aula page") from the built web UI against
# the demo control plane with invented data, in headless Edge. No landing page while app.yaml has no `aula: true`.
name: release
on:
tag: "v*"
manual: true
runner: windows
steps:
- id: version
run: node scripts/check-version.mjs ${{ version }}
- id: install
run: pnpm install --frozen-lockfile
- id: check
needs: [install]
run: pnpm --filter web check
- id: test
needs: [install]
run: pnpm --filter web test
- id: notes
run: fabrica notes
artifacts: ["target/notes/release-notes.md", "target/notes/release-notes.json"]
- id: shots
needs: [check, test]
run: node apps/web/scripts/shots.mjs
artifacts: ["target/aula/aula-*.png", "target/aula/aula.json"]
- id: approve
needs: [version, notes, shots]
approve: "Publish Ianitor ${{ tag }}: its notes and screenshots?"
- id: publish
needs: [approve]
publish:
gitea-release: true
files:
- "**/release-notes.md"
- "**/release-notes.json"
- "**/aula-*.png"
- "**/aula.json"
sums: domi-release
+18
View File
@@ -0,0 +1,18 @@
The first release of Ianitor Domi: a reverse proxy for a home server, built on Cloudflare's Pingora, with Caddy as a
tested fallback, a small Domi certificate authority, and a web UI where every change takes three clicks or fewer.
- **Hosts in plain words.** Add a host, say where its traffic goes, pick a Domi or Let's Encrypt certificate and
whether visitors sign in first (Authelia forward-auth). Each host is checked for health and shows healthy,
degraded or down.
- **Changes that undo themselves.** Every change is compiled, tried, and watched for 60 seconds; if a host stops
answering, it is reverted on its own. Routes live in a git repository, one file per host, with Undo and a
history you can restore any kept version from.
- **Two engines.** Pingora serves; Caddy is built from the same routes, compared host by host, and can take over at
runtime in about two seconds.
- **The Domi CA.** Certificates for hosts reached only from home, and device certificates (mTLS) for phones,
computers and Domi apps, from an intermediate whose root stays offline.
- **Share links**, signed and time-limited, for a single host.
- **NixOS-native.** A flake with the module and VM tests; deployed through Fabrica.
The changes below are the merges since the first commit; PR 3 to 5 are the control plane (phase 2), the decisions
on the open points, and the web UI, the Domi CA and the NixOS module (phase 3).