Convert to Go modules (#1178)

* Convert to Go modules

* Update promu config.
* Convert to Go modules.
* Update vendoring.
* Update Makefile.common.
* Update circleci config.
* Use Prometheus release tar for promtool.
* Fixup unpack

* Use temp dir for unpacking tools.
* Use BSD compatible tar command.
* OpenBSD mkdir doesn't support `-v`.

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2018-11-30 14:01:20 +01:00 committed by GitHub
commit becca1275c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
80 changed files with 4199 additions and 483 deletions

1
vendor/github.com/mdlayher/netlink/.gitignore generated vendored Normal file
View file

@ -0,0 +1 @@
cmd/nlstress/nlstress

17
vendor/github.com/mdlayher/netlink/.travis.yml generated vendored Normal file
View file

@ -0,0 +1,17 @@
language: go
go:
- "1.x"
os:
- linux
- osx
sudo: required
before_install:
- go get github.com/golang/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
- go get -d ./...
script:
- go build -tags=gofuzz ./...
- go vet ./...
- staticcheck ./...
- golint -set_exit_status ./...
- go test -v -race -tags=integration ./...