# gazelle:repository_macro hack/build/repos.bzl%go_repositories workspace(name = "com_github_jetstack_cert_manager") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "com_google_protobuf", sha256 = "65e020a42bdab44a66664d34421995829e9e79c60e5adaa08282fd14ca552f57", strip_prefix = "protobuf-3.15.6", urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.15.6.tar.gz"], ) load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") protobuf_deps() ## Load rules_go and dependencies http_archive( name = "io_bazel_rules_go", sha256 = "69de5c704a05ff37862f7e0f5534d4f479418afc21806c887db544a316f3cb6b", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", "https://github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", ], ) load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") go_rules_dependencies() go_register_toolchains( nogo = "@//hack/build:nogo_vet", version = "1.16.2", ) ## Load gazelle and dependencies http_archive( name = "bazel_gazelle", sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz", ], ) load("//hack/build:repos.bzl", "go_repositories") go_repositories() load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") gazelle_dependencies() ## Load kubernetes repo-infra for tools like kazel http_archive( name = "io_k8s_repo_infra", sha256 = "f705b85b239f53fda5253d36087d09b0162ea65f3baa74b83bd249133032d29b", strip_prefix = "repo-infra-0.1.5", urls = [ "https://github.com/kubernetes/repo-infra/archive/v0.1.5.tar.gz", ], ) ## Load rules_docker and dependencies, for working with docker images http_archive( name = "io_bazel_rules_docker", sha256 = "4521794f0fba2e20f3bf15846ab5e01d5332e587e9ce81629c7f96c793bb7036", strip_prefix = "rules_docker-0.14.4", urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.14.4/rules_docker-v0.14.4.tar.gz"], ) load( "@io_bazel_rules_docker//repositories:repositories.bzl", container_repositories = "repositories", ) container_repositories() load("@io_bazel_rules_docker//repositories:deps.bzl", container_deps = "deps") container_deps() load("@io_bazel_rules_docker//repositories:pip_repositories.bzl", "pip_deps") pip_deps() load( "@io_bazel_rules_docker//container:container.bzl", "container_pull", ) load("@io_bazel_rules_docker//go:image.bzl", _go_image_repos = "repositories") _go_image_repos() # Load and define targets defined in //hack/bin load("//hack/bin:deps.bzl", install_hack_bin = "install") install_hack_bin() # Load and define targets defined in //test/e2e load("//test/e2e:images.bzl", install_e2e_images = "install") install_e2e_images() # Install build image targets load("//build:images.bzl", "define_base_images") define_base_images()