fix: retire active pgvector artifacts
This commit is contained in:
@@ -61,8 +61,9 @@ for profile in local server; do
|
||||
const fs = require("fs");
|
||||
const [path, profile] = process.argv.slice(2);
|
||||
const config = JSON.parse(fs.readFileSync(path, "utf8"));
|
||||
if (Object.keys(config.services).sort().join(",") !== "core,frontend") {
|
||||
throw new Error(profile + ": install stack must be exactly core,frontend");
|
||||
const expected = "core,embedding,embedding-model-init,frontend,qdrant";
|
||||
if (Object.keys(config.services).sort().join(",") !== expected) {
|
||||
throw new Error(profile + ": install stack must be exactly " + expected);
|
||||
}
|
||||
if (!config.services.core.secrets?.some((secret) => secret.target === "thothii.secrets")) {
|
||||
throw new Error(profile + ": install stack lacks the runtime secret bundle");
|
||||
|
||||
Reference in New Issue
Block a user