Files
git.stella-ops.org/docs/features/unchecked/releaseorchestrator/deployment-execution-to-non-k8s-targets.md

2.1 KiB

Deployment Execution to Non-K8s Targets

Module

ReleaseOrchestrator

Status

IMPLEMENTED

Description

Deployment orchestration with manifest generation and artifact creation for non-Kubernetes targets is implemented.

Implementation Details

  • Modules: src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/, src/ReleaseOrchestrator/__Agents/
  • Key Classes:
    • DeployOrchestrator (src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Orchestrator/DeployOrchestrator.cs) - deployment orchestration to non-K8s targets
    • AgentDispatcher (src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Executor/AgentDispatcher.cs) - dispatches deployment tasks to agents
    • TargetExecutor (src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Executor/TargetExecutor.cs) - executes deployments on specific targets
    • TaskResultCollector (src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Executor/TaskResultCollector.cs) - collects deployment task results
    • RollingDeploymentStrategy (src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Orchestrator/RollingDeploymentStrategy.cs) - rolling deployment strategy
    • CanaryDeploymentStrategy (src/ReleaseOrchestrator/__Libraries/StellaOps.ReleaseOrchestrator.Deployment/Orchestrator/RollingDeploymentStrategy.cs) - canary deployment strategy
  • Agents: Docker, Compose, ECS, Nomad, SSH, WinRM (src/ReleaseOrchestrator/__Agents/StellaOps.Agent.*/)
  • Interfaces: IDeployOrchestrator, IDeploymentStrategy, ITargetExecutor
  • Source: Feature matrix scan

E2E Test Plan

  • Deploy to a Docker target via DeployOrchestrator and verify containers are running
  • Deploy to a Compose target and verify the stack is up
  • Verify rolling deployment: deploy with rolling strategy and confirm batch progression
  • Verify AgentDispatcher dispatches tasks to the correct agent based on target type
  • Verify TaskResultCollector aggregates results from multiple deployment tasks