From eed21034efae03ee661e06122f96dc01e53afaa4 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 12 Dec 2022 22:07:14 +0100 Subject: feat: Add prometheus-postgres-exporter --- .../disable-go-race-detector.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 apks/prometheus-postgres-exporter/disable-go-race-detector.patch (limited to 'apks/prometheus-postgres-exporter/disable-go-race-detector.patch') diff --git a/apks/prometheus-postgres-exporter/disable-go-race-detector.patch b/apks/prometheus-postgres-exporter/disable-go-race-detector.patch new file mode 100644 index 0000000..9ba76a3 --- /dev/null +++ b/apks/prometheus-postgres-exporter/disable-go-race-detector.patch @@ -0,0 +1,16 @@ +--- a/Makefile.common ++++ b/Makefile.common +@@ -111,13 +111,6 @@ + PUBLISH_DOCKER_ARCHS = $(addprefix common-docker-publish-,$(DOCKER_ARCHS)) + TAG_DOCKER_ARCHS = $(addprefix common-docker-tag-latest-,$(DOCKER_ARCHS)) + +-ifeq ($(GOHOSTARCH),amd64) +- ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux freebsd darwin windows)) +- # Only supported on amd64 +- test-flags := -race +- endif +-endif +- + # This rule is used to forward a target like "build" to "common-build". This + # allows a new "build" target to be defined in a Makefile which includes this + # one and override "common-build" without override warnings. -- cgit v1.2.3