Skip to content

grafana_oncall_user_notification_rule: Remove hardcoded user in test #1671

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

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

julienduchesne
Copy link
Contributor

@julienduchesne julienduchesne commented Jul 9, 2024

To do so, I added a new datasource that lists the oncall users. We can use that datasource to grab the first user and use them for tests

I also converted the current _user datasource to the new plugin framework while I was at it (structure and code is mostly the same as the _users datasource I just added)

To do so, I added a new datasource that lists the oncall users. We can use that datasource to grab the first user and use them for tests
I also converted the current `_user` resource to the new plugin framework while I was at it
@julienduchesne julienduchesne requested a review from a team as a code owner July 9, 2024 18:57
@julienduchesne julienduchesne requested a review from a team July 9, 2024 18:57
Copy link

github-actions bot commented Jul 9, 2024

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@julienduchesne julienduchesne merged commit 07d2b91 into main Jul 9, 2024
26 of 27 checks passed
@julienduchesne julienduchesne deleted the julienduchesne/grafana-oncall-hardcoded branch July 9, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants