升级 ClickHouse 镜像至 26.3

This commit is contained in:
2026-07-11 17:38:52 +08:00
parent 9e6e7ca3c7
commit c208109ddf
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ func TestComposeUsesSafeDeploymentDefaults(t *testing.T) {
}
}
if !regexp.MustCompile(`(?m)^\s+image: clickhouse/clickhouse-server:\d+\.\d+\.\d+\.\d+-alpine\s*$`).MatchString(compose) {
t.Error("ClickHouse image must use an exact version tag")
if !regexp.MustCompile(`(?m)^\s+image: clickhouse/clickhouse-server:26\.3\s*$`).MatchString(compose) {
t.Error("ClickHouse image must use version 26.3")
}
serviceStart := strings.LastIndex(compose, " thief_clickhouse:")