Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
masayag committed Feb 6, 2024
1 parent a2778c8 commit 2a27ebf
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -189,13 +189,17 @@ spec:
condition: .backstageUserOrGroup != null
functionRef:
arguments:
message: '"<a href=\"" + $SECRET.mta_url+ "/hub/applications/" + (.application.id|tostring)+ "/bucket/" + .data.output + "\">MTA Analysis Rerport</a>"'
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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2a27ebf

Please sign in to comment.