feat: migrate todo note to nc01 github storage
This commit is contained in:
@@ -32,6 +32,7 @@ import { runServerCleanupCommand } from "./src/server-cleanup";
|
||||
import { runGcCommand } from "./src/gc";
|
||||
import { runPlatformDbCommand } from "./src/platform-db";
|
||||
import { runSecretsCommand } from "./src/secrets";
|
||||
import { readHostK8sPublicHost } from "./src/host-k8s-config";
|
||||
|
||||
const remoteOptions = extractRemoteCliOptions(process.argv.slice(2));
|
||||
const args = remoteOptions.args;
|
||||
@@ -470,6 +471,18 @@ async function main(): Promise<void> {
|
||||
}
|
||||
|
||||
const config = readConfig();
|
||||
if (top === "microservice" && !args.includes("--check-path")) {
|
||||
const host = readHostK8sPublicHost();
|
||||
if (host !== null) {
|
||||
process.exitCode = await runRemoteCli({
|
||||
...remoteOptions,
|
||||
host,
|
||||
transport: "frontend",
|
||||
args,
|
||||
}, config);
|
||||
return;
|
||||
}
|
||||
}
|
||||
const autoRemoteCiPublishPlan = autoRemoteCiPublishUserServiceDryRunPlan(config, args);
|
||||
if (autoRemoteCiPublishPlan.enabled && autoRemoteCiPublishPlan.host !== null) {
|
||||
process.exitCode = await runRemoteCli({
|
||||
|
||||
Reference in New Issue
Block a user