From 5b83adc45d09f6a1d51d8e48e1bcf83ace0109a9 Mon Sep 17 00:00:00 2001 From: scme0 Date: Wed, 5 Nov 2025 16:17:29 +0100 Subject: [PATCH 1/2] update crd --- .../gitops-operator/crds/promotiontasks.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml index 0fc9d5c9..e8a8e3e4 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -388,6 +388,26 @@ spec: error: properties: code: + description: PromotionTaskErrorCode + enum: + - Unknown + - FailedGettingApplication + - FailedGettingPromotableProperties + - FailedGettingAppStatusForCommitSha + - FailedGettingArgoCDClient + - FailedGettingArgoCDAppClient + - FailedSyncingAppExplicitly + - FailedPushingCommitWithValues + - AlreadyFailedOrTerminated + - FailedSendingStatusToPlatform + - AppFailedToSync + - AppBecameDegraded + - FailedToSubmitWorkflow + - WorkflowFailed + - FailedToStopWorkflow + - FailedToGetWorkflowByUID + - FailedToResumeWorkflow + - FailedToUpdateTaskStatus type: string message: type: string @@ -771,6 +791,26 @@ spec: error: properties: code: + description: PromotionTaskErrorCode + enum: + - Unknown + - FailedGettingApplication + - FailedGettingPromotableProperties + - FailedGettingAppStatusForCommitSha + - FailedGettingArgoCDClient + - FailedGettingArgoCDAppClient + - FailedSyncingAppExplicitly + - FailedPushingCommitWithValues + - AlreadyFailedOrTerminated + - FailedSendingStatusToPlatform + - AppFailedToSync + - AppBecameDegraded + - FailedToSubmitWorkflow + - WorkflowFailed + - FailedToStopWorkflow + - FailedToGetWorkflowByUID + - FailedToResumeWorkflow + - FailedToUpdateTaskStatus type: string message: type: string From 78433d65a61be8fe5ba19a1aa9a99f7dd6fd6827 Mon Sep 17 00:00:00 2001 From: "codefresh-v2-pipelines[bot]" <109073600+codefresh-v2-pipelines[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 16:08:38 +0000 Subject: [PATCH 2/2] [gitops-operator]fix: add error handling for when updating promotion task on cluster fails --- charts/gitops-runtime/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/values.yaml b/charts/gitops-runtime/values.yaml index 795eb25e..e1f02aba 100644 --- a/charts/gitops-runtime/values.yaml +++ b/charts/gitops-runtime/values.yaml @@ -682,7 +682,7 @@ gitops-operator: # -- defaults registry: quay.io repository: codefresh/codefresh-gitops-operator - tag: "dba38ea" + tag: "0706ea4" env: !!merge <<: - *otel-config