Commit 81fa763d authored by Guilhem Saurel's avatar 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
......@@ -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
mail_admins('Success !', 'allow_failure est devenu inutile sur ' + data['web_url'])
print(' success', data['web_url'])
def get_builds_github(self):
if self.travis_id is not None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment