Skip to content

Commit

Permalink
Merge remote-tracking branch 'grafana/master' into more-panel-props
Browse files Browse the repository at this point in the history
* grafana/master:
  Docs: minor docs update for old urls
  Chore: Add more explicit typing (grafana#16594)
  Chore: Lowered implicit anys limit to 5977
  Chore: Adds typings to lodash (grafana#16590)
  PanelEditor: Change Queries heading to Query (grafana#16536)
  Security: Store datasource passwords encrypted in secureJsonData (grafana#16175)
  More development dashboards (grafana#16550)
  build: upgrades to golang 1.12.4 (grafana#16545)
  Use package libfontconfig1, instead of libfontconfig (grafana#16548)
  Adjust Send on all alerts to default label (grafana#16554)
  Chore: Lower limit of implicit anys to 6676
  • Loading branch information
ryantxu committed Apr 15, 2019
2 parents 205db96 + d4bb92a commit 5722714
Show file tree
Hide file tree
Showing 162 changed files with 4,960 additions and 1,011 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ version: 2
jobs:
mysql-integration-test:
docker:
- image: circleci/golang:1.11.5
- image: circleci/golang:1.12.4
- image: circleci/mysql:5.6-ram
environment:
MYSQL_ROOT_PASSWORD: rootpass
Expand All @@ -39,7 +39,7 @@ jobs:

postgres-integration-test:
docker:
- image: circleci/golang:1.11.5
- image: circleci/golang:1.12.4
- image: circleci/postgres:9.3-ram
environment:
POSTGRES_USER: grafanatest
Expand All @@ -58,7 +58,7 @@ jobs:

cache-server-test:
docker:
- image: circleci/golang:1.11.5
- image: circleci/golang:1.12.4
- image: circleci/redis:4-alpine
- image: memcached
working_directory: /go/src/github.com/grafana/grafana
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:

backend-lint:
docker:
- image: circleci/golang:1.11.5
- image: circleci/golang:1.12.4
environment:
# we need CGO because of go-sqlite3
CGO_ENABLED: 1
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:

test-backend:
docker:
- image: circleci/golang:1.11.5
- image: circleci/golang:1.12.4
working_directory: /go/src/github.com/grafana/grafana
steps:
- checkout
Expand All @@ -130,7 +130,7 @@ jobs:

build-all:
docker:
- image: grafana/build-container:1.2.4
- image: grafana/build-container:1.2.6
working_directory: /go/src/github.com/grafana/grafana
steps:
- checkout
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:

build:
docker:
- image: grafana/build-container:1.2.4
- image: grafana/build-container:1.2.6
working_directory: /go/src/github.com/grafana/grafana
steps:
- checkout
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:

build-enterprise:
docker:
- image: grafana/build-container:1.2.4
- image: grafana/build-container:1.2.6
working_directory: /go/src/github.com/grafana/grafana
steps:
- checkout
Expand Down Expand Up @@ -275,7 +275,7 @@ jobs:

build-all-enterprise:
docker:
- image: grafana/build-container:1.2.4
- image: grafana/build-container:1.2.6
working_directory: /go/src/github.com/grafana/grafana
steps:
- checkout
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Golang build container
FROM golang:1.11.5
FROM golang:1.12.4

WORKDIR $GOPATH/src/github.com/grafana/grafana

Expand Down Expand Up @@ -53,7 +53,7 @@ ENV PATH=/usr/share/grafana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bi
WORKDIR $GF_PATHS_HOME

RUN apt-get update && apt-get upgrade -y && \
apt-get install -qq -y libfontconfig ca-certificates && \
apt-get install -qq -y libfontconfig1 ca-certificates && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func createDebPackages() {
defaultFileSrc: "packaging/deb/default/grafana-server",
systemdFileSrc: "packaging/deb/systemd/grafana-server.service",

depends: []string{"adduser", "libfontconfig"},
depends: []string{"adduser", "libfontconfig1"},
})
}

Expand Down
2 changes: 1 addition & 1 deletion devenv/dashboards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ providers:
- name: 'gdev dashboards'
folder: 'gdev dashboards'
type: file
updateIntervalSeconds: 15
updateIntervalSeconds: 60
options:
path: devenv/dev-dashboards
9 changes: 6 additions & 3 deletions devenv/datasources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ datasources:
access: proxy
database: site
user: grafana
password: grafana
url: http://localhost:8086
jsonData:
timeInterval: "15s"
secureJsonData:
password: grafana

- name: gdev-opentsdb
type: opentsdb
Expand Down Expand Up @@ -110,14 +111,16 @@ datasources:
url: localhost:3306
database: grafana
user: grafana
password: password
secureJsonData:
password: password

- name: gdev-mysql-ds-tests
type: mysql
url: localhost:3306
database: grafana_ds_tests
user: grafana
password: password
secureJsonData:
password: password

- name: gdev-mssql
type: mssql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,11 @@
"conditions": [
{
"evaluator": {
"params": [
60
],
"params": [60],
"type": "gt"
},
"query": {
"params": [
"A",
"5m",
"now"
]
"params": ["A", "5m", "now"]
},
"reducer": {
"params": [],
Expand Down Expand Up @@ -149,17 +143,11 @@
"conditions": [
{
"evaluator": {
"params": [
177
],
"params": [177],
"type": "gt"
},
"query": {
"params": [
"A",
"5m",
"now"
]
"params": ["A", "5m", "now"]
},
"reducer": {
"params": [],
Expand Down Expand Up @@ -278,20 +266,14 @@
"conditions": [
{
"evaluator": {
"params": [
1
],
"params": [1],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"15m",
"now"
]
"params": ["A", "15m", "now"]
},
"reducer": {
"params": [],
Expand Down Expand Up @@ -409,20 +391,14 @@
"conditions": [
{
"evaluator": {
"params": [
177
],
"params": [177],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"15m",
"now"
]
"params": ["A", "15m", "now"]
},
"reducer": {
"params": [],
Expand Down Expand Up @@ -540,20 +516,14 @@
"conditions": [
{
"evaluator": {
"params": [
100
],
"params": [100],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
"params": ["A", "5m", "now"]
},
"reducer": {
"params": [],
Expand Down Expand Up @@ -670,9 +640,7 @@
"revision": 2,
"schemaVersion": 16,
"style": "dark",
"tags": [
"grafana-test"
],
"tags": ["gdev", "alerting"],
"templating": {
"list": []
},
Expand All @@ -681,32 +649,11 @@
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
"refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
"time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
},
"timezone": "browser",
"title": "Alerting with TestData",
"uid": "7MeksYbmk",
"version": 7
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
"links": [
{
"icon": "external link",
"tags": [
"gdev",
"elasticsearch"
],
"tags": ["gdev", "elasticsearch", "datasource-test"],
"type": "dashboards"
}
],
Expand Down Expand Up @@ -1824,13 +1821,7 @@
"id": "1",
"meta": {},
"settings": {
"percents": [
25,
50,
75,
95,
99
]
"percents": [25, 50, 75, 95, 99]
},
"type": "percentiles"
}
Expand Down Expand Up @@ -1941,13 +1932,7 @@
"meta": {},
"settings": {
"missing": null,
"percents": [
25,
50,
75,
95,
99
]
"percents": [25, 50, 75, 95, 99]
},
"type": "percentiles"
}
Expand Down Expand Up @@ -5858,10 +5843,7 @@
"refresh": false,
"schemaVersion": 16,
"style": "dark",
"tags": [
"gdev",
"elasticsearch"
],
"tags": ["gdev", "elasticsearch"],
"templating": {
"list": [
{
Expand Down Expand Up @@ -5901,32 +5883,11 @@
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
"refresh_intervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
"time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
},
"timezone": "",
"title": "Datasource tests - Elasticsearch comparison",
"uid": "fuFWehBmk",
"version": 4
}
}
Loading

0 comments on commit 5722714

Please sign in to comment.