From 73a5704657e8ddf93de11715a6476c8350917a6f Mon Sep 17 00:00:00 2001 From: Gianluca Mardente Date: Mon, 12 Oct 2026 19:26:54 +0200 Subject: [PATCH] feat: Add ClusterPromotion event constants --- lib/eventreasons/eventreasons.go | 3 +++ lib/eventreasons/eventreasons_test.go | 1 + 2 files changed, 4 insertions(+) diff --git a/lib/eventreasons/eventreasons.go b/lib/eventreasons/eventreasons.go index b2e885a..3dcfcd9 100644 --- a/lib/eventreasons/eventreasons.go +++ b/lib/eventreasons/eventreasons.go @@ -144,6 +144,9 @@ const ( const ( // StageStarted is used, with a Normal event, when a stage of a promotion started. StageStarted = "StageStarted" + // StageProvisioned is used, with a Normal event, when a stage of a promotion is deployed to + // all its clusters. + StageProvisioned = "StageProvisioned" // PromotionCompleted is used, with a Normal event, when all the stages of a promotion // completed. PromotionCompleted = "PromotionCompleted" diff --git a/lib/eventreasons/eventreasons_test.go b/lib/eventreasons/eventreasons_test.go index f5782fe..49477e9 100644 --- a/lib/eventreasons/eventreasons_test.go +++ b/lib/eventreasons/eventreasons_test.go @@ -58,6 +58,7 @@ func allReasons() []string { eventreasons.AccessRequestFailed, eventreasons.RoleRequestFailed, eventreasons.StageStarted, + eventreasons.StageProvisioned, eventreasons.PromotionCompleted, eventreasons.StageFailed, eventreasons.ApprovalRequired,