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
|
|
|
|
2021-04-05 20:01:45 +00:00
|
|
|
vmselect-amd64-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-amd64
|
2021-04-05 20:01:45 +00:00
|
|
|
|
|
|
|
vmselect-arm-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-arm
|
2021-04-05 20:01:45 +00:00
|
|
|
|
|
|
|
vmselect-arm64-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-arm64
|
2021-04-05 20:01:45 +00:00
|
|
|
|
|
|
|
vmselect-ppc64le-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-ppc64le
|
2021-04-05 20:01:45 +00:00
|
|
|
|
|
|
|
vmselect-386-prod:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-386
|
2021-04-05 20:01:45 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
vmselect-amd64:
|
2021-07-07 14:28:06 +00:00
|
|
|
CGO_ENABLED=1 GOARCH=amd64 $(MAKE) vmselect-local-with-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
|
|
|
vmselect-arm:
|
2021-07-07 14:28:06 +00:00
|
|
|
CGO_ENABLED=0 GOARCH=arm $(MAKE) vmselect-local-with-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
|
|
|
vmselect-arm64:
|
2021-07-07 14:28:06 +00:00
|
|
|
CGO_ENABLED=0 GOARCH=arm64 $(MAKE) vmselect-local-with-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
|
|
|
vmselect-ppc64le:
|
2021-07-07 14:28:06 +00:00
|
|
|
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) vmselect-local-with-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
|
|
|
vmselect-386:
|
2021-07-07 14:28:06 +00:00
|
|
|
CGO_ENABLED=0 GOARCH=386 $(MAKE) vmselect-local-with-goarch
|
2020-07-31 10:42:09 +00:00
|
|
|
|
|
|
|
vmselect-local-with-goarch:
|
2021-07-07 14:28:06 +00:00
|
|
|
APP_NAME=vmselect $(MAKE) app-local-with-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
|