BUILD 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "//build:go.bzl",
  4. go_test = "go_test_conditional_pure",
  5. )
  6. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  7. go_test(
  8. name = "go_default_test",
  9. srcs = [
  10. "bootstrap_token_test.go",
  11. "cluster_info_test.go",
  12. "controlplane_nodes_test.go",
  13. "dns_addon_test.go",
  14. "e2e_kubeadm_suite_test.go",
  15. "kubeadm_certs_test.go",
  16. "kubeadm_config_test.go",
  17. "kubelet_config_test.go",
  18. "networking_test.go",
  19. "nodes_test.go",
  20. "proxy_addon_test.go",
  21. ],
  22. out = "e2e_kubeadm.test",
  23. embed = [":go_default_library"],
  24. tags = ["e2e"],
  25. deps = [
  26. "//staging/src/k8s.io/api/authorization/v1:go_default_library",
  27. "//staging/src/k8s.io/api/core/v1:go_default_library",
  28. "//staging/src/k8s.io/api/rbac/v1:go_default_library",
  29. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  30. "//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
  31. "//staging/src/k8s.io/apimachinery/pkg/util/version:go_default_library",
  32. "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
  33. "//staging/src/k8s.io/cluster-bootstrap/token/api:go_default_library",
  34. "//test/e2e/framework:go_default_library",
  35. "//test/e2e/framework/config:go_default_library",
  36. "//test/e2e/framework/skipper:go_default_library",
  37. "//vendor/github.com/onsi/ginkgo:go_default_library",
  38. "//vendor/github.com/onsi/ginkgo/config:go_default_library",
  39. "//vendor/github.com/onsi/ginkgo/reporters:go_default_library",
  40. "//vendor/github.com/onsi/gomega:go_default_library",
  41. "//vendor/github.com/spf13/pflag:go_default_library",
  42. "//vendor/gopkg.in/yaml.v2:go_default_library",
  43. ],
  44. )
  45. filegroup(
  46. name = "package-srcs",
  47. srcs = glob(["**"]),
  48. tags = ["automanaged"],
  49. visibility = ["//visibility:private"],
  50. )
  51. filegroup(
  52. name = "all-srcs",
  53. srcs = [
  54. ":package-srcs",
  55. "//test/e2e_kubeadm/runner/local:all-srcs",
  56. "//test/e2e_kubeadm/tests:all-srcs",
  57. ],
  58. tags = ["automanaged"],
  59. visibility = ["//visibility:public"],
  60. )
  61. go_library(
  62. name = "go_default_library",
  63. srcs = [
  64. "bootstrap_signer.go",
  65. "const.go",
  66. "framework.go",
  67. "util.go",
  68. ],
  69. importpath = "k8s.io/kubernetes/test/e2e_kubeadm",
  70. visibility = ["//visibility:public"],
  71. deps = [
  72. "//staging/src/k8s.io/api/apps/v1:go_default_library",
  73. "//staging/src/k8s.io/api/authorization/v1:go_default_library",
  74. "//staging/src/k8s.io/api/core/v1:go_default_library",
  75. "//staging/src/k8s.io/api/rbac/v1:go_default_library",
  76. "//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  77. "//staging/src/k8s.io/client-go/kubernetes:go_default_library",
  78. "//test/e2e/framework:go_default_library",
  79. "//vendor/github.com/onsi/ginkgo:go_default_library",
  80. "//vendor/github.com/onsi/gomega:go_default_library",
  81. "//vendor/github.com/onsi/gomega/gstruct:go_default_library",
  82. ],
  83. )