feat: implement metadata catalog database management
This commit is contained in:
@@ -275,8 +275,8 @@ overrides:
|
||||
)
|
||||
$render = Invoke-BoundedNative -FilePath "docker" -Arguments ($composeArguments + @("config", "--services")) -Label "render Windows Compose from spaced path"
|
||||
$services = @($render.StdOut -split "`r?`n" | Where-Object { $_ } | Sort-Object)
|
||||
if (($services -join ",") -ne "core,embedding,embedding-model-init,frontend,qdrant") {
|
||||
throw "rendered Windows stack must contain the canonical five services"
|
||||
if (($services -join ",") -ne "catalog-db,core,embedding,embedding-model-init,frontend,qdrant") {
|
||||
throw "rendered Windows stack must contain the canonical six services"
|
||||
}
|
||||
Invoke-BoundedNative -FilePath "docker" -Arguments ($composeArguments + @("config", "--quiet")) -Label "validate Windows Compose from spaced path" | Out-Null
|
||||
|
||||
@@ -287,8 +287,8 @@ overrides:
|
||||
Invoke-BoundedNative -FilePath "docker" -Arguments ($composeArguments + @("up", "--detach", "--wait", "--wait-timeout", "180")) -Label "start canonical Windows stack" -TimeoutSeconds 300 | Out-Null
|
||||
$running = Invoke-BoundedNative -FilePath "docker" -Arguments ($composeArguments + @("ps", "--status", "running", "--services")) -Label "inspect running Windows services"
|
||||
$runningServices = @($running.StdOut -split "`r?`n" | Where-Object { $_ } | Sort-Object)
|
||||
if (($runningServices -join ",") -ne "core,embedding,frontend,qdrant") {
|
||||
throw "bounded Windows startup did not leave the four long-running services ready"
|
||||
if (($runningServices -join ",") -ne "catalog-db,core,embedding,frontend,qdrant") {
|
||||
throw "bounded Windows startup did not leave the five long-running services ready"
|
||||
}
|
||||
Invoke-BoundedNative -FilePath $tht -Arguments @("--installation", $installation, "status") -Label "invoke installation-aware Windows tht in spaced path" | Out-Null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user