Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make notifications configurable #557

Merged
merged 1 commit into from
Mar 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
- rvm: 2.4.4
env: PUPPET_VERSION="~> 5.0" CHECK=build DEPLOY_TO_FORGE=yes
bundler_args: --without system_tests development release
email: false
irc:
on_success: always
on_failure: always
channels:
- "chat.freenode.org#voxpupuli-notifications"
user: puppet
Gemfile:
required:
Expand Down
12 changes: 8 additions & 4 deletions moduleroot/.travis.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,16 @@ branches:
- master
- /^v\d/
notifications:
email: false
email: <%= @configs['email'] %>
<% if @configs['irc'] -%>
irc:
on_success: always
on_failure: always
on_success: <%= @configs['irc']['on_success'] %>
on_failure: <%= @configs['irc']['on_failure'] %>
channels:
- "chat.freenode.org#voxpupuli-notifications"
<% @configs['irc']['channels'].each do |channel| -%>
- "<%= channel %>"
<% end -%>
<% end -%>
deploy:
provider: puppetforge
user: <%= @configs['user'] %>
Expand Down