2020-02-23 11:35:47 +00:00
|
|
|
# All these commands must run from repository root.
|
|
|
|
|
|
|
|
vmagent:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-local
|
|
|
|
|
2020-03-05 10:02:06 +00:00
|
|
|
vmagent-race:
|
|
|
|
APP_NAME=vmagent RACE=-race $(MAKE) app-local
|
|
|
|
|
2020-02-23 11:35:47 +00:00
|
|
|
vmagent-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker
|
|
|
|
|
|
|
|
vmagent-pure-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-pure
|
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmagent-linux-amd64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-linux-amd64
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-arm-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-linux-arm
|
|
|
|
|
2022-07-13 12:42:48 +00:00
|
|
|
vmagent-linux-arm64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-linux-arm64
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-ppc64le-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-linux-ppc64le
|
|
|
|
|
|
|
|
vmagent-linux-386-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-linux-386
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-02-14 15:28:56 +00:00
|
|
|
vmagent-darwin-amd64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-darwin-amd64
|
|
|
|
|
|
|
|
vmagent-darwin-arm64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-darwin-arm64
|
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-freebsd-amd64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-freebsd-amd64
|
2022-02-14 15:28:56 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-openbsd-amd64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-openbsd-amd64
|
2022-07-13 12:42:48 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-windows-amd64-prod:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-via-docker-windows-amd64
|
2022-07-13 12:42:48 +00:00
|
|
|
|
2020-02-23 11:35:47 +00:00
|
|
|
package-vmagent:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker
|
|
|
|
|
|
|
|
package-vmagent-pure:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker-pure
|
|
|
|
|
|
|
|
package-vmagent-amd64:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker-amd64
|
|
|
|
|
|
|
|
package-vmagent-arm:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker-arm
|
|
|
|
|
|
|
|
package-vmagent-arm64:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker-arm64
|
|
|
|
|
|
|
|
package-vmagent-ppc64le:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker-ppc64le
|
|
|
|
|
|
|
|
package-vmagent-386:
|
|
|
|
APP_NAME=vmagent $(MAKE) package-via-docker-386
|
|
|
|
|
|
|
|
publish-vmagent:
|
|
|
|
APP_NAME=vmagent $(MAKE) publish-via-docker
|
|
|
|
|
|
|
|
run-vmagent:
|
2020-05-15 16:35:04 +00:00
|
|
|
mkdir -p vmagent-remotewrite-data
|
|
|
|
DOCKER_OPTS='-v $(shell pwd)/vmagent-remotewrite-data:/vmagent-remotewrite-data' \
|
|
|
|
ARGS='-remoteWrite.url=http://localhost:8428/api/v1/write' \
|
2020-02-23 11:35:47 +00:00
|
|
|
APP_NAME=vmagent \
|
|
|
|
$(MAKE) run-via-docker
|
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-amd64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=1 GOOS=linux GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-arm:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=linux GOARCH=arm $(MAKE) app-local-goos-goarch
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-arm64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(MAKE) app-local-goos-goarch
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-ppc64le:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le $(MAKE) app-local-goos-goarch
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2023-02-26 20:36:44 +00:00
|
|
|
vmagent-linux-s390x:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=linux GOARCH=s390x $(MAKE) app-local-goos-goarch
|
|
|
|
|
2024-05-09 12:22:03 +00:00
|
|
|
vmagent-linux-loong64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=linux GOARCH=loong64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-linux-386:
|
|
|
|
APP_NAME=vmagent 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
|
|
|
vmagent-darwin-amd64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
2020-02-23 11:35:47 +00:00
|
|
|
|
2022-07-13 13:44:39 +00:00
|
|
|
vmagent-darwin-arm64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
|
|
|
vmagent-freebsd-amd64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
|
|
|
|
|
|
|
vmagent-openbsd-amd64:
|
|
|
|
APP_NAME=vmagent CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 $(MAKE) app-local-goos-goarch
|
2021-03-16 18:49:07 +00:00
|
|
|
|
|
|
|
vmagent-windows-amd64:
|
2022-07-13 13:44:39 +00:00
|
|
|
GOARCH=amd64 APP_NAME=vmagent $(MAKE) app-local-windows-goarch
|
|
|
|
|
|
|
|
vmagent-pure:
|
|
|
|
APP_NAME=vmagent $(MAKE) app-local-pure
|