Skip to content

Commit

Permalink
Run tests in cloud instance
Browse files Browse the repository at this point in the history
  • Loading branch information
julienduchesne committed Nov 1, 2023
1 parent 8ed8ccd commit 3d72d7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/resources/contact_point.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Optional:
- `disable_resolve_message` (Boolean) Whether to disable sending resolve messages. Defaults to `false`.
- `message` (String) The templated content of the message.
- `override_priority` (Boolean) Whether to allow the alert priority to be configured via the value of the `og_priority` annotation on the alert.
- `responders` (Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. (see [below for nested schema](#nestedblock--opsgenie--responders))
- `responders` (Block List) Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+. (see [below for nested schema](#nestedblock--opsgenie--responders))
- `send_tags_as` (String) Whether to send annotations to OpsGenie as Tags, Details, or both. Supported values are `tags`, `details`, `both`, or empty to use the default behavior of Tags.
- `settings` (Map of String, Sensitive) Additional custom properties to attach to the notifier. Defaults to `map[]`.
- `url` (String) Allows customization of the OpsGenie API URL.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ func (o opsGenieNotifier) schema() *schema.Resource {
r.Schema["responders"] = &schema.Schema{
Type: schema.TypeList,
Optional: true,
Description: "Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team.",
Description: "Teams, users, escalations and schedules that the alert will be routed to send notifications. If the API Key belongs to a team integration, this field will be overwritten with the owner team. This feature is available from Grafana 10.3+.",
Elem: &schema.Resource{
Description: "Defines a responder. Either id, name or username must be specified",
Schema: map[string]*schema.Schema{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,7 @@ func TestAccContactPoint_notifiers10_2(t *testing.T) {
}

func TestAccContactPoint_notifiers10_3(t *testing.T) {
testutils.CheckOSSTestsEnabled(t)
testutils.CheckOSSTestsSemver(t, ">=10.3.0")
testutils.CheckCloudInstanceTestsEnabled(t) // TODO: Switch to `testutils.CheckOSSTestsEnabled(t, ">=10.3.0")` once 10.3 is released.

var points []gapi.ContactPoint

Expand Down

0 comments on commit 3d72d7a

Please sign in to comment.