Skip to content

Commit

Permalink
all: remove vendor folder
Browse files Browse the repository at this point in the history
See discussion in #45 for more information.

Fixes #45
  • Loading branch information
johanbrandhorst committed Feb 19, 2019
1 parent af48b61 commit 280b380
Show file tree
Hide file tree
Showing 1,504 changed files with 9 additions and 596,366 deletions.
12 changes: 8 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ jobs:
docker:
- image: golang:latest
environment:
GOFLAGS: "-mod=vendor"
GO111MODULE: "on"
GO111MODULE: 'on'
steps:
- checkout
- run: go build ./...
vendor:
docker:
- image: golang:latest
environment:
GOFLAGS: "-mod=vendor"
GO111MODULE: "on"
GO111MODULE: 'on'
steps:
- checkout
- run: go mod verify
Expand All @@ -23,31 +21,37 @@ jobs:
generate:
docker:
- image: golang:latest
# moq requires the GOPATH still
working_directory: /go/src/github.com/johanbrandhorst/certify
steps:
- checkout
- run: apt-get update
- run: apt-get install -y protobuf-compiler
- run: GO111MODULE=on go mod vendor
- run: go install ./vendor/github.com/golang/protobuf/protoc-gen-go ./vendor/github.com/matryer/moq
- run: go generate -x ./...
- run: git diff --exit-code
lint:
docker:
- image: golang:latest
# golang-ci works best with GOPATH
working_directory: /go/src/github.com/johanbrandhorst/certify
steps:
- checkout
- run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.13.2
- run: GO111MODULE=on go mod vendor
- run: ./bin/golangci-lint run
test:
machine:
image: circleci/classic:edge
# The CircleCI users GOPATH
working_directory: /home/circleci/.go_workspace/src/github.com/johanbrandhorst/certify
steps:
- checkout
- run: go get github.com/lpar/goup
- run: sudo rm -rf /usr/local/go
- run: yes | sudo /home/circleci/.go_workspace/bin/goup --force --os linux --arch amd64 || true # swallow exit 141
- run: GO111MODULE=on go mod vendor
- run: go install ./vendor/github.com/onsi/ginkgo/ginkgo
- run: ginkgo -v -r -coverprofile=coverage.txt -cover --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --progress --skipPackage=vendor --skipMeasurements
- run: bash <(curl -s https://codecov.io/bash)
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
21 changes: 0 additions & 21 deletions vendor/github.com/Azure/go-ansiterm/LICENSE

This file was deleted.

12 changes: 0 additions & 12 deletions vendor/github.com/Azure/go-ansiterm/README.md

This file was deleted.

188 changes: 0 additions & 188 deletions vendor/github.com/Azure/go-ansiterm/constants.go

This file was deleted.

7 changes: 0 additions & 7 deletions vendor/github.com/Azure/go-ansiterm/context.go

This file was deleted.

49 changes: 0 additions & 49 deletions vendor/github.com/Azure/go-ansiterm/csi_entry_state.go

This file was deleted.

38 changes: 0 additions & 38 deletions vendor/github.com/Azure/go-ansiterm/csi_param_state.go

This file was deleted.

Loading

0 comments on commit 280b380

Please sign in to comment.