Commit ebdb398f authored by Konstantin Kulikov's avatar Konstantin Kulikov Committed by Leo
Browse files

community/grafana: upgrade to 8.2.1

parent 8e27528b
......@@ -4,10 +4,10 @@
# Keep in sync with grafana-frontend.
pkgname=grafana
pkgver=8.1.7
pkgver=8.2.1
pkgrel=0
_commit=34b8880d53 # git rev-parse --short HEAD
_stamp=1633525452 # git --no-pager show -s --format=%ct
_commit=88622d7f09 # git rev-parse --short HEAD
_stamp=1633944917 # git --no-pager show -s --format=%ct
pkgdesc="Open source, feature rich metrics dashboard and graph editor"
url="https://grafana.com"
arch="all !s390x !mips64" # tests fail https://github.com/grafana/grafana/issues/26390
......@@ -38,9 +38,12 @@ export GOFLAGS="$GOFLAGS -modcacherw"
# - CVE-2019-15043
build() {
GOBIN="$(pwd)" go install github.com/google/wire/cmd/wire@v0.5.0
./wire gen -tags oss ./pkg/server
local ldflags="-X main.version=$pkgver -X main.commit=$_commit -X main.buildstamp=$_stamp"
go build -ldflags "$ldflags" -v github.com/grafana/grafana/pkg/cmd/grafana-server
go build -ldflags "$ldflags" -v github.com/grafana/grafana/pkg/cmd/grafana-cli
go build -ldflags "$ldflags" -v ./pkg/cmd/grafana-server
go build -ldflags "$ldflags" -v ./pkg/cmd/grafana-cli
}
......@@ -49,7 +52,7 @@ check() {
case "$CARCH" in
# https://github.com/grafana/grafana/issues/26389
x86|armv7|armhf) pkgs="$(go list ./... | grep -Ev '(pkg/components/gtime$)')" ;;
x86|armv7|armhf) pkgs="$(go list ./... | grep -Ev '(pkg/components/gtime$)|(pkg/tsdb/testdatasource$)|(pkg/tsdb/prometheus$)')" ;;
# FP precision bugs in tests.
aarch64|ppc64le) pkgs="$(go list ./... | grep -Ev 'pkg/tsdb/testdatasource$')" ;;
esac
......@@ -68,7 +71,7 @@ package() {
}
sha512sums="
1502bfb7be3e1e8688b1ee2e1271a6907bbbe15e1fd95dbd39df9a4505148545e53ba286f2d264a49171dbe58ede1868da3a032c524793b99b80e7d15b00aecd grafana-8.1.7.tar.gz
13aeb728aa8b816ff84fc7e8c275fee57da89eb35d6e916b80a8cf37d2babbdb3399180bd153f07bd42dc3288d61cf6b32f238ff62b565f937f101844aca9cea grafana-8.2.1.tar.gz
b0a781e1b1e33741a97e231c761b1200239c6f1235ffbe82311fe883387eb23bef262ad68256ebd6cf87d74298041b53b947ea7a493cfa5aa814b2a1c5181e13 grafana.initd
c2d9896ae9a9425f759a47aeab42b7c43b63328e82670d50185de8c08cda7b8df264c8b105c5c3138b90dd46e86598b16826457eb3b2979a899b3a508cbe4e8c grafana.confd
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment