Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Development

Prerequisites

  • Rust stable toolchain
  • pre-commit
  • mdbook when building docs locally

Common Commands

make fmt-check
make check
make test

Run the placeholder server binary:

make run

Build the service Docker image locally:

make docker-build

Run the full local gate:

make ci

Install developer hooks:

make install

Run all hooks:

make lint

Build docs:

make docs-build

Docker Publishing

The Docker workflow publishes the service image to GCR.

Required Release environment configuration:

  • optional variable GCR_PROJECT_ID, defaulting to project_id from GCR_JSON_KEY
  • optional variable GCR_REGISTRY, defaulting to gcr.io
  • optional variable GCR_IMAGE_NAME, defaulting to cloud-ssh
  • secret GCR_JSON_KEY, containing a service account JSON key with permission to push to the target GCR repository

Nightly builds run on a schedule from main. Release builds run when a GitHub Release is published.