From e550acf2ad8f99f1f235c86e18d611b544538e2e Mon Sep 17 00:00:00 2001 From: Chad Woolley Date: Sun, 16 Aug 2009 19:05:45 -0700 Subject: [PATCH] Send CI failure/fixed notifications to Rails Core mailing list, only send emails on official box. Update CI setup docs to correct hostname instructions. --- ci/ci_setup_notes.txt | 4 ++-- ci/cruise_config.rb | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ci/ci_setup_notes.txt b/ci/ci_setup_notes.txt index 780277c..7581a24 100644 --- a/ci/ci_setup_notes.txt +++ b/ci/ci_setup_notes.txt @@ -17,9 +17,9 @@ root:*:14001:0:99999:7::: * Change Hostname: $ sudo vi /etc/hostname -change to 'ci' +change to correct hostname $ sudo vi /etc/hosts -replace old hostname with 'ci' +replace old hostname with the correct hostname # reboot to use new hostname (and test reboot) $ sudo shutdown -r now diff --git a/ci/cruise_config.rb b/ci/cruise_config.rb index 2247a1b..4b774d6 100644 --- a/ci/cruise_config.rb +++ b/ci/cruise_config.rb @@ -1,6 +1,10 @@ Project.configure do |project| + + # Send email notifications about broken and fixed builds to core mailing list + project.email_notifier.emails = ['rubyonrails-core@googlegroups.com'] if Socket.gethostname =~ /ci.rubyonrails.org/ + # If the build goes haywire and starts spamming the core list, uncomment the following line: + # project.email_notifier.emails = ['thewoolleyman@gmail.com'] + project.build_command = 'sudo update_rubygems && ruby ci/ci_build.rb' - project.email_notifier.emails = ['thewoolleyman@gmail.com'] -# project.email_notifier.emails = ['thewoolleyman@gmail.com','michael@koziarski.com', 'david@loudthinking.com', 'jeremy@bitsweat.net', 'josh@joshpeek.com', 'pratiknaik@gmail.com', 'wycats@gmail.com'] project.email_notifier.from = 'thewoolleyman+railsci@gmail.com' end -- 1.6.3.3