BUILD.bazel 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "agent.go",
  10. "branch_protection.go",
  11. "build_status.go",
  12. "config.go",
  13. "githuboauth.go",
  14. "gitlaboauth.go",
  15. "jobs.go",
  16. "secrets_agent.go",
  17. "tide.go",
  18. ],
  19. importpath = "k8s.io/test-infra/prow/config",
  20. tags = ["manual"],
  21. deps = [
  22. "//vendor/github.com/ghodss/yaml:go_default_library",
  23. "//vendor/github.com/gorilla/sessions:go_default_library",
  24. "//vendor/github.com/knative/build/pkg/apis/build/v1alpha1:go_default_library",
  25. "//vendor/github.com/sirupsen/logrus:go_default_library",
  26. "//vendor/github.com/xanzy/go-gitlab:go_default_library",
  27. "//vendor/golang.org/x/oauth2:go_default_library",
  28. "//vendor/gopkg.in/robfig/cron.v2:go_default_library",
  29. "//vendor/k8s.io/api/core/v1:go_default_library",
  30. "//vendor/k8s.io/apimachinery/pkg/labels:go_default_library",
  31. "//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
  32. "//vendor/k8s.io/apimachinery/pkg/util/validation:go_default_library",
  33. "//vendor/k8s.io/test-infra/prow/apis/prowjobs/v1:go_default_library",
  34. "//vendor/k8s.io/test-infra/prow/config/org:go_default_library",
  35. "//vendor/k8s.io/test-infra/prow/gitserver:go_default_library",
  36. "//vendor/k8s.io/test-infra/prow/kube:go_default_library",
  37. "//vendor/k8s.io/test-infra/prow/pod-utils/decorate:go_default_library",
  38. "//vendor/k8s.io/test-infra/prow/pod-utils/downwardapi:go_default_library",
  39. ],
  40. )
  41. filegroup(
  42. name = "package-srcs",
  43. srcs = glob(["**"]),
  44. tags = ["automanaged"],
  45. visibility = ["//visibility:private"],
  46. )
  47. filegroup(
  48. name = "all-srcs",
  49. srcs = [
  50. ":package-srcs",
  51. "//vendor/k8s.io/test-infra/prow/config/org:all-srcs",
  52. ],
  53. tags = ["automanaged"],
  54. )