Skip to content

Commit

Permalink
Initial driver implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Sep 5, 2018
1 parent 8032364 commit 9ba4c5d
Show file tree
Hide file tree
Showing 1,002 changed files with 776,331 additions and 0 deletions.
293 changes: 293 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true

[[override]]
name = "gopkg.in/fsnotify.v1"
source = "https://github.com/fsnotify/fsnotify.git"

[[constraint]]
name = "github.com/aws/aws-sdk-go"
version = "1.14.28"

[[constraint]]
name = "github.com/container-storage-interface/spec"
version = "0.3.0"

[[constraint]]
branch = "master"
name = "github.com/golang/glog"

[[constraint]]
name = "google.golang.org/grpc"
version = "1.13.0"

[[constraint]]
name = "gopkg.in/gcfg.v1"
version = "1.2.3"

[prune]
go-tests = true
unused-packages = true
29 changes: 29 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
IMAGE=quay.io/bertinatto/ebs-csi-driver
VERSION=testing

.PHONY: ebs-csi-driver
ebs-csi-driver:
mkdir -p bin
go build -o bin/ebs-csi-driver ./cmd/ebs-csi-driver

.PHONY: test
test:
go test -v -race github.com/bertinatto/ebs-csi-driver/pkg/...

.PHONY: test-sanity
test-sanity:
go test -timeout 30s github.com/bertinatto/ebs-csi-driver/tests -run ^TestSanity$

.PHONY: test-e2e
test-e2e:
go test -v github.com/bertinatto/ebs-csi-driver/tests -run ^TestControllerE2E$

.PHONY: image
image: ebs-csi-driver
cp bin/ebs-csi-driver deploy/docker
docker build -t $(IMAGE):$(VERSION) deploy/docker
rm -f deploy/docker/ebs-csi-driver

.PHONY: push
push: image
docker push $(IMAGE):$(VERSION)
Loading

0 comments on commit 9ba4c5d

Please sign in to comment.