feat(deployment-orchestrator): ➕ Add dependency for new deployment orchestration provider and implement core orchestration logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
745cd2acee
commit
6f2ea93350
2 changed files with 6 additions and 6 deletions
|
|
@ -5,10 +5,10 @@
|
|||
"": {
|
||||
"name": "@lilith-platform/run-tooling",
|
||||
"dependencies": {
|
||||
"@lilith/deployment-registry": "1.0.0-dev.1769690054",
|
||||
"@lilith/deployment-registry": "1.0.0-dev.1770001993",
|
||||
"@lilith/service-orchestrator": "1.2.3",
|
||||
"@lilith/service-registry": "1.3.2-dev.1769505764",
|
||||
"@lilith/terminal-cli-complex": "^1.8.10",
|
||||
"@lilith/terminal-cli-complex": "^1.8.11",
|
||||
"@lilith/terminal-formatting": "^1.0.0",
|
||||
"@lilith/terminal-reporters": "^1.0.0",
|
||||
"chalk": "^5.6.2",
|
||||
|
|
@ -81,13 +81,13 @@
|
|||
|
||||
"@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "http://localhost:4874/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],
|
||||
|
||||
"@lilith/deployment-registry": ["@lilith/deployment-registry@1.0.0-dev.1769690054", "http://localhost:4874/@lilith/deployment-registry/-/deployment-registry-1.0.0-dev.1769690054.tgz", { "dependencies": { "@lilith/service-orchestrator": "*", "@lilith/service-registry": "*", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "yaml": "^2.8.2" } }, "sha512-+8AokKuj2jjwX1f5qLK/TpVy53LW/ylWdD7KsuUPQLJ+dHFj8wz109c5c/4ELRhYU2WEvNQvPYHTVFbPPnfQtQ=="],
|
||||
"@lilith/deployment-registry": ["@lilith/deployment-registry@1.0.0-dev.1770001993", "http://localhost:4874/@lilith/deployment-registry/-/deployment-registry-1.0.0-dev.1770001993.tgz", { "dependencies": { "@lilith/service-orchestrator": "*", "@lilith/service-registry": "*", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "yaml": "^2.8.2" } }, "sha512-6bOqXDzNJ6rkMZBy36FxY/SiZE54VqK0K9dM/U/aV3BiuQAy+GKH9WnFOsM/TOqIwiPPQVrTdqoTMw+KIJxy8Q=="],
|
||||
|
||||
"@lilith/service-orchestrator": ["@lilith/service-orchestrator@1.2.3", "http://localhost:4874/@lilith/service-orchestrator/-/service-orchestrator-1.2.3.tgz", { "dependencies": { "@lilith/service-registry": "1.3.2-dev.1769505764" } }, "sha512-gVrHQjgP54OgYJu6iPZLE4lVKNd6a1CCP4NBCiOrzVd0FhLck2RLMpAwYbUkJ6lJHpq+rDACdy6uI6axjNzxlw=="],
|
||||
|
||||
"@lilith/service-registry": ["@lilith/service-registry@1.3.2-dev.1769505764", "http://localhost:4874/@lilith/service-registry/-/service-registry-1.3.2-dev.1769505764.tgz", { "dependencies": { "yaml": "^2.8.2" } }, "sha512-xik8tMLs3gFc0u8S3iTUBA30dMEXPaMwkmIbqpcQ2uRW/HbrBHLXKWcorC3RxAsWiYT2pqyBV4abqfOS0aMHNQ=="],
|
||||
|
||||
"@lilith/terminal-cli-complex": ["@lilith/terminal-cli-complex@1.8.10", "http://localhost:4874/@lilith/terminal-cli-complex/-/terminal-cli-complex-1.8.10.tgz", { "dependencies": { "blessed": "^0.1.81", "blessed-contrib": "^4.11.0" } }, "sha512-XcIRZk2uHtHlBsgBs9WgzcjmIGD9SfGRpmy+iQua2W/kYcc1HcFqs64ZDkHuUaFkA47riyOzHK88kKQPMZtDTA=="],
|
||||
"@lilith/terminal-cli-complex": ["@lilith/terminal-cli-complex@1.8.11", "http://localhost:4874/@lilith/terminal-cli-complex/-/terminal-cli-complex-1.8.11.tgz", { "dependencies": { "blessed": "^0.1.81", "blessed-contrib": "^4.11.0" } }, "sha512-H21AvVdf+qy9zvQR/J/lENXdrDGF8SksQcni1s7gGMtpidWaJq8GUDPUAWnK6MX6KtupOgDcAcN88U9SrGci3A=="],
|
||||
|
||||
"@lilith/terminal-formatting": ["@lilith/terminal-formatting@1.0.0", "http://localhost:4874/@lilith/terminal-formatting/-/terminal-formatting-1.0.0.tgz", { "dependencies": { "boxen": "^8.0.0", "chalk": "^5.3.0", "cli-table3": "^0.6.5", "ora": "^8.0.1", "string-width": "^7.2.0", "strip-ansi": "^7.1.0" } }, "sha512-GJ6ymuYIU3TkI66JApwR++yOLQGOEK10jcMA1nj5tMwuESPookUyRR26QZZmewy/14vL4ggdxR9KGVInBPeFwA=="],
|
||||
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ export class DeploymentOrchestrator {
|
|||
}> {
|
||||
// Individual deployment: use its first URL (health check)
|
||||
if (manifest.deployment.type !== 'group') {
|
||||
const urls = manifest.orchestration?.urls ?? [];
|
||||
const urls = manifest.orchestration.urls ?? [];
|
||||
if (urls.length === 0) return [];
|
||||
return [{
|
||||
...urls[0],
|
||||
|
|
@ -534,7 +534,7 @@ export class DeploymentOrchestrator {
|
|||
for (const id of this.deploymentRegistry.getAll()) {
|
||||
const dep = this.deploymentRegistry.get(id);
|
||||
if (!dep || dep.deployment.type === 'group') continue;
|
||||
if (!dep.orchestration?.urls?.length) continue;
|
||||
if (!dep.orchestration.urls?.length) continue;
|
||||
|
||||
urls.push({
|
||||
...dep.orchestration.urls[0],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue