mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-03 16:21:14 +01:00
d99ba3481b
* makefile: add os to each release file * makefile: update vmutils arm64 * makefile: update victoria-metrics release process * makefile: update publish with os * makefile: update publish with os * makefile: change tar library * update release logic * copy all releases * sort command by GOOS * rollback commands * rollback OSARCH * fix commands * cleanup * fix windows build * sort build by GOOS, update README.md
86 lines
2.0 KiB
Makefile
86 lines
2.0 KiB
Makefile
# All these commands must run from repository root.
|
|
|
|
# Application build
|
|
vmbackup:
|
|
APP_NAME=vmbackup $(MAKE) app-local
|
|
|
|
vmbackup-race:
|
|
APP_NAME=vmbackup RACE=-race $(MAKE) app-local
|
|
|
|
vmbackup-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker
|
|
|
|
vmbackup-pure-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-pure
|
|
|
|
# GOOS=linux
|
|
vmbackup-linux-amd64-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-linux-amd64
|
|
|
|
vmbackup-linux-arm64-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-linux-arm64
|
|
|
|
vmbackup-linux-arm-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-linux-arm
|
|
|
|
# GOOS=darwin
|
|
vmbackup-darwin-amd64-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-darwin-amd64
|
|
|
|
vmbackup-darwin-arm64-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-darwin-arm64
|
|
|
|
# GOARCH=ppc64le
|
|
vmbackup-ppc64le-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-ppc64le
|
|
|
|
# GOARCH=386
|
|
vmbackup-386-prod:
|
|
APP_NAME=vmbackup $(MAKE) app-via-docker-386
|
|
|
|
# Package build
|
|
package-vmbackup:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker
|
|
|
|
package-vmbackup-pure:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-pure
|
|
|
|
package-vmbackup-amd64:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-amd64
|
|
|
|
package-vmbackup-arm:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-arm
|
|
|
|
package-vmbackup-arm64:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-arm64
|
|
|
|
package-vmbackup-ppc64le:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-ppc64le
|
|
|
|
package-vmbackup-386:
|
|
APP_NAME=vmbackup $(MAKE) package-via-docker-386
|
|
|
|
publish-vmbackup:
|
|
APP_NAME=vmbackup $(MAKE) publish-via-docker
|
|
|
|
vmbackup-amd64:
|
|
CGO_ENABLED=1 GOARCH=amd64 $(MAKE) vmbackup-local-with-goarch
|
|
|
|
vmbackup-arm:
|
|
CGO_ENABLED=0 GOARCH=arm $(MAKE) vmbackup-local-with-goarch
|
|
|
|
vmbackup-arm64:
|
|
CGO_ENABLED=0 GOARCH=arm64 $(MAKE) vmbackup-local-with-goarch
|
|
|
|
vmbackup-ppc64le:
|
|
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) vmbackup-local-with-goarch
|
|
|
|
vmbackup-386:
|
|
CGO_ENABLED=0 GOARCH=386 $(MAKE) vmbackup-local-with-goarch
|
|
|
|
vmbackup-local-with-goarch:
|
|
APP_NAME=vmbackup $(MAKE) app-local-with-goarch
|
|
|
|
vmbackup-pure:
|
|
APP_NAME=vmbackup $(MAKE) app-local-pure
|