File tree 6 files changed +34
-33
lines changed
6 files changed +34
-33
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ kind : pipeline
3
+ type : docker
4
+ name : test-pr
5
+
6
+ platform :
7
+ os : linux
8
+ arch : amd64
9
+
10
+ steps :
11
+
12
+ - name : tests
13
+ image : golang:1.16
14
+ commands :
15
+ - make vet
16
+ - make test
17
+ - make testacc
18
+ environment :
19
+ GRAFANA_URL : http://grafana:3000
20
+ GRAFANA_AUTH : admin:admin
21
+ GRAFANA_ORG_ID : 1
22
+
23
+ services :
24
+ - name : grafana
25
+ image : grafana/grafana:7.4.2
26
+
27
+ trigger :
28
+ event :
29
+ - pull_request
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
5
5
# Terraform Provider for Grafana
6
6
7
+ [ ![ Build Status] ( https://drone.grafana.net/api/badges/grafana/terraform-provider-grafana/status.svg )] ( https://drone.grafana.net/grafana/terraform-provider-grafana )
8
+
7
9
- Terraform website: https://terraform.io
8
10
- Grafana website: https://grafana.com
9
11
- Provider Documentation: https://registry.terraform.io/providers/grafana/grafana/latest/docs
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3.8'
2
2
3
3
services :
4
4
grafana-provider :
5
- image : golang:1.14
5
+ image : golang:1.16
6
6
environment :
7
7
- GRAFANA_URL=http://grafana:3000
8
8
- GRAFANA_AUTH=admin:admin
Original file line number Diff line number Diff line change 1
1
module github.com/terraform-providers/terraform-provider-grafana
2
2
3
- go 1.14
3
+ go 1.16
4
4
5
5
require (
6
6
github.com/grafana/grafana-api-golang-client v0.0.0-20210204123314-0aa501c4b8c4
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ func TestAccAlertNotification_invalid_frequence(t *testing.T) {
95
95
CheckDestroy : testAccAlertNotificationCheckDestroy (& alertNotification ),
96
96
Steps : []resource.TestStep {
97
97
{
98
- ExpectError : regexp .MustCompile ("time: invalid duration hi " ),
98
+ ExpectError : regexp .MustCompile ("time: invalid duration \" hi \" " ),
99
99
Config : testAccAlertNotificationConfig_invalid_frequency ,
100
100
},
101
101
},
You can’t perform that action at this time.
0 commit comments