fix: allow target-side k3sctl deploy

This commit is contained in:
Codex
2026-05-18 11:10:42 +00:00
parent 30aead726b
commit 56f2892c02
7 changed files with 304 additions and 121 deletions
+2 -2
View File
@@ -779,7 +779,7 @@ async function logs(name: string): Promise<Record<string, unknown>> {
};
}
function help(): Record<string, unknown> {
export function ciHelp(): Record<string, unknown> {
return {
command: "ci install|status|run|run-dev-e2e|logs",
description: "Manage the D601 k3s Tekton CI gate. This intentionally does not deploy CD.",
@@ -815,7 +815,7 @@ function requireRunId(value: string): string {
export async function runCiCommand(_config: UniDeskConfig, args: string[]): Promise<Record<string, unknown>> {
const [action = "status", nameArg] = args;
if (isHelpArg(action) || args.slice(1).some(isHelpArg)) return help();
if (isHelpArg(action) || args.slice(1).some(isHelpArg)) return ciHelp();
if (action === "install") return install();
if (action === "status") return status();
if (action === "run") {