feat: complete TASK-WP0-07 supervisor
This commit is contained in:
@@ -23,12 +23,15 @@ const nativeSmoke = JSON.parse(
|
||||
const workerSmoke = JSON.parse(
|
||||
execFileSync(runtimeNode, ["scripts/worker-smoke.mjs"], { encoding: "utf8" }).trim(),
|
||||
);
|
||||
const supervisorChannelSmoke = JSON.parse(
|
||||
execFileSync(runtimeNode, ["scripts/supervisor-channel-smoke.mjs"], { encoding: "utf8" }).trim(),
|
||||
);
|
||||
|
||||
execFileSync(
|
||||
"dotnet",
|
||||
[
|
||||
"restore",
|
||||
"supervisor/Dada.Supervisor/Dada.Supervisor.csproj",
|
||||
"supervisor/Dada.Supervisor.Tests/Dada.Supervisor.Tests.csproj",
|
||||
"--configfile",
|
||||
"NuGet.Config",
|
||||
],
|
||||
@@ -45,6 +48,18 @@ execFileSync(
|
||||
],
|
||||
{ stdio: "inherit" },
|
||||
);
|
||||
execFileSync(
|
||||
"dotnet",
|
||||
[
|
||||
"run",
|
||||
"--project",
|
||||
"supervisor/Dada.Supervisor.Tests/Dada.Supervisor.Tests.csproj",
|
||||
"--configuration",
|
||||
"Release",
|
||||
"--no-restore",
|
||||
],
|
||||
{ stdio: "inherit" },
|
||||
);
|
||||
|
||||
const supervisorExecutable = resolve(
|
||||
"supervisor/Dada.Supervisor/bin/Release/net8.0-windows/Dada.Supervisor.exe",
|
||||
@@ -63,6 +78,8 @@ const result = {
|
||||
status: "passed",
|
||||
supervisor: {
|
||||
build: "passed",
|
||||
channel: supervisorChannelSmoke,
|
||||
lifecycle: "passed",
|
||||
target: frozenRuntime.dotnetTarget,
|
||||
},
|
||||
worker: workerSmoke,
|
||||
|
||||
Reference in New Issue
Block a user