Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vendored tools for CI. #1220

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ services:
- docker

install:
# Install specific versions of protoc-gen-grpc-gateway, etcd, and etcdctl
# known to work with Trillian. We use git first because it makes it easy to
# check out a specific tag, and then use `go get` to install the binary
# because it handles transitively fetching dependencies.
- git clone -b v1.3 https://github.com/grpc-ecosystem/grpc-gateway "${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway"
- go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
- git clone -b v3.3.7 https://github.com/coreos/etcd.git "${GOPATH}/src/github.com/coreos/etcd"
- go get github.com/coreos/etcd/cmd/etcd
- go get github.com/coreos/etcd/cmd/etcdctl

- mkdir ../protoc
- |
(
Expand All @@ -53,12 +63,6 @@ install:
- go install github.com/golang/{mock/mockgen,protobuf/protoc-gen-go}
- go get github.com/alecthomas/gometalinter
- gometalinter --install
# install vendored protoc-gen-grpc-gateway binary
- go install ./vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
# install vendored etcd binary
- go install ./vendor/github.com/coreos/etcd/cmd/etcd
- go install ./vendor/github.com/coreos/etcd/cmd/etcdctl


before_script:
- |
Expand Down
2 changes: 1 addition & 1 deletion scripts/presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ main() {
'have you installed github.com/alecthomas/gometalinter?' || exit 1

echo 'running gometalinter'
gometalinter --config=gometalinter.json --deadline=60s ./...
gometalinter --config=gometalinter.json --deadline=240s ./...
fi

if [[ "${run_generate}" -eq 1 ]]; then
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/coreos/etcd/.gitignore

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions vendor/github.com/coreos/etcd/.header

This file was deleted.

97 changes: 0 additions & 97 deletions vendor/github.com/coreos/etcd/.travis.yml

This file was deleted.

44 changes: 0 additions & 44 deletions vendor/github.com/coreos/etcd/.words

This file was deleted.

Loading