2019-05-22 21:23:23 +00:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
run-vmstorage:
|
|
|
|
mkdir -p vmstorage-data
|
2019-05-24 09:53:12 +00:00
|
|
|
DOCKER_OPTS='-v $(shell pwd)/vmstorage-data:/vmstorage-data' \
|
2019-05-22 21:23:23 +00:00
|
|
|
APP_NAME=vmstorage \
|
|
|
|
ARGS='-retentionPeriod=12' \
|
|
|
|
$(MAKE) run-via-docker
|
|
|
|
|
|
|
|
vmstorage:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-local
|
|
|
|
|
|
|
|
vmstorage-race:
|
|
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) app-local
|
|
|
|
|
|
|
|
vmstorage-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker
|
|
|
|
|
2019-12-11 21:06:53 +00:00
|
|
|
vmstorage-pure-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-pure
|
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-amd64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-linux-amd64
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-arm-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-linux-arm
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-arm64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-linux-arm64
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-ppc64le-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-linux-ppc64le
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-386-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-linux-386
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmstorage-freebsd-amd64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-freebsd-amd64
|
|
|
|
|
|
|
|
vmstorage-openbsd-amd64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-openbsd-amd64
|
|
|
|
|
2023-03-19 08:36:05 +00:00
|
|
|
vmstorage-windows-amd64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-windows-amd64
|
|
|
|
|
2024-10-08 08:19:04 +00:00
|
|
|
vmstorage-darwin-amd64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-darwin-amd64
|
|
|
|
|
|
|
|
vmstorage-darwin-arm64-prod:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-via-docker-darwin-arm64
|
|
|
|
|
2019-05-22 21:23:23 +00:00
|
|
|
vmstorage-prod-race:
|
|
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) app-via-docker
|
|
|
|
|
|
|
|
package-vmstorage:
|
|
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker
|
|
|
|
|
|
|
|
package-vmstorage-race:
|
|
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) package-via-docker
|
|
|
|
|
2022-10-07 17:17:01 +00:00
|
|
|
package-vmstorage-amd64:
|
|
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker-amd64
|
|
|
|
|
|
|
|
package-vmstorage-arm:
|
|
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker-arm
|
|
|
|
|
|
|
|
package-vmstorage-arm64:
|
|
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker-arm64
|
|
|
|
|
|
|
|
package-vmstorage-ppc64le:
|
|
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker-ppc64le
|
|
|
|
|
|
|
|
package-vmstorage-386:
|
|
|
|
APP_NAME=vmstorage $(MAKE) package-via-docker-386
|
|
|
|
|
2019-05-22 21:23:23 +00:00
|
|
|
publish-vmstorage:
|
|
|
|
APP_NAME=vmstorage $(MAKE) publish-via-docker
|
|
|
|
|
|
|
|
publish-vmstorage-race:
|
|
|
|
APP_NAME=vmstorage RACE=-race $(MAKE) publish-via-docker
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-amd64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=1 GOOS=linux GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-arm:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=linux GOARCH=arm $(MAKE) app-local-goos-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-arm64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(MAKE) app-local-goos-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-ppc64le:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le $(MAKE) app-local-goos-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2023-02-26 20:36:44 +00:00
|
|
|
vmstorage-linux-s390x:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=linux GOARCH=s390x $(MAKE) app-local-goos-goarch
|
|
|
|
|
2024-05-09 12:22:03 +00:00
|
|
|
vmstorage-linux-loong64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=linux GOARCH=loong64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmstorage-linux-386:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=linux GOARCH=386 $(MAKE) app-local-goos-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmstorage-freebsd-amd64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
|
|
|
vmstorage-openbsd-amd64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
2023-03-19 08:36:05 +00:00
|
|
|
vmstorage-windows-amd64:
|
|
|
|
GOARCH=amd64 APP_NAME=vmstorage $(MAKE) app-local-windows-goarch
|
|
|
|
|
2024-10-08 08:19:04 +00:00
|
|
|
vmstorage-darwin-amd64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
|
|
|
vmstorage-darwin-arm64:
|
|
|
|
APP_NAME=vmstorage CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
2020-07-31 10:42:09 +00:00
|
|
|
vmstorage-pure:
|
|
|
|
APP_NAME=vmstorage $(MAKE) app-local-pure
|