feat: 增加 G14 Windows HWPOD 节点受控部署
通过 YAML-first 配置和 CLI 管理云端认证、Windows 图形节点、工作区与 MDTODO 数据源。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
version: 1
|
||||
kind: HwlabHwpodNodeDeploymentConfig
|
||||
metadata:
|
||||
name: hwlab-hwpod-nodes
|
||||
owner: unidesk
|
||||
spec: PJ2026-010104
|
||||
implementationRef: draft-2026-07-10-g14-wsl-python-hwpod-node
|
||||
|
||||
cloud:
|
||||
controlNode: NC01
|
||||
lane: v03
|
||||
kubeRoute: NC01:k3s
|
||||
namespace: hwlab-v03
|
||||
publicOrigin: https://hwlab.pikapython.com
|
||||
nodeOpsUrl: https://hwlab.pikapython.com/v1/hwpod-node-ops
|
||||
nodeAuth:
|
||||
sourceRef: hwlab/nc01-v03-hwpod-node.env
|
||||
sourceKey: HWLAB_HWPOD_NODE_WS_TOKEN
|
||||
generateIfMissing: true
|
||||
secretName: hwlab-v03-hwpod-node-auth
|
||||
targetKey: token
|
||||
opsAuth:
|
||||
sourceRef: hwlab/nc01-v03-admin.env
|
||||
sourceKey: HWLAB_API_KEY
|
||||
|
||||
targets:
|
||||
G14-WSL:
|
||||
enabled: true
|
||||
lane: v03
|
||||
providerId: G14-WSL
|
||||
windowsRoute: G14-WSL:win
|
||||
nodeId: node-g14-wsl-constar
|
||||
hwpodId: constar-workspace
|
||||
interactiveUser: lyon
|
||||
python:
|
||||
probeLauncherPath: "C:\\Windows\\py.exe"
|
||||
guiLauncherPath: "C:\\Windows\\pyw.exe"
|
||||
launcherArgs:
|
||||
- "-3.11"
|
||||
expectedVersionPrefix: "3.11.9"
|
||||
runtime:
|
||||
root: "C:\\Users\\lyon\\hwlab-node"
|
||||
scriptPath: "C:\\Users\\lyon\\hwlab-node\\hwlab-node.py"
|
||||
configPath: "C:\\Users\\lyon\\.hwlab\\config.json"
|
||||
credentialPath: "C:\\Users\\lyon\\.hwlab\\hwpod-node.token"
|
||||
logPath: "C:\\Users\\lyon\\.hwlab\\logs\\hwlab-node.log"
|
||||
artifact:
|
||||
metadataUrl: https://hwlab.pikapython.com/v1/hwlab-node/update
|
||||
channel: stable
|
||||
platform: windows
|
||||
workspace:
|
||||
allowedRoots:
|
||||
- "D:\\Work\\CONSTAR_workspace"
|
||||
defaultRoot: "D:\\Work\\CONSTAR_workspace"
|
||||
desktopConfig:
|
||||
serverUrl: https://hwlab.pikapython.com
|
||||
autoConnect: true
|
||||
requireCredential: true
|
||||
updateEnabled: true
|
||||
updateAutoApplyWhenIdle: false
|
||||
startup:
|
||||
mode: hkcu-run
|
||||
runKeyName: hwlab-node-g14-wsl
|
||||
initialLaunch: interactive-process
|
||||
processPattern: hwlab-node.py
|
||||
projectManagementSourceRef: config/hwlab-project-management/constar-workspace-mdtodo.yaml#projectManagement.sources[0]
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
version: 1
|
||||
kind: HwlabProjectManagementSourceConfig
|
||||
metadata:
|
||||
name: constar-workspace-mdtodo
|
||||
owner: unidesk
|
||||
spec: PJ2026-010404
|
||||
implementationRef: draft-2026-07-10-g14-wsl-python-hwpod-node
|
||||
|
||||
projectManagement:
|
||||
sources:
|
||||
- sourceId: constar-workspace-mdtodo
|
||||
sourceKind: hwpod-workspace
|
||||
displayName: 控之星 MDTODO
|
||||
projectId: project_constar_workspace
|
||||
hwpodId: constar-workspace
|
||||
nodeId: node-g14-wsl-constar
|
||||
workspaceRootRef: "D:\\Work\\CONSTAR_workspace"
|
||||
mdtodoRootRef: docs/MDTODO
|
||||
maxFiles: 300
|
||||
focusFiles:
|
||||
- 20260419_频率判断.md
|
||||
- 20260609_频率判断_用户反馈.md
|
||||
- 20260625_71_FILTER.md
|
||||
capabilities:
|
||||
probe: true
|
||||
list: true
|
||||
read: true
|
||||
write: false
|
||||
reindex: true
|
||||
launchWorkbench: true
|
||||
hwpodNodeOpsUrlConfigRef: config/hwlab-hwpod-nodes.yaml#cloud.nodeOpsUrl
|
||||
hwpodNodeOpsApiKeyConfigRef: config/hwlab-hwpod-nodes.yaml#cloud.opsAuth
|
||||
redaction:
|
||||
rawMarkdown: true
|
||||
hostPath: true
|
||||
valuesRedacted: true
|
||||
Reference in New Issue
Block a user