478 lines
10 KiB
Plaintext
478 lines
10 KiB
Plaintext
{
|
|
"name": "DevTool-master",
|
|
"version": "0.1.0",
|
|
"targets": [],
|
|
"workflows": [
|
|
{
|
|
"id": "sidecar",
|
|
"label": "Publish Sidecar",
|
|
"description": "Publish sidecar service",
|
|
"group": "Build",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "sidecar:run",
|
|
"label": "python scripts/publish-sidecar.py",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/publish-sidecar.py"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "web",
|
|
"label": "Build Web UI",
|
|
"description": "Build frontend assets",
|
|
"group": "Build",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "web:run",
|
|
"label": "python scripts/publish-app.py --target web",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/publish-app.py",
|
|
"--target",
|
|
"web"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "tauri",
|
|
"label": "Build Tauri Desktop App",
|
|
"description": "Build desktop binary",
|
|
"group": "Build",
|
|
"dependsOn": [
|
|
"sidecar"
|
|
],
|
|
"steps": [
|
|
{
|
|
"id": "tauri:run",
|
|
"label": "python scripts/publish-app.py --target tauri --tauri-bundles none",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/publish-app.py",
|
|
"--target",
|
|
"tauri",
|
|
"--tauri-bundles",
|
|
"none"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "webgateway",
|
|
"label": "Publish WebGateway",
|
|
"description": "Publish ASP.NET gateway",
|
|
"group": "Build",
|
|
"dependsOn": [
|
|
"web"
|
|
],
|
|
"steps": [
|
|
{
|
|
"id": "webgateway:run",
|
|
"label": "python scripts/publish-webgateway.py",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/publish-webgateway.py"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "sync-output",
|
|
"label": "Sync Output",
|
|
"description": "Sync newest artifacts to output",
|
|
"group": "Build",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "sync-output:run",
|
|
"label": "python scripts/sync-output.py",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/sync-output.py"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "stage-output",
|
|
"label": "Stage Output Bundle",
|
|
"description": "Publish and stage distributable output",
|
|
"group": "Build",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "stage-output:run",
|
|
"label": "python scripts/publish-output.py",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/publish-output.py"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "run-gateway-dev",
|
|
"label": "Run WebGateway Server (Dev)",
|
|
"description": "Run gateway in development mode",
|
|
"group": "Dev",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "run-gateway-dev:run",
|
|
"label": "python scripts/run-webgateway.py --mode Dev",
|
|
"command": "python",
|
|
"args": [
|
|
"scripts/run-webgateway.py",
|
|
"--mode",
|
|
"Dev"
|
|
],
|
|
"workingDir": ".",
|
|
"action": null,
|
|
"actionArgs": [],
|
|
"requires": [
|
|
{
|
|
"tool": "python",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "build",
|
|
"label": "Build",
|
|
"description": "Build detected project stacks",
|
|
"group": "Build",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "dotnet-build",
|
|
"label": "dotnet build",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "dotnet-build",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
},
|
|
{
|
|
"id": "npm-build",
|
|
"label": "npm run build",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "npm-build",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "deps-refresh",
|
|
"label": "Refresh Dependencies",
|
|
"description": "Restore/install dependency stacks",
|
|
"group": "Deps",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "dotnet-restore",
|
|
"label": "dotnet restore",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "dotnet-restore",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
},
|
|
{
|
|
"id": "npm-ci",
|
|
"label": "npm ci",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "npm-ci",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "test",
|
|
"label": "Run Tests",
|
|
"description": "Run detected test stacks",
|
|
"group": "Test",
|
|
"dependsOn": [],
|
|
"steps": [
|
|
{
|
|
"id": "dotnet-test",
|
|
"label": "dotnet test",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "dotnet-test",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
},
|
|
{
|
|
"id": "npm-test",
|
|
"label": "npm test",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "npm-test",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
},
|
|
{
|
|
"id": "python-pytest",
|
|
"label": "python -m pytest",
|
|
"command": null,
|
|
"args": [],
|
|
"workingDir": ".",
|
|
"action": "python-pytest",
|
|
"actionArgs": [],
|
|
"requires": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"env": [
|
|
{
|
|
"key": "SDT_LOG_LEVEL",
|
|
"description": "CLI log verbosity",
|
|
"default": "information",
|
|
"options": [
|
|
"trace",
|
|
"debug",
|
|
"information",
|
|
"warning",
|
|
"error",
|
|
"critical"
|
|
]
|
|
}
|
|
],
|
|
"envProfiles": {
|
|
"active": "dev",
|
|
"profiles": [
|
|
{
|
|
"id": "dev",
|
|
"description": "Local development defaults",
|
|
"inherits": [],
|
|
"values": {
|
|
"SDT_ENV_PROFILE": "dev",
|
|
"SDT_LOG_LEVEL": "information"
|
|
}
|
|
},
|
|
{
|
|
"id": "ci",
|
|
"description": "Continuous integration defaults",
|
|
"inherits": [
|
|
"dev"
|
|
],
|
|
"values": {
|
|
"SDT_ENV_PROFILE": "ci",
|
|
"CI": "true",
|
|
"SDT_LOG_LEVEL": "warning"
|
|
}
|
|
},
|
|
{
|
|
"id": "release",
|
|
"description": "Release build defaults",
|
|
"inherits": [
|
|
"dev"
|
|
],
|
|
"values": {
|
|
"SDT_ENV_PROFILE": "release",
|
|
"SDT_LOG_LEVEL": "warning"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"toolchains": {
|
|
"python": {
|
|
"executable": "python",
|
|
"windowsExecutable": "py",
|
|
"launcherVersion": null,
|
|
"venvDir": ".venv",
|
|
"profiles": [],
|
|
"pipScript": null
|
|
},
|
|
"node": {
|
|
"packageManager": "npm",
|
|
"workingDir": "."
|
|
}
|
|
},
|
|
"tooling": {
|
|
"tools": [
|
|
{
|
|
"tool": "dotnet",
|
|
"preferredInstallCommands": [],
|
|
"executables": []
|
|
},
|
|
{
|
|
"tool": "node",
|
|
"preferredInstallCommands": [],
|
|
"executables": []
|
|
},
|
|
{
|
|
"tool": "npm",
|
|
"preferredInstallCommands": [],
|
|
"executables": []
|
|
},
|
|
{
|
|
"tool": "python",
|
|
"preferredInstallCommands": [],
|
|
"executables": []
|
|
}
|
|
]
|
|
},
|
|
"project": {
|
|
"type": "polyglot",
|
|
"rootHints": [
|
|
"*.sln",
|
|
"package.json",
|
|
"scripts"
|
|
],
|
|
"artifacts": [
|
|
"bin",
|
|
"obj",
|
|
".sdt/debug"
|
|
]
|
|
},
|
|
"debug": {
|
|
"profiles": [
|
|
{
|
|
"id": "dotnet-run",
|
|
"label": "Run .NET app",
|
|
"type": "dotnet",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"run"
|
|
],
|
|
"workingDir": ".",
|
|
"env": {},
|
|
"requires": [
|
|
{
|
|
"tool": "dotnet",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
],
|
|
"attach": {
|
|
"kind": "manual",
|
|
"port": null,
|
|
"processName": null,
|
|
"note": "Attach your IDE debugger to the running dotnet process."
|
|
}
|
|
},
|
|
{
|
|
"id": "npm-dev",
|
|
"label": "Run npm dev server",
|
|
"type": "node",
|
|
"command": "npm",
|
|
"args": [
|
|
"run",
|
|
"dev"
|
|
],
|
|
"workingDir": ".",
|
|
"env": {},
|
|
"requires": [
|
|
{
|
|
"tool": "node",
|
|
"installPolicy": "Prompt"
|
|
},
|
|
{
|
|
"tool": "npm",
|
|
"installPolicy": "Prompt"
|
|
}
|
|
],
|
|
"attach": null
|
|
}
|
|
],
|
|
"diagnostics": {
|
|
"enabled": true,
|
|
"outputDir": ".sdt/debug",
|
|
"includeAllEnv": false,
|
|
"captureEnvKeys": [
|
|
"SDT_LOG_LEVEL",
|
|
"DOTNET_CLI_HOME",
|
|
"NUGET_PACKAGES",
|
|
"PIP_CACHE_DIR",
|
|
"NVM_HOME",
|
|
"NVM_SYMLINK"
|
|
],
|
|
"redactSensitive": true,
|
|
"sensitiveKeyPatterns": [
|
|
"TOKEN",
|
|
"SECRET",
|
|
"PASSWORD",
|
|
"PWD",
|
|
"CREDENTIAL",
|
|
"API_KEY",
|
|
"ACCESS_KEY",
|
|
"PRIVATE_KEY"
|
|
],
|
|
"redactionAllowKeys": [],
|
|
"bundleOnFailure": true
|
|
}
|
|
}
|
|
}
|