-
Notifications
You must be signed in to change notification settings - Fork 237
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
feat: add until
parameter to grafana_oncall_on_call_shift
resource
#1830
Conversation
In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the contribution @maltelehmann, just one small question on one of the tests.
name = "%s" | ||
type = "recurrent_event" | ||
start = "2020-09-04T16:00:00" | ||
start = "2020-10-04T16:00:00" | ||
duration = 3600 | ||
level = 1 | ||
frequency = "weekly" | ||
week_start = "SU" | ||
interval = 2 | ||
by_day = ["MO", "FR"] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume until
should be added here?
until
parameter to grafana_oncall_on_call_shift resourceuntil
parameter to grafana_oncall_on_call_shift
resource
thanks for the contribution @maltelehmann we'll try and cut a v3.9.0 release next week! |
@joeyorlando thank you very much for your swift responses and your feedback :) |
Manual tests:
Creating shift with
until
recurrent
shift ends onuntil
date (biweekly recurring shift):Update
until
of existing shiftShifts ends later (biweekly recurring shift):
Update remove
until
Shift does not end anymore:
single_event
withuntil
is not applied