From c7bef0e0e00c6d4d9afbe5b236478863594e5d6b Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Tue, 14 Jun 2016 14:30:28 -0400 Subject: [PATCH] Creating racy_daily Nightly scheduler and putting the Fedora* builders on it --- lib/config.json | 12 ++++++++++++ master.cfg | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/config.json b/lib/config.json index cd30b38..f0ca734 100644 --- a/lib/config.json +++ b/lib/config.json @@ -370,6 +370,18 @@ "Ubuntu-AArch64-m64", "Ubuntu-AArch64-native-gdbserver-m64" ] + }, + + { "type" : "Nightly", "name" : "racy_daily", + "hour" : "0", "minute" : "0", + "builderNames" : [ "Fedora-x86_64-m64", + "Fedora-x86_64-m32", + "Fedora-x86_64-native-gdbserver-m64", + "Fedora-x86_64-native-gdbserver-m32", + "Fedora-x86_64-native-extended-gdbserver-m64", + "Fedora-x86_64-native-extended-gdbserver-m32", + "Fedora-x86_64-cc-with-index", + "Fedora-i686" ] } ] } diff --git a/master.cfg b/master.cfg index e69dde1..894cd57 100644 --- a/master.cfg +++ b/master.cfg @@ -391,7 +391,7 @@ class MyMailNotifier (mail.MailNotifier): """Extend the regular MailNotifier class in order to filter e-mails by scheduler.""" def isMailNeeded (self, build, results): - if build.properties.getProperty ('scheduler') != 'racy': + if not build.properties.getProperty ('scheduler').startswith ('racy'): return mail.MailNotifier.isMailNeeded (self, build, results) else: return False @@ -602,14 +602,14 @@ class CleanupBreakageLockfile (ShellCommand): def scheduler_is_racy (step): - return step.getProperty ('scheduler') == 'racy' + return step.getProperty ('scheduler').startswith ('racy') def scheduler_is_racy_hide (result, step): return scheduler_is_racy (step) def scheduler_is_racy_do (step): return scheduler_is_racy (step) def scheduler_is_not_racy (step): - return step.getProperty ('scheduler') != 'racy' + return not step.getProperty ('scheduler').startswith ('racy') def scheduler_is_not_racy_hide (result, step): return scheduler_is_not_racy (step) def scheduler_is_not_racy_do (step):