Skip to content

Commit

Permalink
Send CI notifications to core list.
Browse files Browse the repository at this point in the history
 * 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>
  • Loading branch information
thewoolleyman authored and jeremy committed Aug 29, 2009
1 parent 3f78de6 commit 22e9468
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ci/ci_setup_notes.txt
Expand Up @@ -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

Expand Down
11 changes: 7 additions & 4 deletions 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

0 comments on commit 22e9468

Please sign in to comment.