-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Pedro Rodrigues <[email protected]>
- Loading branch information
1 parent
ac29ffe
commit e1963a0
Showing
8 changed files
with
160 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,22 +27,20 @@ schedules_mapping: | |
# User group name in Slack to be updated based on the OpsGenie schedule. | ||
user_group_name: '' | ||
|
||
# Optional | ||
# Overrides OpsGenie schedules based on the given conditions. | ||
# Optional. Overrides OpsGenie schedules based on the given config. | ||
overrides: | ||
# Email of the user that's on-call should be equal to the given value. | ||
- when_user: '' | ||
# Current time (in the given timezone) must be within the given time range. | ||
# Format: HH:MM:SS. | ||
from_time: '' | ||
to_time: '' | ||
with_timezone: '' | ||
# Days that should be considered to override. | ||
# Possible values: | ||
# Email of the user that's on-call. | ||
- user_email: '' | ||
# Current time (in the given timezone) must be within the given time range. Format: HH:MM:SS. | ||
timezone: '' | ||
starts_on: '' | ||
ends_on: '' | ||
# Optional. Defaults to all_days. | ||
# Days that should be considered to override. Possible values: | ||
# - all_days | ||
# - weekdays | ||
# - weekends | ||
on: '' | ||
repeats_on: '' | ||
# Update the user group in Slack with the given users instead of the one that's on-call. | ||
replace_by: | ||
- '' | ||
|
@@ -60,11 +58,11 @@ schedules_mapping: | |
- schedule_name: sre | ||
user_group_name: 'sre-oncall' | ||
overrides: | ||
- when_user: [email protected] | ||
from_time: '23:00:00' | ||
to_time: '01:00:00' | ||
with_timezone: 'America/Fortaleza' | ||
on: weekdays | ||
- user_email: [email protected] | ||
timezone: 'America/Fortaleza' | ||
starts_on: '23:00:00' | ||
ends_on: '01:00:00' | ||
repeats_on: weekdays | ||
replace_by: | ||
- [email protected] | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters