11 Commits

Author SHA1 Message Date
Casey Callendrello
c44a76ddd3 Merge pull request #4 from containernetworking/plugins-travis
travis integration
2017-05-05 17:10:19 +02:00
Gabe Rosenhouse
1e3715157c travis integration
- go build instead of go install to support cross-compile to bin dir
- shellcheck fixes for build script
2017-05-03 12:22:14 -07:00
Dan Williams
c11286b835 Merge pull request #2 from dcbw/vlan
plugins: add a simple VLAN plugin
2017-04-26 12:54:05 -05:00
Dan Williams
076080eedf vlan: add VLAN plugin 2017-04-19 13:41:12 -05:00
Dan Williams
6b3bf7ea7b vendor: add CNI invoke, ip, ipam, and hwaddr packages 2017-04-18 23:49:26 -05:00
Dan Williams
7309649a66 test: CmdAddWithResult sets CNI_PATH from PATH
To actually use CNI plugins in the given CNI_PATH, we need to add
CNI_PATH to PATH because CmdAddWithResult() does this:

os.Setenv("CNI_PATH", os.Getenv("PATH"))
2017-04-18 23:49:26 -05:00
Dan Williams
9ef6f5f723 test: make tests actually work when packages have vendored imports
Go's "..." syntax (eg, ./plugins/...) doesn't traverse symlinks, so
go test wasn't finding the vendor/ directory for imports.  To get around
that we have to specify each testable package specifically rather
than use "...".
2017-04-18 23:40:46 -05:00
Casey Callendrello
559ffa1111 Add simple testing infrastructure 2017-03-13 18:05:55 +01:00
Casey Callendrello
168a5a0210 godeps: initial creation 2017-03-13 14:36:20 +01:00
Casey Callendrello
d62b9a0584 sample: create sample plugin 2017-03-13 14:31:58 +01:00
Casey Callendrello
fb4a7f477b Initial commit 2017-03-10 16:46:52 +01:00