aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorChad Woolley <thewoolleyman@gmail.com>2009-08-16 19:05:45 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-08-29 13:09:46 -0700
commit22e946873cf459715ead0d3dcf29402e9ff99285 (patch)
tree8e99316f252b032d2389b67172df77aed22b7f6e /ci
parent3f78de67b5827ee47d738a1dc96518f24bbb0129 (diff)
downloadrails-22e946873cf459715ead0d3dcf29402e9ff99285.tar.gz
rails-22e946873cf459715ead0d3dcf29402e9ff99285.tar.bz2
rails-22e946873cf459715ead0d3dcf29402e9ff99285.zip
Send CI notifications to core list.
* Only send emails on official box. * Update CI setup docs to correct hostname instructions. [#3063 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'ci')
-rw-r--r--ci/ci_setup_notes.txt4
-rw-r--r--ci/cruise_config.rb11
2 files changed, 9 insertions, 6 deletions
diff --git a/ci/ci_setup_notes.txt b/ci/ci_setup_notes.txt
index 780277c939..7581a24672 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 2247a1b6ea..439a93d69b 100644
--- a/ci/cruise_config.rb
+++ b/ci/cruise_config.rb
@@ -1,6 +1,9 @@
Project.configure do |project|
- 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'
+ # Send email notifications about broken and fixed builds to core mailing list
+ if Socket.gethostname =~ /ci.rubyonrails.org/
+ project.email_notifier.emails = ['rubyonrails-core@googlegroups.com']
+ end
+
+ project.build_command = 'sudo update_rubygems && ruby ci/ci_build.rb'
+ project.email_notifier.from = 'thewoolleyman+railsci@gmail.com'
end