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 TestIp(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Ip Suite")
RunSpecs(t, "pkg/ip")
}

View File

@ -23,5 +23,5 @@ import (
func TestIpam(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Ipam Suite")
RunSpecs(t, "pkg/ipam")
}

View File

@ -30,5 +30,5 @@ func TestNs(t *testing.T) {
runtime.LockOSThread()
RegisterFailHandler(Fail)
RunSpecs(t, "pkg/ns Suite")
RunSpecs(t, "pkg/ns")
}

View File

@ -9,5 +9,5 @@ import (
func TestEchosvr(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Testutils Echosvr Suite")
RunSpecs(t, "pkg/testutils/echosvr")
}

View File

@ -23,5 +23,5 @@ import (
func TestHwaddr(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Hwaddr Suite")
RunSpecs(t, "pkg/utils/hwaddr")
}

View File

@ -23,5 +23,5 @@ import (
func TestUtils(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Utils Suite")
RunSpecs(t, "pkg/utils")
}