mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
Arch consistent filenames (#1015)
* Include individual binary checksums for vmutils * Consistent archive/binary artefacts between arm64/amd64 for vmutils * architecture in arhcive, checksums * not in binaries
This commit is contained in:
parent
75f7c51cab
commit
0d03855787
1 changed files with 6 additions and 5 deletions
11
Makefile
11
Makefile
|
@ -74,8 +74,9 @@ release-vmutils: \
|
||||||
vmauth-prod \
|
vmauth-prod \
|
||||||
vmbackup-prod \
|
vmbackup-prod \
|
||||||
vmrestore-prod
|
vmrestore-prod
|
||||||
cd bin && tar czf vmutils-$(PKG_TAG).tar.gz vmagent-prod vmalert-prod vmauth-prod vmbackup-prod vmrestore-prod && \
|
cd bin && \
|
||||||
sha256sum vmutils-$(PKG_TAG).tar.gz > vmutils-$(PKG_TAG)_checksums.txt
|
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-arm64: \
|
||||||
vmagent-arm64-prod \
|
vmagent-arm64-prod \
|
||||||
|
@ -83,9 +84,9 @@ release-vmutils-arm64: \
|
||||||
vmauth-arm64-prod \
|
vmauth-arm64-prod \
|
||||||
vmbackup-arm64-prod \
|
vmbackup-arm64-prod \
|
||||||
vmrestore-arm64-prod
|
vmrestore-arm64-prod
|
||||||
cd bin && tar czf vmutils-arm64-$(PKG_TAG).tar.gz vmagent-arm64-prod vmalert-arm64-prod vmauth-arm64-prod vmbackup-arm64-prod vmrestore-arm64-prod && \
|
cd bin && \
|
||||||
sha256sum vmutils-arm64-$(PKG_TAG).tar.gz > vmutils-arm64-$(PKG_TAG)_checksums.txt
|
tar --transform="flags=r;s|-arm64||" -czf vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod && \
|
||||||
|
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
|
||||||
|
|
||||||
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