Development
Prerequisites
- Rust stable toolchain
pre-commitmdbookwhen 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 toproject_idfromGCR_JSON_KEY - optional variable
GCR_REGISTRY, defaulting togcr.io - optional variable
GCR_IMAGE_NAME, defaulting tocloud-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.