feat(platform-infra): add YAML-controlled nginx deployment
This commit is contained in:
@@ -391,7 +391,24 @@ export interface ManagedResourceCleanupPlan {
|
||||
export function platformInfraHelp(): unknown {
|
||||
const target = sub2ApiHelpTargetSummary();
|
||||
return {
|
||||
command: "platform-infra sub2api|sub2rank|langbot|n8n|webterm|wechat-archive|observability|secret-plane|kafka|gitea|pipelines-as-code ...",
|
||||
command: [
|
||||
"platform-infra",
|
||||
[
|
||||
"sub2api",
|
||||
"sub2rank",
|
||||
"nginx",
|
||||
"langbot",
|
||||
"n8n",
|
||||
"webterm",
|
||||
"wechat-archive",
|
||||
"observability",
|
||||
"secret-plane",
|
||||
"kafka",
|
||||
"gitea",
|
||||
"pipelines-as-code",
|
||||
].join("|"),
|
||||
"...",
|
||||
].join(" "),
|
||||
output: "json",
|
||||
usage: [
|
||||
"bun scripts/cli.ts platform-infra sub2api plan [--target G14|D601]",
|
||||
@@ -413,6 +430,10 @@ export function platformInfraHelp(): unknown {
|
||||
"bun scripts/cli.ts platform-infra sub2rank validate [--target NC01] [--full|--raw]",
|
||||
"bun scripts/cli.ts platform-infra egress-proxy traffic --target D601 --sample-seconds 15",
|
||||
"bun scripts/cli.ts platform-infra egress-proxy k3s-build-benchmark --targets D601,D518 --profile no-mirror-600m --dry-run",
|
||||
"bun scripts/cli.ts platform-infra nginx plan [--target PK01]",
|
||||
"bun scripts/cli.ts platform-infra nginx apply [--target PK01] --dry-run",
|
||||
"bun scripts/cli.ts platform-infra nginx apply [--target PK01] --confirm",
|
||||
"bun scripts/cli.ts platform-infra nginx status [--target PK01] [--full|--raw]",
|
||||
"bun scripts/cli.ts platform-infra langbot plan [--target G14]",
|
||||
"bun scripts/cli.ts platform-infra langbot apply [--target G14] --confirm",
|
||||
"bun scripts/cli.ts platform-infra langbot status [--target G14] [--full|--raw]",
|
||||
|
||||
Reference in New Issue
Block a user