record 20260630release baseline

This commit is contained in:
hectorzhao
2026-06-30 14:19:38 +08:00
parent 9920575bba
commit 7ff019e829
3 changed files with 179 additions and 4 deletions
+141
View File
@@ -0,0 +1,141 @@
# LisgloSIPS V2 20260630release 稳定版封版报告
## 封版信息
| 项目 | 值 |
| --- | --- |
| 稳定版名称 | `20260630release` |
| 封版时间 | 2026-06-30 14:18 +08:00 |
| Git commit | `9920575bbae7fbef4929843632f94d687ffbe289` |
| B current release | `/opt/lisglosips/releases/s53-brand-logo-sip-text-20260630105500` |
| Web 验收地址 | `https://100.90.90.91/` |
## Git 基线
封版 tag 与稳定分支:
- Tag`20260630release`
- Branch`stable/20260630release`
后续开发应从该 tag 或分支新建功能分支;需要恢复代码时,可 checkout tag 或 stable 分支。
## 服务器基线
### A / TonyHouse
| 项目 | 值 |
| --- | --- |
| Tailscale IP | `100.90.90.90` |
| OpenSIPS 配置 SHA256 | `f163fa37f7aaa492e12ed496cb82f07d9b0f1030a6ed297855a22d2c4bf1c8a5` |
| 热路径 Lua SHA1 | `aff9995dbda2a2425e95a3e25b5d7ce194348ce7` |
| 热路径加载结果 | `success` |
| OpenSIPS 监听 | `100.90.90.90:15060/udp``100.90.90.90:9061/hep_udp` |
服务状态:
- `opensips`: active
- `rtpengine-daemon`: active
- `rtpengine-recording-daemon`: active
- `lisglosips-redis-auth-proxy`: active
- `lisglosips-node-exporter`: active
- `lisglosips-recording-finalize.timer`: active
已知无关 failed unit
- `fwupd-refresh.service`
### B / YanZi
| 项目 | 值 |
| --- | --- |
| Tailscale IP | `100.90.90.91` |
| Current release | `/opt/lisglosips/releases/s53-brand-logo-sip-text-20260630105500` |
| MySQL 封版备份 | `/data/backups/mysql/20260630T061723Z` |
| Redis 封版备份 | `/data/backups/redis/20260630T061723Z` |
| Backup service result | `success` |
| Preflight | `preflight ok` |
服务状态:
- `mysql`: active
- `redis-server`: active
- `nginx`: active
- `lisglosips@api`: active
- `lisglosips@cdr-worker`: active
- `lisglosips@recording-worker`: active
- `lisglosips@config-publisher`: active
- `heplify-server`: active
- `lisglosips-prometheus`: active
- `grafana-server`: active
API ready
```json
{"status":"ok","service":"api","checks":{"config":"ok","database":"ok","redis":"ok"}}
```
### T / SteveTable
| 项目 | 值 |
| --- | --- |
| Tailscale IP | `100.93.185.30` |
| OpenSIPS 配置 SHA256 | `5255dd540d33c3a7bf3db278fe6fe39540b176eb79e7fe12a7a26e5217c263da` |
| OpenSIPS 监听 | `100.93.185.30:5060/udp` |
服务状态:
- `opensips`: active
- `rtpengine-daemon`: active
- `rtpengine-recording-daemon`: active
- `lisglosips-s28-uas`: active
- `apache2`: active
- `mariadb`: active
已知无关 failed unit
- `fwupd-refresh.service`
## 验证结果
- B release preflight:通过
- 远程 Web/API smoke:通过,报告 `tests/reports/REMOTE_SMOKE_20260630T061636Z.md`
- 最近完整按钮级浏览器巡检:通过,报告 `tests/reports/REMOTE_WEB_UI_SMOKE_20260629T104040Z.md`
- A OpenSIPS 配置检查:通过
- T OpenSIPS 配置检查:通过
## 回滚方式
### 代码回滚
```bash
git checkout 20260630release
# 或
git switch stable/20260630release
```
### B 应用回滚到封版 release
```bash
sudo ln -sfn /opt/lisglosips/releases/s53-brand-logo-sip-text-20260630105500 /opt/lisglosips/current
sudo systemctl restart lisglosips@api lisglosips@cdr-worker lisglosips@recording-worker lisglosips@config-publisher
sudo nginx -t
sudo systemctl reload nginx
sudo /opt/lisglosips/current/infra/server-b/s30/lisglosips-release-preflight.sh
```
### 数据恢复点
封版备份:
- MySQL`/data/backups/mysql/20260630T061723Z`
- Redis`/data/backups/redis/20260630T061723Z`
生产式数据库恢复前必须先在隔离环境验证备份可恢复性,再安排维护窗口执行。
## 后续开发约束
- 新功能或修复从 `stable/20260630release``20260630release` 新建分支。
- B 服务器发布必须新增 release 目录,不覆盖 `s53-brand-logo-sip-text-20260630105500`
- A/B/T 服务器配置修改前必须先备份配置并记录回滚命令。
- 数据库 schema、服务重启、服务器写操作、SSH、防火墙、数据删除、生产式迁移前,必须先说明影响、风险和回滚点。