-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #223 from Altinity/make_release_2.0.2
Make release 2.0.2
- Loading branch information
Showing
16 changed files
with
369 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[bumpversion] | ||
commit = True | ||
tag = False | ||
current_version = 2.0.2 | ||
|
||
[bumpversion:file:package.json] | ||
|
||
[bumpversion:file:src/plugin.json] | ||
|
||
[bumpversion:file:dist/plugin.json] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ npm-debug.log | |
yarn.lock | ||
package-lock.json | ||
.cache | ||
.release_env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 131 additions & 0 deletions
131
docker/grafana/dashboards/datetime_table_dashboard.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": "-- Grafana --", | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
} | ||
] | ||
}, | ||
"editable": true, | ||
"gnetId": null, | ||
"graphTooltip": 0, | ||
"id": 5, | ||
"links": [], | ||
"panels": [ | ||
{ | ||
"datasource": "clickhouse", | ||
"description": "", | ||
"fieldConfig": { | ||
"defaults": { | ||
"custom": { | ||
"align": null | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [ | ||
{ | ||
"matcher": { | ||
"id": "byName", | ||
"options": "s" | ||
}, | ||
"properties": [ | ||
{ | ||
"id": "decimals", | ||
"value": 3 | ||
} | ||
] | ||
}, | ||
{ | ||
"matcher": { | ||
"id": "byName", | ||
"options": "t_local" | ||
}, | ||
"properties": [ | ||
{ | ||
"id": "unit", | ||
"value": "time: YYYY-MM-DD HH:mm:ss" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"gridPos": { | ||
"h": 9, | ||
"w": 12, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 2, | ||
"options": { | ||
"frameIndex": 1, | ||
"showHeader": true, | ||
"sortBy": [ | ||
{ | ||
"desc": false, | ||
"displayName": "t" | ||
} | ||
] | ||
}, | ||
"pluginVersion": "7.0.5", | ||
"targets": [ | ||
{ | ||
"database": "default", | ||
"dateColDataType": "", | ||
"dateLoading": false, | ||
"dateTimeColDataType": "event_time", | ||
"dateTimeType": "DATETIME", | ||
"datetimeLoading": false, | ||
"extrapolate": true, | ||
"format": "table", | ||
"formattedQuery": "SELECT $timeSeries as t, count() FROM $table WHERE $timeFilter GROUP BY t ORDER BY t", | ||
"interval": "", | ||
"intervalFactor": 1, | ||
"query": "SELECT\n toUInt64(event_time)*1000 as t_local,\n event_time as t_orig,\n count() c,\n sum(too_big_value) s\nFROM $table\nWHERE $timeFilter\nGROUP BY t_local, t_orig\nORDER BY t_local", | ||
"rawQuery": "SELECT toUInt64(event_time)*1000 as t_local, event_time as t_orig, count() c, sum(too_big_value) s FROM default.test_grafana WHERE event_time >= toDateTime(1593417149) GROUP BY t_local, t_orig ORDER BY t_local", | ||
"refId": "A", | ||
"round": "0s", | ||
"table": "test_grafana", | ||
"tableLoading": false | ||
} | ||
], | ||
"timeFrom": null, | ||
"timeShift": null, | ||
"title": "Table DateTime", | ||
"type": "table" | ||
} | ||
], | ||
"schemaVersion": 25, | ||
"style": "dark", | ||
"tags": [], | ||
"templating": { | ||
"list": [] | ||
}, | ||
"time": { | ||
"from": "now-7d", | ||
"to": "now" | ||
}, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "datetime table dashboard", | ||
"uid": "bwewNfGGz", | ||
"version": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
set -xeuo pipefail | ||
if [[ $# -lt 1 ]]; then | ||
echo "release.sh [major|minor|patch]" | ||
exit 1 | ||
fi | ||
if [[ $OSTYPE == *linux* ]]; then | ||
echo 1 > /proc/sys/vm/drop_caches | ||
fi | ||
source .release_env | ||
git config core.eol lf | ||
git config core.autocrlf input | ||
git config user.name "$GITHUB_LOGIN" | ||
git config user.email "$GITHUB_EMAIL" | ||
docker-compose stop | ||
docker-compose run frontend_builder | ||
docker-compose run backend_builder | ||
dos2unix ./dist/* | ||
git add . | ||
git commit -m "prepare to new release, $(grep current_version .bumpversion.cfg)" | ||
bump2version --verbose $1 | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters