p/vm: Upgrade to v1.80.0
dustin/metricspi/pipeline/pr-master There was a failure building this commit Details

Switching from the `golang-package` macro to the `generic-package` macro
in order to make use of upstream's makefiles.  This will ensure that the
correct flags are passed to the Go compiler, especially those related to
embedding the version string in the binary.  Without this, the
`vm_app_version` metrics exposed by each application will be empty.
Dustin 2022-08-25 20:43:26 -05:00
parent 06b04abf47
commit 0f7b48e357
1 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
VICTORIAMETRICS_VERSION = 1.78.0
VICTORIAMETRICS_VERSION = 1.80.0
VICTORIAMETRICS_SITE = $(call github,VictoriaMetrics,VictoriaMetrics,v$(VICTORIAMETRICS_VERSION))
VICTORIAMETRICS_LICENSE = Apache-2.0
VICTORIAMETRICS_LICENSE_FILES = LICENSE
@ -8,37 +8,37 @@ VICTORIAMETRICS_TAGS = netgo osusergo nethttpomithttp2 musl
VICTORIAMETRICS_INSTALL_BINS =
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_SINGLE),y)
VICTORIAMETRICS_BUILD_TARGETS = app/victoria-metrics
VICTORIAMETRICS_BUILD_CMDS = $(MAKE) victoria-metrics
VICTORIAMETRICS_INSTALL_BINS += victoria-metrics
endif
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMAGENT),y)
VICTORIAMETRICS_BUILD_TARGETS += app/vmagent
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmagent
VICTORIAMETRICS_INSTALL_BINS += vmagent
endif
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMALERT),y)
VICTORIAMETRICS_BUILD_TARGETS += app/vmalert
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmalert
VICTORIAMETRICS_INSTALL_BINS += vmalert
endif
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMAUTH),y)
VICTORIAMETRICS_BUILD_TARGETS += app/vmauth
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmauth
VICTORIAMETRICS_INSTALL_BINS += vmauth
endif
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMBACKUP),y)
VICTORIAMETRICS_BUILD_TARGETS += app/vmbackup
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmbackup
VICTORIAMETRICS_INSTALL_BINS += vmbackup
endif
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMRESTORE),y)
VICTORIAMETRICS_BUILD_TARGETS += app/vmrestore
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmrestore
VICTORIAMETRICS_INSTALL_BINS += vmrestore
endif
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMCTL),y)
VICTORIAMETRICS_BUILD_TARGETS += app/vmctl
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmctl
VICTORIAMETRICS_INSTALL_BINS += vmctl
endif
@ -70,4 +70,4 @@ define VICTORIAMETRICS_USERS
victoriametrics -1 victoriametrics -1 * /var/lib/victoria-metrics /sbin/nologin -
endef
$(eval $(golang-package))
$(eval $(generic-package))