mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
32be84fc75
* adds packer build for server with VM Single node in vultr.com marketplace * fix missed varibale
12 lines
No EOL
549 B
Makefile
12 lines
No EOL
549 B
Makefile
RELEASE_NAME := vm-vultr-server
|
|
VM_VERSION ?= $(shell git describe --abbrev=0 --tags)
|
|
PACKER_LOG := 1
|
|
PACKER_LOG_PATH := packer.log
|
|
|
|
.PHONY: $(MAKECMDGOALS)
|
|
|
|
release-victoria-metrics-vultr-server:
|
|
cp ./victoriametrics-single/etc/update-motd.d/99-one-click.tpl ./victoriametrics-single/etc/update-motd.d/99-one-click
|
|
sed -i -e "s/VM_VERSION/${VM_VERSION}/g" ./victoriametrics-single/etc/update-motd.d/99-one-click
|
|
packer init victoriametrics-single/victoriametrics-single.pkr.hcl
|
|
packer build victoriametrics-single/victoriametrics-single.pkr.hcl
|