feat(release): 统一版本与 embed 部署,推送 lghost/aiops 镜像
- resolve_version 统一二进制/Docker/K8s 版本解析 - docker-compose 简化为 mysql+redis+aiops 单应用容器 - 新增 release/docker push/kubernetes push 构建并推送 Docker Hub - K8s deployment 镜像改为 lghost/aiops:<tag> 语义版本
This commit is contained in:
1 parent
8be51ac514
commit
9f5ce249f1
6 files changed
+302
-162
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# deployment.yaml — AIOps 应用 (embed 前端嵌入后端, 单容器单端口)
|
||||
# ----------------------------------------------------------------------------
|
||||
# - 镜像 aiops:embed(前端通过 go:embed 内嵌进同一二进制)
|
||||
# - 镜像 lghost/aiops:<tag>(前端通过 go:embed 内嵌进同一二进制)
|
||||
# - 单端口 8080 = API + WebSocket + 前端 SPA 静态资源
|
||||
# - 配置优先级: 环境变量 > config.yaml > 默认值 (viper AutomaticEnv)
|
||||
# - 环境变量命名: 配置键 database.host → DATABASE_HOST (全大写, 点变下划线)
|
||||
@@ -58,7 +58,7 @@ spec:
|
||||
mountPath: /vol
|
||||
containers:
|
||||
- name: aiops
|
||||
image: 10.10.10.72/library/aiops:embed
|
||||
image: lghost/aiops:dev
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
@@ -75,7 +75,7 @@ spec:
|
||||
mountPath: /vol
|
||||
containers:
|
||||
- name: aiops
|
||||
image: aiops:embed
|
||||
image: lghost/aiops:dev
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
||||
Reference in new issue
Block a user