From c13ff0505f989cdd733806117288bc4a63400d36 Mon Sep 17 00:00:00 2001 From: scme0 Date: Fri, 3 Oct 2025 09:01:47 +0200 Subject: [PATCH 1/3] promotion task crd changes --- .../gitops-operator/crds/promotiontasks.yaml | 12 ++++++++++++ 1 file changed, 12 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 112edc12..39aaf27c 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -82,6 +82,16 @@ spec: minLength: 7 pattern: ^[A-Fa-f0-9]+$ type: string + committerInfo: + properties: + email: + type: string + username: + type: string + required: + - email + - username + type: object promotionProperties: items: properties: @@ -393,6 +403,8 @@ spec: type: string getPromotionValues: properties: + committerAvatarUrl: + type: string phase: description: GetPromotionValuesStatusPhase enum: From dcc469d0af1f7528ab7989db39e55a9658026ceb Mon Sep 17 00:00:00 2001 From: scme0 Date: Fri, 3 Oct 2025 12:01:02 +0200 Subject: [PATCH 2/3] update promotiontask crd yaml --- .../gitops-operator/crds/promotiontasks.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 39aaf27c..c0f31bd0 100644 --- a/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml +++ b/charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml @@ -77,12 +77,7 @@ spec: properties: getPromotionValues: properties: - commitSha: - maxLength: 40 - minLength: 7 - pattern: ^[A-Fa-f0-9]+$ - type: string - committerInfo: + commitAuthorId: properties: email: type: string @@ -92,6 +87,11 @@ spec: - email - username type: object + commitSha: + maxLength: 40 + minLength: 7 + pattern: ^[A-Fa-f0-9]+$ + type: string promotionProperties: items: properties: @@ -403,7 +403,7 @@ spec: type: string getPromotionValues: properties: - committerAvatarUrl: + commitAuthorAvatarUrl: type: string phase: description: GetPromotionValuesStatusPhase From 0e964694086cfe3f4a44769a08784c230d757dec Mon Sep 17 00:00:00 2001 From: "codefresh-v2-pipelines[bot]" <109073600+codefresh-v2-pipelines[bot]@users.noreply.github.com> Date: Tue, 7 Oct 2025 08:42:05 +0000 Subject: [PATCH 3/3] [gitops-operator]feat: get commit author avatar url on getPromotionValues step --- 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 a582ac96..7adcb670 100644 --- a/charts/gitops-runtime/values.yaml +++ b/charts/gitops-runtime/values.yaml @@ -728,7 +728,7 @@ gitops-operator: # -- defaults registry: quay.io repository: codefresh/codefresh-gitops-operator - tag: 266564a + tag: a1316ff env: GITOPS_OPERATOR_VERSION: 0.11.1 serviceAccount: