treewide: delete cloud/ except cloud/agent
bmdb is no longer used in production and would be hard to maintain. The only non-stub provider is Equinix Metal, which is shutting down in 2026, and we are moving away from CockroachDB. Keep the agent, which we'll need for Monogon Cloud.
Change-Id: If8b35c3ac8cdeed96a2b1814c0de7607e8acec63
Reviewed-on: https://review.monogon.dev/c/monogon/+/4235
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/build/bazel/go.MODULE.bazel b/build/bazel/go.MODULE.bazel
index d83abc6..c17ce55 100644
--- a/build/bazel/go.MODULE.bazel
+++ b/build/bazel/go.MODULE.bazel
@@ -17,7 +17,6 @@
"com_github_adrg_xdg",
"com_github_cavaliergopher_cpio",
"com_github_cenkalti_backoff_v4",
- "com_github_cockroachdb_cockroach_go_v2",
"com_github_container_storage_interface_spec",
"com_github_containerd_containerd_v2",
"com_github_containernetworking_plugins",
@@ -26,7 +25,6 @@
"com_github_diskfs_go_diskfs",
"com_github_gdamore_tcell_v2",
"com_github_go_delve_delve",
- "com_github_golang_migrate_migrate_v4",
"com_github_golangci_gofmt",
"com_github_google_cel_go",
"com_github_google_certificate_transparency_go",
@@ -36,13 +34,10 @@
"com_github_google_gopacket",
"com_github_google_nftables",
"com_github_google_uuid",
- "com_github_iancoleman_strcase",
- "com_github_improbable_eng_grpc_web",
"com_github_insomniacslk_dhcp",
"com_github_joho_godotenv",
"com_github_kballard_go_shellquote",
"com_github_klauspost_compress",
- "com_github_lib_pq",
"com_github_mattfenwick_cyclonus",
"com_github_mattn_go_shellwords",
"com_github_mdlayher_arp",
@@ -57,7 +52,6 @@
"com_github_opencontainers_go_digest",
"com_github_opencontainers_image_spec",
"com_github_opencontainers_runc",
- "com_github_packethost_packngo",
"com_github_pkg_errors",
"com_github_pkg_sftp",
"com_github_prometheus_client_golang",
@@ -86,7 +80,6 @@
"io_k8s_cli_runtime",
"io_k8s_client_go",
"io_k8s_component_base",
- "io_k8s_klog_v2",
"io_k8s_kubectl",
"io_k8s_kubelet",
"io_k8s_kubernetes",
diff --git a/build/bazel/third_party.MODULE.bazel b/build/bazel/third_party.MODULE.bazel
index ebdd2fd..d218d2f 100644
--- a/build/bazel/third_party.MODULE.bazel
+++ b/build/bazel/third_party.MODULE.bazel
@@ -78,25 +78,10 @@
],
)
-# CockroachDB binary used for tests.
-#
-# WARNING: Not distributed under an OSI certified license. Must only be used in
-# tests, not be redistributed!
+# CockroachDB repository used for linter passes.
COCKROACH_VERSION = "22.1.6"
http_archive(
- name = "cockroach",
- build_file = "//third_party/cockroach:cockroach.bzl",
- integrity = "sha256-CCHP9XcEAPuUyLbCqzONlvQRT78rMga8im3PYvnA9Oo=",
- strip_prefix = "cockroach-v%s.linux-amd64" % COCKROACH_VERSION,
- urls = [
- # TODO: select() to pick other host architectures.
- "https://binaries.cockroachdb.com/cockroach-v%s.linux-amd64.tgz" % COCKROACH_VERSION,
- ],
-)
-
-# CockroachDB repository used for linter passes.
-http_archive(
name = "com_github_cockroachdb_cockroach",
integrity = "sha256-bDVo7yRM5rh0aU7u7Lg+1PXV3/bPA3yVLs3naCimxQI=",
strip_prefix = "cockroach-" + COCKROACH_VERSION,