09f462f467
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled
- known-limitations, deployment runbook, release checklist - prod compose requires JWT secret; BARADB_ENV=production fail-closed - scripts/backup-restore-drill.sh (backup → wipe → restore → verify) - version bump 1.2.0 (nimble, Dockerfile, health, CHANGELOG dated)
58 lines
1.5 KiB
Markdown
58 lines
1.5 KiB
Markdown
# Release checklist — v1.2.0 Production GA
|
|
|
|
Use before tagging and publishing artifacts.
|
|
|
|
## Pre-flight
|
|
|
|
- [ ] Working tree clean on `main`
|
|
- [ ] [Known limitations](known-limitations.md) accurate
|
|
- [ ] `CHANGELOG.md` has dated `## [1.2.0]` (not Unreleased for shipped items)
|
|
- [ ] `baradadb.nimble` version `1.2.0`
|
|
|
|
## Tests
|
|
|
|
```bash
|
|
nim c -o:build/baradadb src/baradadb.nim
|
|
nim c -o:build/backup src/barabadb/core/backup.nim
|
|
|
|
nim c -d:ssl --threads:on --path:src -r tests/test_all.nim
|
|
nim c -d:ssl --threads:on --path:src -r tests/bugfix_test.nim
|
|
nim c -d:ssl --threads:on --path:src -r tests/test_schema_persist.nim
|
|
|
|
# Ops drill (twice)
|
|
./scripts/backup-restore-drill.sh
|
|
DRILL_PORT=19482 ./scripts/backup-restore-drill.sh
|
|
|
|
# Optional cluster e2e (experimental tier)
|
|
./tests/raft_e2e_test
|
|
./tests/raft_writes_e2e_test
|
|
```
|
|
|
|
## Production compose
|
|
|
|
```bash
|
|
export BARADB_JWT_SECRET="$(openssl rand -hex 32)"
|
|
docker compose -f docker-compose.prod.yml config >/dev/null
|
|
# must fail without secret:
|
|
# (unset BARADB_JWT_SECRET; docker compose -f docker-compose.prod.yml config)
|
|
```
|
|
|
|
## Artifacts
|
|
|
|
```bash
|
|
nimble build_release # or: nim c -d:release -o:build/baradadb src/baradadb.nim
|
|
docker build -t baradb:1.2.0 -t baradb:latest .
|
|
```
|
|
|
|
## Tag
|
|
|
|
```bash
|
|
git tag -a v1.2.0 -m "BaraDB v1.2.0 Production GA (single-node)"
|
|
git push origin main --tags
|
|
```
|
|
|
|
## Post-release
|
|
|
|
- [ ] Smoke: start prod compose, `/health` → ok, auth required for `/query`
|
|
- [ ] Announce: single-node GA; Raft experimental (link known-limitations)
|