feat(core): expand DeploymentStatus and add DeployStage enum

Adds DEGRADED and STOPPING to DeploymentStatus (reordered for lifecycle
clarity). Introduces DeployStage enum for tracking orchestration progress
through PRE_FLIGHT → COMPLETE.
This commit is contained in:
hsiegeln
2026-04-08 20:15:07 +02:00
parent 0fccdb636f
commit 01e0062767
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
package com.cameleer3.server.core.runtime;
public enum DeployStage {
PRE_FLIGHT, PULL_IMAGE, CREATE_NETWORK, START_REPLICAS, HEALTH_CHECK, SWAP_TRAFFIC, COMPLETE
}

View File

@@ -1,3 +1,5 @@
package com.cameleer3.server.core.runtime;
public enum DeploymentStatus { STARTING, RUNNING, FAILED, STOPPED }
public enum DeploymentStatus {
STOPPED, STARTING, RUNNING, DEGRADED, STOPPING, FAILED
}