From 2a27ebf8b80783129da37aedc5aee1cd800a582c Mon Sep 17 00:00:00 2001 From: Moti Date: Tue, 6 Feb 2024 18:37:29 +0000 Subject: [PATCH] Automated PR from https://github.com/parodos-dev/serverless-workflows/pull/99 --- .../mta/templates/01-sonataflow_mtaanalysis.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/workflows/charts/mta/templates/01-sonataflow_mtaanalysis.yaml b/charts/workflows/charts/mta/templates/01-sonataflow_mtaanalysis.yaml index d0fa6f17..5b204ff5 100755 --- a/charts/workflows/charts/mta/templates/01-sonataflow_mtaanalysis.yaml +++ b/charts/workflows/charts/mta/templates/01-sonataflow_mtaanalysis.yaml @@ -2,7 +2,7 @@ apiVersion: sonataflow.org/v1alpha08 kind: SonataFlow metadata: annotations: - sonataflow.org/description: "" + sonataflow.org/description: Workflow to execute MTA Analysis sonataflow.org/expressionLang: jq sonataflow.org/version: "1.0" creationTimestamp: null @@ -189,13 +189,17 @@ spec: condition: .backstageUserOrGroup != null functionRef: arguments: - message: '"MTA Analysis Rerport"' + actions: + - title: View report + url: $SECRET.mta_url + "/hub/applications/" + (.application.id|tostring) + "/bucket/" + .data.output + message: '"MTA analysis is completed and the report for " + .application.repository.url + " is ready."' origin: MTA Analysis Workflow targetGroups: - .backstageUserOrGroup targetUsers: - .backstageUserOrGroup - title: '"MTA analysis report for " + .application.repository.url' + title: MTA analysis completed + topic: MTA Analysis Workflow invoke: sync refName: createNotification name: NotifyBackstage @@ -224,7 +228,7 @@ spec: podTemplate: container: resources: {} - image: quay.io/orchestrator/serverless-workflow-mta:6d54d44a0c036a2924de61347d7ae0f7f59c7e43 + image: quay.io/orchestrator/serverless-workflow-mta:1638fd1e6996def34363c3c95930e611238b7c67 resources: configMaps: - configMap: