You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/pipelines/templates.go
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
package pipelines
2
2
3
-
constpipelineUpdateTemplate=`Pipeline{{- if .Update.Config }} {{ .Update.Config.Name }}{{ end }}{{- if .Update.Config }} {{ .Update.Config.Id }}{{ end }} completed successfully.
3
+
constpipelineUpdateTemplate=`Update for pipeline {{- if .Update.Config }} {{ .Update.Config.Name }}{{ end }} completed successfully.{{- if .Update.Config }} Pipeline ID: {{ .Update.Config.Id }}{{ end }}
4
4
{{- if and .Update.CreationTime .LastEventTime }}
5
5
Started at {{ .Update.CreationTime | pretty_UTC_date_from_millis }} and completed at {{ .LastEventTime }}.
6
6
{{- end }}
@@ -18,12 +18,12 @@ Pipeline configurations for this update:
18
18
{{- end }}
19
19
{{- end }}
20
20
{{- if .Update.Cause }}
21
-
• Cause: {{ .Update.Cause }}
21
+
• Update cause: {{ .Update.Cause }}
22
22
{{- end }}
23
23
{{- if .Update.Config }}
24
24
{{- if .Update.Config.Serverless }}
25
25
• Serverless compute
26
-
{{- else }}
26
+
{{- else if .Update.ClusterId }}
27
27
• Classic compute: {{ .Update.ClusterId }}
28
28
{{- end }}
29
29
{{- else if .Update.ClusterId }}
@@ -34,16 +34,18 @@ Pipeline configurations for this update:
34
34
• Channel: {{ .Update.Config.Channel }}
35
35
{{- end }}
36
36
{{- if .Update.Config.Continuous }}
37
-
• {{ if .Update.Config.Continuous }}Continuous{{ else }}Triggered{{ end }}
37
+
• {{ if .Update.Config.Continuous }}Continuous{{ else }}Triggered{{ end }} pipeline
38
38
{{- end }}
39
39
{{- if .Update.Config.Development }}
40
40
• {{ if .Update.Config.Development }}Development{{ else }}Production{{ end }} mode
0 commit comments