Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

typednotes-lite

This repository builds and publishes the combined Typednotes images from the newest stable release tags of the six service repositories (app, ledger, liaison, secrets, lode and lun):

  • ghcr.io/typednotes/typednotes-lite — the six application services in one image, deployed by typednotes-infra to one Scaleway Serverless Container and two Serverless SQL databases.
  • ghcr.io/typednotes/typednotes-local — the exact same service bundle plus PostgreSQL 17 and persistent directory bootstrap, for self-hosted use via local/run.sh.

Deployment, plan/apply/teardown and the fleet declaration live in the typednotes-infra repository; this repository only builds, verifies and publishes images.

How it builds

The Combined images workflow:

  • checks all six service repositories for new stable tags every fifteen minutes, on pushes to the packaging files, on service-version-updated repository dispatches, and on manual runs (with force to rebuild even unchanged versions),
  • verifies the packaging against the typednotes-infra fleet declaration (infra_ref, default main) — see Fleet verification,
  • compiles one service per fresh native amd64/arm64 runner, assembles both variants from digest-pinned artifacts, smoke-tests them, and only then promotes the multi-platform latest and build-<BUILD_ID> tags.

Build details, the manifest/metadata boundary and failure recovery are in images/README.md; the build graph and runtime layout are documented in lite/README.md and local/README.md.

Building locally

From the repository root, with Python 3, Git and Docker Buildx installed:

scripts/build-images.sh --print   # resolve newest tags, inspect the graph only
scripts/build-images.sh           # resolve, build and load both images

Run the offline test suites with:

python3 -m unittest discover -s images/tests -v
python3 -m unittest discover -s local/tests -v
python3 -m unittest discover -s lite/tests -v   # needs a typednotes-infra checkout for the Lean steps

Required setup

  • GHCR package access: the ghcr.io/typednotes/typednotes-lite and typednotes-local packages were created by typednotes-infra. Grant this repository write access to them in each package's Manage Actions access settings (or the first publish will fail).
  • Both packages must stay public for anonymous pulls by users, Scaleway and typednotes-infra's live-plan registry reads.
  • An INFRA_TOKEN repository secret is only needed if the (currently public) typednotes-infra repository is private again.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages