Add safe upgrade workflow script.

Made-with: Cursor
This commit is contained in:
Andrey Lutsenko
2026-04-20 23:07:23 +10:00
parent f429b48b8f
commit c0f5828d0b
3 changed files with 171 additions and 0 deletions
+16
View File
@@ -124,6 +124,22 @@ chmod +x restore.sh
./healthcheck.sh --mode full
```
## Upgrade (safe workflow)
Безопасное обновление: backup -> update -> healthcheck -> rollback configs при ошибке.
```bash
chmod +x upgrade.sh
./upgrade.sh
```
Опции:
```bash
./upgrade.sh --model qwen2.5:3b
./upgrade.sh --skip-model-pull
```
## Переменные окружения
- `QDRANT_URL` (default `http://127.0.0.1:6333`)