22 lines
780 B
Bash
22 lines
780 B
Bash
# Template file for 'loki'
|
|
pkgname=loki
|
|
version=3.1.1
|
|
revision=2
|
|
build_style=go
|
|
go_import_path="github.com/grafana/loki/v3"
|
|
go_package="${go_import_path}/cmd/loki ${go_import_path}/cmd/logcli
|
|
${go_import_path}/cmd/loki-canary ${go_import_path}/clients/cmd/promtail"
|
|
make_check_args="-skip TestCompactor_TableLocking/first_table_locked_-_applying_retention/2"
|
|
hostmakedepends="go"
|
|
short_desc="Like Prometheus, but for logs"
|
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://grafana.com/oss/loki/"
|
|
distfiles="https://github.com/grafana/loki/archive/v$version.tar.gz"
|
|
checksum=d53a46e3ee51a258f49f865cc5795fe05ade1593237709417de0e1395b5a21cf
|
|
|
|
pre_configure() {
|
|
go get github.com/grafana/pyroscope-go/godeltaprof@v0.1.7
|
|
go mod vendor
|
|
}
|