build: some small improvements; bump to go1.10

- bump to go 1.10
- Add a linker tag with the build version
- Remove fastbuild, go builds are cached now
- Use better ginkgo suite names
This commit is contained in:
Casey Callendrello
2018-04-12 14:01:10 +02:00
parent e4f13535ab
commit aade7b93ee
27 changed files with 35 additions and 46 deletions

View File

@ -23,5 +23,5 @@ import (
func TestBridge(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "bridge Suite")
RunSpecs(t, "plugins/main/bridge")
}

View File

@ -23,5 +23,5 @@ import (
func TestVlan(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "host-device Suite")
RunSpecs(t, "plugins/main/host-device")
}

View File

@ -23,5 +23,5 @@ import (
func TestIpvlan(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "ipvlan Suite")
RunSpecs(t, "plugins/main/ipvlan")
}

View File

@ -27,7 +27,7 @@ var pathToLoPlugin string
func TestLoopback(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Loopback Suite")
RunSpecs(t, "plugins/main/loopback")
}
var _ = BeforeSuite(func() {

View File

@ -23,5 +23,5 @@ import (
func TestMacvlan(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "macvlan Suite")
RunSpecs(t, "plugins/main/macvlan")
}

View File

@ -23,5 +23,5 @@ import (
func TestPtp(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "ptp Suite")
RunSpecs(t, "plugins/main/ptp")
}

View File

@ -23,5 +23,5 @@ import (
func TestVlan(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "vlan Suite")
RunSpecs(t, "plugins/main/vlan")
}