Skip to content

Commit

Permalink
Remove vendor directory
Browse files Browse the repository at this point in the history
* Bump version for aws-k8s-test
* Turn on GO mod in integration test
  • Loading branch information
Cheng Pan committed Feb 9, 2019
1 parent 7d19895 commit 5f15461
Show file tree
Hide file tree
Showing 4,523 changed files with 10 additions and 1,439,502 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ Vagrantfile

# vim
*.swp

# go
./vendor
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
language: go
go_import_path: github.com/kubernetes-sigs/aws-ebs-csi-driver

dist: xenial
env:
global:
- GO111MODULE=off
- GO111MODULE=on

go:
- "1.10.x"
- "1.11.4"

before_install:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ VERSION=0.3.0-alpha
GIT_COMMIT?=$(shell git rev-parse HEAD)
BUILD_DATE?=$(shell date -u +"%Y-%m-%dT%H:%M:%SZ")
LDFLAGS?="-X ${PKG}/pkg/driver.driverVersion=${VERSION} -X ${PKG}/pkg/driver.gitCommit=${GIT_COMMIT} -X ${PKG}/pkg/driver.buildDate=${BUILD_DATE} -s -w"
GO111MODULE=on

# Hard-coded version is needed in case GitHub API rate limit is exceeded.
# TODO: When aws-k8s-tester becomes a full release (https://developer.github.com/v3/repos/releases/#get-the-latest-release), use:
# $(shell curl -s --request GET --url https://api.github.com/repos/aws/aws-k8s-tester/releases/latest | jq -r '.tag_name? // "<current version number>"')
AWS_K8S_TESTER_VERSION?=$(shell curl -s --request GET --url https://api.github.com/repos/aws/aws-k8s-tester/tags | jq -r '.[0]?.name // "0.2.0"')
AWS_K8S_TESTER_VERSION?=$(shell curl -s --request GET --url https://api.github.com/repos/aws/aws-k8s-tester/tags | jq -r '.[0]?.name // "0.2.5"')
AWS_K8S_TESTER_OS_ARCH?=$(shell go env GOOS)-amd64
AWS_K8S_TESTER_DOWNLOAD_URL?=https://github.com/aws/aws-k8s-tester/releases/download/${AWS_K8S_TESTER_VERSION}/aws-k8s-tester-${AWS_K8S_TESTER_VERSION}-${AWS_K8S_TESTER_OS_ARCH}
AWS_K8S_TESTER_PATH?=/tmp/aws-k8s-tester

.EXPORT_ALL_VARIABLES:

VPC_ID_FLAG=
ifdef AWS_K8S_TESTER_VPC_ID
VPC_ID_FLAG=--vpc-id=${AWS_K8S_TESTER_VPC_ID}
Expand Down
1 change: 1 addition & 0 deletions hack/test-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ if ! [[ "$0" =~ hack/test-integration.sh ]]; then
exit 127
fi

export GO111MODULE=on
go test -c ./tests/integration/... -o bin/integration.test && \
sudo -E bin/integration.test -test.v -ginkgo.v
13 changes: 0 additions & 13 deletions vendor/bitbucket.org/ww/goautoneg/Makefile

This file was deleted.

67 changes: 0 additions & 67 deletions vendor/bitbucket.org/ww/goautoneg/README.txt

This file was deleted.

162 changes: 0 additions & 162 deletions vendor/bitbucket.org/ww/goautoneg/autoneg.go

This file was deleted.

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.

Loading

0 comments on commit 5f15461

Please sign in to comment.