forked from VictoriaMetrics/VictoriaMetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl
It is better developing vmctl tool in VictoriaMetrics repository, so it could be released together with the rest of vmutils tools such as vmalert, vmagent, vmbackup, vmrestore and vmauth.
- Loading branch information
Showing
467 changed files
with
97,073 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,16 +45,19 @@ jobs: | |
GOOS=freebsd go build -mod=vendor ./app/vmalert | ||
GOOS=freebsd go build -mod=vendor ./app/vmbackup | ||
GOOS=freebsd go build -mod=vendor ./app/vmrestore | ||
GOOS=freebsd go build -mod=vendor ./app/vmctl | ||
GOOS=openbsd go build -mod=vendor ./app/victoria-metrics | ||
GOOS=openbsd go build -mod=vendor ./app/vmagent | ||
GOOS=openbsd go build -mod=vendor ./app/vmalert | ||
GOOS=openbsd go build -mod=vendor ./app/vmbackup | ||
GOOS=openbsd go build -mod=vendor ./app/vmrestore | ||
GOOS=openbsd go build -mod=vendor ./app/vmctl | ||
GOOS=darwin go build -mod=vendor ./app/victoria-metrics | ||
GOOS=darwin go build -mod=vendor ./app/vmagent | ||
GOOS=darwin go build -mod=vendor ./app/vmalert | ||
GOOS=darwin go build -mod=vendor ./app/vmbackup | ||
GOOS=darwin go build -mod=vendor ./app/vmrestore | ||
GOOS=darwin go build -mod=vendor ./app/vmctl | ||
- name: Publish coverage | ||
uses: codecov/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# All these commands must run from repository root. | ||
|
||
vmctl: | ||
APP_NAME=vmctl $(MAKE) app-local | ||
|
||
vmctl-race: | ||
APP_NAME=vmctl RACE=-race $(MAKE) app-local | ||
|
||
vmctl-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker | ||
|
||
vmctl-pure-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker-pure | ||
|
||
vmctl-amd64-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker-amd64 | ||
|
||
vmctl-arm-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker-arm | ||
|
||
vmctl-arm64-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker-arm64 | ||
|
||
vmctl-ppc64le-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker-ppc64le | ||
|
||
vmctl-386-prod: | ||
APP_NAME=vmctl $(MAKE) app-via-docker-386 | ||
|
||
package-vmctl: | ||
APP_NAME=vmctl $(MAKE) package-via-docker | ||
|
||
package-vmctl-pure: | ||
APP_NAME=vmctl $(MAKE) package-via-docker-pure | ||
|
||
package-vmctl-amd64: | ||
APP_NAME=vmctl $(MAKE) package-via-docker-amd64 | ||
|
||
package-vmctl-arm: | ||
APP_NAME=vmctl $(MAKE) package-via-docker-arm | ||
|
||
package-vmctl-arm64: | ||
APP_NAME=vmctl $(MAKE) package-via-docker-arm64 | ||
|
||
package-vmctl-ppc64le: | ||
APP_NAME=vmctl $(MAKE) package-via-docker-ppc64le | ||
|
||
package-vmctl-386: | ||
APP_NAME=vmctl $(MAKE) package-via-docker-386 | ||
|
||
publish-vmctl: | ||
APP_NAME=vmctl $(MAKE) publish-via-docker | ||
|
||
vmctl-amd64: | ||
CGO_ENABLED=1 GOARCH=amd64 $(MAKE) vmctl-local-with-goarch | ||
|
||
vmctl-arm: | ||
CGO_ENABLED=0 GOARCH=arm $(MAKE) vmctl-local-with-goarch | ||
|
||
vmctl-arm64: | ||
CGO_ENABLED=0 GOARCH=arm64 $(MAKE) vmctl-local-with-goarch | ||
|
||
vmctl-ppc64le: | ||
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) vmctl-local-with-goarch | ||
|
||
vmctl-386: | ||
CGO_ENABLED=0 GOARCH=386 $(MAKE) vmctl-local-with-goarch | ||
|
||
vmctl-local-with-goarch: | ||
APP_NAME=vmctl $(MAKE) app-local-with-goarch | ||
|
||
vmctl-pure: | ||
APP_NAME=vmctl $(MAKE) app-local-pure |
Oops, something went wrong.