Skip to content
Snippets Groups Projects
Commit 13a124d3 authored by Kevin Daudt's avatar Kevin Daudt :computer:
Browse files

community/netdata-go-plugins: remove aport

netdata bundled the plugin now with nedata itself, and the plugin is now
a subpackage of the netdata package.
parent efe55d1a
No related branches found
No related tags found
1 merge request!65249community/netdata: upgrade to 1.45.3
Pipeline #232311 skipped
From d28d1f71c7e0093662d5e5917685b430759848af Mon Sep 17 00:00:00 2001
From: Ilya Mashchenko <ilya@netdata.cloud>
Date: Mon, 4 Mar 2024 10:36:02 +0200
Subject: [PATCH] fix go.d.plugin/pulsar tests (#17093)
---
src/go/collectors/go.d.plugin/modules/pulsar/charts.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/go/collectors/go.d.plugin/modules/pulsar/charts.go b/src/go/collectors/go.d.plugin/modules/pulsar/charts.go
index a0599dc8d..3ddff66f6 100644
--- a/modules/pulsar/charts.go
+++ b/modules/pulsar/charts.go
@@ -269,6 +269,7 @@ var namespaceCharts = Charts{
}
func toNamespaceChart(chart Chart) Chart {
+ chart = *chart.Copy()
if chart.ID == sumBrokerComponentsChart.ID {
_ = chart.RemoveDim("pulsar_namespaces_count")
}
--
2.44.0
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=netdata-go-plugins
pkgver=0.58.1
pkgrel=1
pkgdesc="netdata go.d.plugin"
url="https://github.com/netdata/go.d.plugin"
arch="all !x86 !armv7 !armhf" # checks fail
license="GPL-3.0-or-later"
depends="netdata"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/netdata/go.d.plugin/tar.gz/refs/tags/v$pkgver
0001-fix-go.d.plugin-pulsar-tests-17093.patch
"
builddir="$srcdir/go.d.plugin-$pkgver"
export GOFLAGS="$GOFLAGS -modcacherw"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v -o go.d.plugin ./cmd/godplugin
}
check() {
go test ./...
}
package() {
mkdir -p "$pkgdir/usr/lib/netdata/conf.d"
cp -r "$builddir/config/go.d.conf" "$builddir/config/go.d" "$pkgdir/usr/lib/netdata/conf.d/"
mkdir -p "$pkgdir/usr/libexec/netdata/plugins.d/"
install -D -m755 -t "$pkgdir/usr/libexec/netdata/plugins.d" "$builddir/go.d.plugin"
}
sha512sums="
acbfd7ee4a72cee0587936bd2d4e27a2b58894ee72a2218b96643c1fe0866990f9d6bfe1f754cda5f5443bc75e1406a6511300ea265a81e4be89f7f97b17664c netdata-go-plugins-0.58.1.tar.gz
7b7e6599cdd87f8640ab21323f2fe7b419b6371538f46554c5b272a7ef47f94b32f27abe7c37429aeeeef038be57fce0b75a52de15890b1dbfb96e6f6f9e6300 0001-fix-go.d.plugin-pulsar-tests-17093.patch
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment