mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-21 01:24:31 +00:00
Add version into binary and fix .travis.yml to run forked repo.
This changes introduce goreleaser, which does cross-compile and package, as well as add version into go code. This change also changes .travis.yml to allow to other users' forked repo.
This commit is contained in:
committed by
Tomofumi Hayashi
parent
344e74f971
commit
6a46d54161
@@ -28,7 +28,7 @@ import (
|
||||
"github.com/containernetworking/cni/pkg/skel"
|
||||
cnitypes "github.com/containernetworking/cni/pkg/types"
|
||||
"github.com/containernetworking/cni/pkg/types/020"
|
||||
"github.com/containernetworking/cni/pkg/version"
|
||||
cniversion "github.com/containernetworking/cni/pkg/version"
|
||||
"github.com/containernetworking/plugins/pkg/ns"
|
||||
"github.com/containernetworking/plugins/pkg/testutils"
|
||||
|
||||
@@ -52,7 +52,7 @@ type fakePlugin struct {
|
||||
}
|
||||
|
||||
type fakeExec struct {
|
||||
version.PluginDecoder
|
||||
cniversion.PluginDecoder
|
||||
|
||||
addIndex int
|
||||
delIndex int
|
||||
|
Reference in New Issue
Block a user