scripts/rolling-update.sh (make rolling_update) replaces API replicas one by one: build, migrations once, new replica UP in HAProxy, old replica drained and put into maintenance through the LB runtime API on loopback, then stopped and removed; the slot is reset once DNS drops the address. Expand migration adds messages.instance_id with a lock timeout. The bench rollout profile runs the same script under constant load, starting from the image of an older commit built with git archive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
869 B
Plaintext
43 lines
869 B
Plaintext
# Local/private state
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
config.toml
|
|
secrets/
|
|
certs/private/
|
|
*.key
|
|
*.p12
|
|
*.pfx
|
|
*.jks
|
|
*.pem
|
|
*.tfstate*
|
|
volumes/
|
|
data/
|
|
backups/
|
|
# Runtime/build artifacts
|
|
.venv/
|
|
__pycache__/
|
|
*.py[cod]
|
|
node_modules/
|
|
dist/
|
|
build/
|
|
target/
|
|
bin/
|
|
obj/
|
|
coverage/
|
|
*.log
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
graphify-out/
|
|
# make bench_quick: самопроверка стенда, не результат
|
|
evidence/bench/quick-*/
|
|
# make bench_failover_quick: то же для профиля отказа реплик
|
|
evidence/failover/quick-*/
|
|
# make bench_rollout_quick: то же для профиля поочерёдной замены
|
|
evidence/rollout/quick-*/
|
|
# сравнения пробных меток
|
|
evidence/compare/*quick-*
|
|
# Keep small, sanitized evidence summaries in evidence/ under version control.
|
|
# Inspect git diff --cached: ignore rules are not a secret scanner.
|