add godep.json to staging repos

This commit is contained in:
deads2k
2017-02-17 08:47:58 -05:00
parent 22e10bbc29
commit a53611ab3e
4 changed files with 158 additions and 11 deletions

View File

@@ -68,13 +68,7 @@ func main() {
// removes the Deps whose ImportPath contains "k8s.io/kubernetes"
i := 0
for _, dep := range g.Deps {
if strings.Contains(dep.ImportPath, "k8s.io/apimachinery") {
continue
}
if strings.Contains(dep.ImportPath, "k8s.io/kubernetes") {
continue
}
if strings.Contains(dep.ImportPath, "k8s.io/client-go") {
if strings.Contains(dep.ImportPath, "k8s.io/") {
continue
}
g.Deps[i] = dep