CI config updates: do not send CI emails unless explicitly enabled, use 'gem update --system', and send emails from an address which can post to the core list
[#3116 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
This commit is contained in:
parent
22e946873c
commit
d8e7ff12a8
|
@ -1,9 +1,9 @@
|
|||
Project.configure do |project|
|
||||
# Send email notifications about broken and fixed builds to core mailing list
|
||||
if Socket.gethostname =~ /ci.rubyonrails.org/
|
||||
if Socket.gethostname =~ /ci.rubyonrails.org/ && ENV['ENABLE_RAILS_CI_EMAILS'] == 'true'
|
||||
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'
|
||||
project.build_command = 'sudo gem update --system && ruby ci/ci_build.rb'
|
||||
project.email_notifier.from = 'thewoolleyman@gmail.com'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue