mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
Add coredns_build_info metric (#1418)
In order to track the rollout status of CoreDNS versions, add the common build_info metric.
This commit is contained in:
committed by
Miek Gieben
parent
f9c03c2ead
commit
b707438534
2
Makefile
2
Makefile
@@ -9,7 +9,7 @@ all: coredns
|
||||
|
||||
.PHONY: coredns
|
||||
coredns: $(CHECKS)
|
||||
CGO_ENABLED=0 $(SYSTEM) go build $(VERBOSE) -ldflags="-s -w -X github.com/coredns/coredns/coremain.gitCommit=$(GITCOMMIT)" -o $(BINARY)
|
||||
CGO_ENABLED=0 $(SYSTEM) go build $(VERBOSE) -ldflags="-s -w -X github.com/coredns/coredns/coremain.GitCommit=$(GITCOMMIT)" -o $(BINARY)
|
||||
|
||||
.PHONY: check
|
||||
check: linter core/zplugin.go core/dnsserver/zdirectives.go godeps
|
||||
|
||||
Reference in New Issue
Block a user