
- Move from the old github.com/golang/glog to k8s.io/klog - klog as explicit InitFlags() so we add them as necessary - we update the other repositories that we vendor that made a similar change from glog to klog * github.com/kubernetes/repo-infra * k8s.io/gengo/ * k8s.io/kube-openapi/ * github.com/google/cadvisor - Entirely remove all references to glog - Fix some tests by explicit InitFlags in their init() methods Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
47 lines
1003 B
Python
47 lines
1003 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
load("//build:bindata.bzl", "go_bindata")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"bindata.go",
|
|
"gobindata_util.go",
|
|
"main.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/test/e2e/generated",
|
|
deps = [
|
|
"//vendor/k8s.io/klog:go_default_library",
|
|
],
|
|
)
|
|
|
|
# IMPORTANT: if you make any changes here, you must also update hack/generate-bindata.sh.
|
|
go_bindata(
|
|
name = "bindata",
|
|
srcs = [
|
|
"//test/e2e/testing-manifests:all-srcs",
|
|
"//test/fixtures:all-srcs",
|
|
"//test/images:all-srcs",
|
|
],
|
|
outs = ["bindata.go"],
|
|
compress = True,
|
|
include_metadata = False,
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|