mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
parent
0d03855787
commit
689d769b4d
1 changed files with 27 additions and 16 deletions
43
Makefile
43
Makefile
|
@ -69,24 +69,35 @@ release-victoria-metrics: victoria-metrics-prod
|
||||||
sha256sum victoria-metrics-$(PKG_TAG).tar.gz > victoria-metrics-$(PKG_TAG)_checksums.txt
|
sha256sum victoria-metrics-$(PKG_TAG).tar.gz > victoria-metrics-$(PKG_TAG)_checksums.txt
|
||||||
|
|
||||||
release-vmutils: \
|
release-vmutils: \
|
||||||
vmagent-prod \
|
release-vmutils-amd64 \
|
||||||
vmalert-prod \
|
release-vmutils-arm64
|
||||||
vmauth-prod \
|
|
||||||
vmbackup-prod \
|
|
||||||
vmrestore-prod
|
|
||||||
cd bin && \
|
|
||||||
tar -czf vmutils-amd64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-prod && \
|
|
||||||
sha256sum vmutils-amd64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-prod > vmutils-$(PKG_TAG)_checksums.txt
|
|
||||||
|
|
||||||
release-vmutils-arm64: \
|
release-vmutils-amd64:
|
||||||
vmagent-arm64-prod \
|
GOARCH=amd64 $(MAKE) release-vmutils-generic
|
||||||
vmalert-arm64-prod \
|
|
||||||
vmauth-arm64-prod \
|
release-vmutils-arm64:
|
||||||
vmbackup-arm64-prod \
|
GOARCH=arm64 $(MAKE) release-vmutils-generic
|
||||||
vmrestore-arm64-prod
|
|
||||||
|
release-vmutils-generic: \
|
||||||
|
vmagent-$(GOARCH)-prod \
|
||||||
|
vmalert-$(GOARCH)-prod \
|
||||||
|
vmauth-$(GOARCH)-prod \
|
||||||
|
vmbackup-$(GOARCH)-prod \
|
||||||
|
vmrestore-$(GOARCH)-prod
|
||||||
cd bin && \
|
cd bin && \
|
||||||
tar --transform="flags=r;s|-arm64||" -czf vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod && \
|
tar --transform="flags=r;s|-$(GOARCH)||" -czf vmutils-$(GOARCH)-$(PKG_TAG).tar.gz \
|
||||||
sha256sum vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod | sed s/arm64-prod/prod/ > vmutils-arm64-$(PKG_TAG)_checksums.txt
|
vmagent-$(GOARCH)-prod \
|
||||||
|
vmalert-$(GOARCH)-prod \
|
||||||
|
vmauth-$(GOARCH)-prod \
|
||||||
|
vmbackup-$(GOARCH)-prod \
|
||||||
|
vmrestore-$(GOARCH)-prod \
|
||||||
|
&& sha256sum vmutils-$(GOARCH)-$(PKG_TAG).tar.gz \
|
||||||
|
vmagent-$(GOARCH)-prod \
|
||||||
|
vmalert-$(GOARCH)-prod \
|
||||||
|
vmauth-$(GOARCH)-prod \
|
||||||
|
vmbackup-$(GOARCH)-prod \
|
||||||
|
vmrestore-$(GOARCH)-prod \
|
||||||
|
| sed s/-$(GOARCH)// > vmutils-$(GOARCH)-$(PKG_TAG)_checksums.txt
|
||||||
|
|
||||||
pprof-cpu:
|
pprof-cpu:
|
||||||
go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE)
|
go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE)
|
||||||
|
|
Loading…
Reference in a new issue