[ci skip] monitor data for ethernet ports (#45)

* fix import name conflict
* adding in ethernet monitor information via prometheus gauge
* set CGO_ENABLED env var on build
This commit is contained in:
Steve Brunton authored and GitHub committed 2019-08-20 22:11:03 -04:00
1 parent ea9cc69a3a
commit beb09ce540
6 files changed
+141 -4

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ utils:
go get github.com/tcnksm/ghr
deploy: utils
gox -os="linux freebsd netbsd" -arch="amd64 arm arm64 386" -parallel=4 -ldflags "$(LDFLAGS)" -output "dist/mikrotik-exporter_{{.OS}}_{{.Arch}}"
CGO_ENABLED=0 gox -os="linux freebsd netbsd" -arch="amd64 arm arm64 386" -parallel=4 -ldflags "$(LDFLAGS)" -output "dist/mikrotik-exporter_{{.OS}}_{{.Arch}}"
ghr -t $(GITHUB_TOKEN) -u $(CIRCLE_PROJECT_USERNAME) -r $(CIRCLE_PROJECT_REPONAME) -replace $(VERSION) dist/
dockerhub: deploy