2019-05-22 21:23:23 +00:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
run-vmselect:
|
|
|
|
mkdir -p vmselect-cache
|
2019-05-24 09:53:12 +00:00
|
|
|
DOCKER_OPTS='-v $(shell pwd)/vmselect-cache:/cache' \
|
2019-05-22 21:23:23 +00:00
|
|
|
APP_NAME=vmselect \
|
2021-09-15 15:04:28 +00:00
|
|
|
ARGS='-storageNode=localhost -selectNode=localhost -cacheDataPath=/cache' \
|
2019-05-22 21:23:23 +00:00
|
|
|
$(MAKE) run-via-docker
|
|
|
|
|
|
|
|
vmselect:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-local
|
2019-05-22 21:23:23 +00:00
|
|
|
|
|
|
|
vmselect-race:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) app-local
|
2019-05-22 21:23:23 +00:00
|
|
|
|
|
|
|
vmselect-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker
|
2019-05-22 21:23:23 +00:00
|
|
|
|
2019-12-11 21:06:53 +00:00
|
|
|
vmselect-pure-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-pure
|
2019-12-11 21:06:53 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-amd64-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-linux-amd64
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-arm-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-linux-arm
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-arm64-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-linux-arm64
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-ppc64le-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-linux-ppc64le
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-386-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-linux-386
|
2021-04-05 20:01:45 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmselect-freebsd-amd64-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-freebsd-amd64
|
|
|
|
|
|
|
|
vmselect-openbsd-amd64-prod:
|
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-openbsd-amd64
|
|
|
|
|
2019-05-22 21:23:23 +00:00
|
|
|
vmselect-prod-race:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) app-via-docker
|
2019-05-22 21:23:23 +00:00
|
|
|
|
|
|
|
package-vmselect:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) package-via-docker
|
2019-05-22 21:23:23 +00:00
|
|
|
|
|
|
|
package-vmselect-race:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) package-via-docker
|
2019-05-22 21:23:23 +00:00
|
|
|
|
|
|
|
publish-vmselect:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) publish-via-docker
|
2019-05-22 21:23:23 +00:00
|
|
|
|
|
|
|
publish-vmselect-race:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) publish-via-docker
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-amd64:
|
|
|
|
APP_NAME=vmselect 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
|
|
|
vmselect-linux-arm:
|
|
|
|
APP_NAME=vmselect 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
|
|
|
vmselect-linux-arm64:
|
|
|
|
APP_NAME=vmselect 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
|
|
|
vmselect-linux-ppc64le:
|
|
|
|
APP_NAME=vmselect CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le $(MAKE) app-local-goos-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmselect-linux-386:
|
|
|
|
APP_NAME=vmselect 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
|
|
|
vmselect-freebsd-amd64:
|
|
|
|
APP_NAME=vmselect CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
|
|
|
vmselect-openbsd-amd64:
|
|
|
|
APP_NAME=vmselect CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
2020-07-31 10:42:09 +00:00
|
|
|
vmselect-pure:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-local-pure
|