p/vm: Upgrade to v1.80.0
dustin/metricspi/pipeline/pr-master There was a failure building this commit
Details
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.
parent
06b04abf47
commit
0f7b48e357
|
@ -1,4 +1,4 @@
|
||||||
VICTORIAMETRICS_VERSION = 1.78.0
|
VICTORIAMETRICS_VERSION = 1.80.0
|
||||||
VICTORIAMETRICS_SITE = $(call github,VictoriaMetrics,VictoriaMetrics,v$(VICTORIAMETRICS_VERSION))
|
VICTORIAMETRICS_SITE = $(call github,VictoriaMetrics,VictoriaMetrics,v$(VICTORIAMETRICS_VERSION))
|
||||||
VICTORIAMETRICS_LICENSE = Apache-2.0
|
VICTORIAMETRICS_LICENSE = Apache-2.0
|
||||||
VICTORIAMETRICS_LICENSE_FILES = LICENSE
|
VICTORIAMETRICS_LICENSE_FILES = LICENSE
|
||||||
|
@ -8,37 +8,37 @@ VICTORIAMETRICS_TAGS = netgo osusergo nethttpomithttp2 musl
|
||||||
VICTORIAMETRICS_INSTALL_BINS =
|
VICTORIAMETRICS_INSTALL_BINS =
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_SINGLE),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_SINGLE),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS = app/victoria-metrics
|
VICTORIAMETRICS_BUILD_CMDS = $(MAKE) victoria-metrics
|
||||||
VICTORIAMETRICS_INSTALL_BINS += victoria-metrics
|
VICTORIAMETRICS_INSTALL_BINS += victoria-metrics
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMAGENT),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMAGENT),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS += app/vmagent
|
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmagent
|
||||||
VICTORIAMETRICS_INSTALL_BINS += vmagent
|
VICTORIAMETRICS_INSTALL_BINS += vmagent
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMALERT),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMALERT),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS += app/vmalert
|
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmalert
|
||||||
VICTORIAMETRICS_INSTALL_BINS += vmalert
|
VICTORIAMETRICS_INSTALL_BINS += vmalert
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMAUTH),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMAUTH),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS += app/vmauth
|
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmauth
|
||||||
VICTORIAMETRICS_INSTALL_BINS += vmauth
|
VICTORIAMETRICS_INSTALL_BINS += vmauth
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMBACKUP),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMBACKUP),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS += app/vmbackup
|
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmbackup
|
||||||
VICTORIAMETRICS_INSTALL_BINS += vmbackup
|
VICTORIAMETRICS_INSTALL_BINS += vmbackup
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMRESTORE),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMRESTORE),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS += app/vmrestore
|
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmrestore
|
||||||
VICTORIAMETRICS_INSTALL_BINS += vmrestore
|
VICTORIAMETRICS_INSTALL_BINS += vmrestore
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMCTL),y)
|
ifeq ($(BR2_PACKAGE_VICTORIAMETRICS_VMCTL),y)
|
||||||
VICTORIAMETRICS_BUILD_TARGETS += app/vmctl
|
VICTORIAMETRICS_BUILD_CMDS += $(MAKE) vmctl
|
||||||
VICTORIAMETRICS_INSTALL_BINS += vmctl
|
VICTORIAMETRICS_INSTALL_BINS += vmctl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -70,4 +70,4 @@ define VICTORIAMETRICS_USERS
|
||||||
victoriametrics -1 victoriametrics -1 * /var/lib/victoria-metrics /sbin/nologin -
|
victoriametrics -1 victoriametrics -1 * /var/lib/victoria-metrics /sbin/nologin -
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(golang-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in New Issue