Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
81fa763d
Commit
81fa763d
authored
Sep 18, 2019
by
Guilhem Saurel
Browse files
stop sending mails… logs are sent anyway via cron
parent
77f66d5f
Pipeline
#5731
failed with stage
in 1 minute and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
81fa763d
...
...
@@ -5,7 +5,6 @@ import time
from
subprocess
import
check_output
from
django.conf
import
settings
from
django.core.mail
import
mail_admins
from
django.db
import
models
from
django.db.models
import
Q
from
django.db.models.functions
import
Length
...
...
@@ -596,9 +595,7 @@ class Repo(TimeStampedModel):
if
image
.
allow_failure
and
GITLAB_STATUS
[
data
[
'status'
]]:
image
.
allow_failure
=
False
image
.
save
()
mail_admins
(
'Success !'
,
'allow_failure est devenu inutile sur '
+
data
[
'web_url'
])
print
(
' success'
,
data
[
'web_url'
])
time
.
sleep
(
2
)
def
get_builds_github
(
self
):
if
self
.
travis_id
is
not
None
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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