BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. load("@io_k8s_repo_infra//defs:build.bzl", "release_filegroup")
  2. # Having the Windows code from the GCE cluster deploy hosted with the release is
  3. # useful for GKE. This list should match the list in k8s.io/release/lib/releaselib.sh.
  4. # IMPORTANT PLEASE NOTE:
  5. # Any time the file structure in the `windows` directory changes, `windows/BUILD`
  6. # and `k8s.io/release/lib/releaselib.sh` must be manually updated with the changes.
  7. # We HIGHLY recommend not changing the file structure, because consumers of
  8. # Kubernetes releases depend on the release structure remaining stable.
  9. release_filegroup(
  10. name = "gcs-release-artifacts",
  11. srcs = [
  12. "common.psm1",
  13. "configure.ps1",
  14. "k8s-node-setup.psm1",
  15. "testonly/install-ssh.psm1",
  16. "testonly/user-profile.psm1",
  17. ],
  18. visibility = ["//visibility:public"],
  19. )
  20. filegroup(
  21. name = "package-srcs",
  22. srcs = glob(["**"]),
  23. tags = ["automanaged"],
  24. visibility = ["//visibility:private"],
  25. )
  26. filegroup(
  27. name = "all-srcs",
  28. srcs = [":package-srcs"],
  29. tags = ["automanaged"],
  30. visibility = ["//visibility:public"],
  31. )