mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
24915fd4bc
* update helper scripts to latest versions * added missed command for initialisation variables from Makefile * deployment/marketplace/vultr/helper-scripts/vultr-helper.sh: update helper script to latest version * fixed typo for using VM_VERSION variable * added an example of specifying the VM_VERSION and tokens for API's * set packer logging to STDOUT by default
10 lines
399 B
Makefile
10 lines
399 B
Makefile
RELEASE_NAME := vm-oneclick-droplet
|
|
VM_VERSION ?= $(shell git describe --abbrev=0 --tags)
|
|
|
|
.PHONY: $(MAKECMDGOALS)
|
|
|
|
release-victoria-metrics-digitalocean-oneclick-droplet:
|
|
cp ./files/etc/update-motd.d/99-one-click.tpl ./files/etc/update-motd.d/99-one-click
|
|
sed -i -e "s/VM_VERSION/${VM_VERSION}/g" ./files/etc/update-motd.d/99-one-click
|
|
packer init template.pkr.hcl
|
|
packer build template.pkr.hcl
|