Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
4b71b324
Commit
4b71b324
authored
Oct 01, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: Don't pre-append monitoring.
parent
206f662b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm_monitoring/SoftwareInstallation_hasReportedError.py
...s_crm_monitoring/SoftwareInstallation_hasReportedError.py
+2
-2
No files found.
master/bt5/slapos_crm/SkinTemplateItem/portal_skins/slapos_crm_monitoring/SoftwareInstallation_hasReportedError.py
View file @
4b71b324
...
...
@@ -30,7 +30,7 @@ if d.get("text").startswith("#building"):
return
last_contact
should_notify
=
True
ticket_title
=
"
[MONITORING]
%s is building for too long on %s"
%
(
reference
,
software_installation
.
getAggregateReference
())
ticket_title
=
"%s is building for too long on %s"
%
(
reference
,
software_installation
.
getAggregateReference
())
description
=
"The software release %s is building for mode them 12 hours on %s, started on %s"
%
\
(
software_installation
.
getUrlString
(),
software_installation
.
getAggregateTitle
(),
software_installation
.
getCreationDate
())
return
should_notify
,
ticket_title
,
description
,
last_contact
...
...
@@ -40,7 +40,7 @@ if d.get("text").startswith("#error"):
return
DateTime
(
d
.
get
(
'created_at'
))
should_notify
=
True
ticket_title
=
"
[MONITORING]
%s is failing to build on %s"
%
(
reference
,
software_installation
.
getAggregateReference
())
ticket_title
=
"%s is failing to build on %s"
%
(
reference
,
software_installation
.
getAggregateReference
())
description
=
"The software release %s is failing to build for too long on %s, started on %s"
%
\
(
software_installation
.
getUrlString
(),
software_installation
.
getAggregateTitle
(),
software_installation
.
getCreationDate
())
return
should_notify
,
ticket_title
,
description
,
last_contact
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment