6ea45b7
把提交 6ea45b7 对应的最新 Admin(包含 #185、#186;#187 为 Client 变更,不进入 Admin 二进制)构建并发布到 185.216.248.75,通过 https://buy.833729.com 提供服务,同时保留生产数据、配置和上一版本回退能力。
185.216.248.75
https://buy.833729.com
autobuy
config.yaml
data
admin/
GOTOOLCHAIN=go1.23.0
GOOS=linux GOARCH=amd64 CGO_ENABLED=0
.deploy/
mysqldump --single-transaction --quick --no-tablespaces
gzip -t
/opt/cmautobuy/releases/6ea45b7/
/opt/cmautobuy/cmautobuy-admin
127.0.0.1
https://buy.833729.com/login
本地执行固定 Go 1.23.0 的 vet/test/Linux build 和 SHA-256;服务器执行 sha256sum、gzip -t、systemctl is-active/is-enabled、readlink、ss -lntp、journalctl、只读 schema 查询及 curl;外部执行公网 HTTPS 健康检查。
sha256sum
systemctl is-active/is-enabled
readlink
ss -lntp
journalctl
curl
--no-tablespaces
3f5ee83
docs/task/188-admin打包部署最新版本.md
f8e3bd1e813844a0fc74c7f06ed82d6cddc5e5ffe63faecf9eb4c219b0f17e17
/opt/cmautobuy/backups/autobuy-before-188-20260812T083428Z.sql.gz
/opt/cmautobuy/releases/6ea45b7/cmautobuy-admin
7e2d33c
127.0.0.1:18080
用户于 2026-08-13 明确验收通过。工单已完成归档,现关闭工单。
No dependencies set.
The note is not visible to the blocked user.
基本信息
要解决什么
把提交
6ea45b7对应的最新 Admin(包含 #185、#186;#187 为 Client 变更,不进入 Admin 二进制)构建并发布到185.216.248.75,通过https://buy.833729.com提供服务,同时保留生产数据、配置和上一版本回退能力。做什么 / 不做什么
autobuy数据库,校验 gzip 并限制备份权限。config.yaml与data软链接。config.yaml,不修改生产凭据、Nginx、MySQL 权限或业务数据。怎么做
admin/使用GOTOOLCHAIN=go1.23.0执行 vet、test,并用GOOS=linux GOARCH=amd64 CGO_ENABLED=0构建到被忽略的.deploy/。mysqldump --single-transaction --quick --no-tablespaces备份autobuy,启用管道失败检测;设置 600 后执行gzip -t。/opt/cmautobuy/releases/6ea45b7/,上传二进制,核对 SHA-256,建立稳定配置与数据软链接。/opt/cmautobuy/cmautobuy-admin,启动服务;失败立即回切原 release。127.0.0.1监听、启动日志、schema 版本、本机 HTTP 与公网 HTTPS。验收标准
gzip -t通过。6ea45b7,上一 release 保留可回退。https://buy.833729.com/login从服务器和外部网络均返回 HTTP 200。怎么验证
本地执行固定 Go 1.23.0 的 vet/test/Linux build 和 SHA-256;服务器执行
sha256sum、gzip -t、systemctl is-active/is-enabled、readlink、ss -lntp、journalctl、只读 schema 查询及curl;外部执行公网 HTTPS 健康检查。风险和回退
--no-tablespaces、管道失败检测和gzip -t,失败文件立即删除。readlink记录的 release;必要时由数据库管理员使用本次备份恢复数据。实施记录
6ea45b7。3f5ee83。docs/task/188-admin打包部署最新版本.md。f8e3bd1e813844a0fc74c7f06ed82d6cddc5e5ffe63faecf9eb4c219b0f17e17,本地与远端一致。/opt/cmautobuy/backups/autobuy-before-188-20260812T083428Z.sql.gz,5,039,803 字节,权限 600,gzip 校验通过。/opt/cmautobuy/releases/6ea45b7/cmautobuy-admin;上一版本7e2d33c保留。127.0.0.1:18080;schema v13;本机根路径 303、登录页 200;服务器和外部公网登录页均为 200;启动错误日志计数为 0。用户于 2026-08-13 明确验收通过。工单已完成归档,现关闭工单。