2019-05-22 23:23:23 +02:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
run-vmselect:
|
|
|
|
mkdir -p vmselect-cache
|
2019-05-24 11:53:12 +02:00
|
|
|
DOCKER_OPTS='-v $(shell pwd)/vmselect-cache:/cache' \
|
2019-05-22 23:23:23 +02:00
|
|
|
APP_NAME=vmselect \
|
|
|
|
ARGS='-storageNode=localhost:8401 -selectNode=localhost:8481 -cacheDataPath=/cache' \
|
|
|
|
$(MAKE) run-via-docker
|
|
|
|
|
|
|
|
vmselect:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-local
|
2019-05-22 23:23:23 +02:00
|
|
|
|
|
|
|
vmselect-race:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) app-local
|
2019-05-22 23:23:23 +02:00
|
|
|
|
|
|
|
vmselect-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker
|
2019-05-22 23:23:23 +02:00
|
|
|
|
2019-12-11 22:06:53 +01:00
|
|
|
vmselect-pure-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-pure
|
2019-12-11 22:06:53 +01:00
|
|
|
|
2021-04-05 22:01:45 +02:00
|
|
|
vmselect-amd64-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-amd64
|
2021-04-05 22:01:45 +02:00
|
|
|
|
|
|
|
vmselect-arm-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-arm
|
2021-04-05 22:01:45 +02:00
|
|
|
|
|
|
|
vmselect-arm64-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-arm64
|
2021-04-05 22:01:45 +02:00
|
|
|
|
|
|
|
vmselect-ppc64le-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-ppc64le
|
2021-04-05 22:01:45 +02:00
|
|
|
|
|
|
|
vmselect-386-prod:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-via-docker-386
|
2021-04-05 22:01:45 +02:00
|
|
|
|
2019-05-22 23:23:23 +02:00
|
|
|
vmselect-prod-race:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) app-via-docker
|
2019-05-22 23:23:23 +02:00
|
|
|
|
|
|
|
package-vmselect:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) package-via-docker
|
2019-05-22 23:23:23 +02:00
|
|
|
|
|
|
|
package-vmselect-race:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) package-via-docker
|
2019-05-22 23:23:23 +02:00
|
|
|
|
|
|
|
publish-vmselect:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) publish-via-docker
|
2019-05-22 23:23:23 +02:00
|
|
|
|
|
|
|
publish-vmselect-race:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect RACE=-race $(MAKE) publish-via-docker
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-amd64:
|
2021-07-07 16:28:06 +02:00
|
|
|
CGO_ENABLED=1 GOARCH=amd64 $(MAKE) vmselect-local-with-goarch
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-arm:
|
2021-07-07 16:28:06 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=arm $(MAKE) vmselect-local-with-goarch
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-arm64:
|
2021-07-07 16:28:06 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=arm64 $(MAKE) vmselect-local-with-goarch
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-ppc64le:
|
2021-07-07 16:28:06 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) vmselect-local-with-goarch
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-386:
|
2021-07-07 16:28:06 +02:00
|
|
|
CGO_ENABLED=0 GOARCH=386 $(MAKE) vmselect-local-with-goarch
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-local-with-goarch:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-local-with-goarch
|
2020-07-31 12:42:09 +02:00
|
|
|
|
|
|
|
vmselect-pure:
|
2021-07-07 16:28:06 +02:00
|
|
|
APP_NAME=vmselect $(MAKE) app-local-pure
|