blob: 69663fbccd09fd378654df8560fc21fa5e8a44fd [file] [log] [blame]
Serge Bazanski31370b02021-01-07 16:31:14 +01001workspace(name = "dev_source_monogon")
Leopold Schabel5c80aca2019-10-22 15:48:58 +02002
Lorenz Brunc88c82d2020-05-08 14:35:04 +02003load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
Leopold Schabel5c80aca2019-10-22 15:48:58 +02004load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
5
Leopold Schabel5c80aca2019-10-22 15:48:58 +02006# Assert minimum Bazel version
7
8load("@bazel_skylib//lib:versions.bzl", "versions")
9
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010010versions.check(minimum_bazel_version = "7.0.0")
Lorenz Brun5acd3802023-08-29 23:15:06 +020011
Leopoldbc93c2b2023-01-14 13:12:23 +010012# Register our custom CC toolchains. Order matters - more specific toolchains must be registered first.
13# (host_cc_toolchain won't care about //build/platforms/linkmode, but musl_host_toolchain won't
14# match anything unless its linkmode is set).
15register_toolchains("//build/toolchain/musl-host-gcc:musl_host_toolchain")
Tim Windelschmidtf83f5032023-07-04 14:59:14 +020016
Leopoldbc93c2b2023-01-14 13:12:23 +010017register_toolchains("//build/toolchain/llvm-efi:efi_k8_toolchain")
Tim Windelschmidtf83f5032023-07-04 14:59:14 +020018
Leopoldbc93c2b2023-01-14 13:12:23 +010019register_toolchains("//build/toolchain:host_cc_toolchain")
Leopold Schabel5c80aca2019-10-22 15:48:58 +020020
21# Go and Gazelle
Leopold Schabel5c80aca2019-10-22 15:48:58 +020022http_archive(
23 name = "io_bazel_rules_go",
Lorenz Brunadb98f92022-07-04 14:09:41 +000024 patch_args = ["-p1"],
25 patches = [
Lorenz Brun073a1c52022-08-02 11:36:36 +000026 "//third_party/go/patches:rules_go_absolute_embedsrc.patch",
Lorenz Brunadb98f92022-07-04 14:09:41 +000027 ],
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010028 sha256 = "de7974538c31f76658e0d333086c69efdf6679dbc6a466ac29e65434bf47076d",
Leopold Schabel5c80aca2019-10-22 15:48:58 +020029 urls = [
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010030 "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
31 "https://github.com/bazelbuild/rules_go/releases/download/v0.45.0/rules_go-v0.45.0.zip",
Leopold Schabel5c80aca2019-10-22 15:48:58 +020032 ],
33)
34
35http_archive(
36 name = "bazel_gazelle",
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010037 integrity = "sha256-MpOL2hbmcABjA1R5Bj2dJMYO2o15/Uc5Vj9Q0zHLMgk=",
Lorenz Brun2073ce32021-02-03 18:52:59 +010038 patch_args = ["-p1"],
Lorenz Brunefb028f2020-07-28 17:04:49 +020039 patches = [
40 "//third_party/gazelle:add-prepatching.patch",
41 ],
Leopold Schabel5c80aca2019-10-22 15:48:58 +020042 urls = [
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010043 "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz",
44 "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.35.0/bazel-gazelle-v0.35.0.tar.gz",
Leopold Schabel5c80aca2019-10-22 15:48:58 +020045 ],
46)
47
48load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
Lorenz Brund13c1c62022-03-30 19:58:58 +020049load("//third_party/go:repositories.bzl", "go_repositories")
50
51# gazelle:repository_macro third_party/go/repositories.bzl%go_repositories
Tim Windelschmidtf83f5032023-07-04 14:59:14 +020052# gazelle:repository go_repository name=dev_source_monogon importpath=source.monogon.dev
Lorenz Brund13c1c62022-03-30 19:58:58 +020053go_repositories()
54
Leopold Schabel5c80aca2019-10-22 15:48:58 +020055go_rules_dependencies()
56
Leopold Schabel60a85b62019-11-17 19:12:41 +010057go_register_toolchains(
Lorenz Brun4ae4b7a2023-12-21 15:50:46 +010058 go_version = "1.21.5",
Serge Bazanski0ef96292021-05-21 15:41:32 +020059 nogo = "@dev_source_monogon//build/analysis:nogo",
Leopold Schabel60a85b62019-11-17 19:12:41 +010060)
Leopold Schabel5c80aca2019-10-22 15:48:58 +020061
Lorenz Brunc2e3b1b2021-11-11 11:06:41 +010062load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
63
64# Load Gazelle-generated local dependencies
65gazelle_dependencies()
66
Leopold Schabel5c80aca2019-10-22 15:48:58 +020067# Protobuf
68
69http_archive(
Leopoldbc93c2b2023-01-14 13:12:23 +010070 name = "rules_proto",
71 sha256 = "dc3fb206a2cb3441b485eb1e423165b231235a1ea9b031b4433cf7bc1fa460dd",
72 strip_prefix = "rules_proto-5.3.0-21.7",
73 urls = [
74 "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz",
75 ],
Leopold Schabel5c80aca2019-10-22 15:48:58 +020076)
77
Leopoldbc93c2b2023-01-14 13:12:23 +010078load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
Leopold Schabel5c80aca2019-10-22 15:48:58 +020079
Leopoldbc93c2b2023-01-14 13:12:23 +010080rules_proto_dependencies()
Tim Windelschmidtf83f5032023-07-04 14:59:14 +020081
Leopoldbc93c2b2023-01-14 13:12:23 +010082rules_proto_toolchains()
Leopold Schabel5c80aca2019-10-22 15:48:58 +020083
Lorenz Brun65702192023-08-31 16:27:38 +020084# GRPC
85http_archive(
86 name = "com_github_grpc_grpc",
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010087 integrity = "sha256-Q3BouLd307M52pTTSY8dwgZCrJv6dttDq91SIYaxVCs=",
Lorenz Brun65702192023-08-31 16:27:38 +020088 patch_args = ["-p1"],
89 patches = ["//third_party/go/patches:grpc_extra_deps.patch"],
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010090 strip_prefix = "grpc-1.60.0",
Lorenz Brun65702192023-08-31 16:27:38 +020091 urls = [
Tim Windelschmidt961a7cc2024-01-13 21:00:02 +010092 "https://github.com/grpc/grpc/archive/v1.60.0.tar.gz",
Lorenz Brun65702192023-08-31 16:27:38 +020093 ],
94)
95
96load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
97
98grpc_deps()
99
100load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
101
102grpc_extra_deps()
103
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200104# Rust rules
105http_archive(
106 name = "rules_rust",
Lorenz Brunf551a762023-08-29 23:21:25 +0200107 patch_args = ["-p1"],
108 patches = [
109 "//third_party:rust-uefi-platform.patch",
Lorenz Brund141d182023-10-02 15:07:01 +0200110 "//third_party:rust-prost-nostd.patch",
Serge Bazanski4f00f902023-12-19 13:54:04 +0100111 "//third_party:rust-reproducibility.patch",
Lorenz Brunf551a762023-08-29 23:21:25 +0200112 ],
Lorenz Brund141d182023-10-02 15:07:01 +0200113 sha256 = "c46bdafc582d9bd48a6f97000d05af4829f62d5fee10a2a3edddf2f3d9a232c1",
114 urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.28.0/rules_rust-v0.28.0.tar.gz"],
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200115)
116
Lorenz Brund141d182023-10-02 15:07:01 +0200117load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains")
Leopold2aa8b182023-01-14 23:31:43 +0100118
Lorenz Brunf551a762023-08-29 23:21:25 +0200119rules_rust_dependencies()
120
121# Rust Toolchains
Lorenz Brund141d182023-10-02 15:07:01 +0200122rust_register_toolchains(
Lorenz Brunf551a762023-08-29 23:21:25 +0200123 edition = "2021",
Lorenz Brunf551a762023-08-29 23:21:25 +0200124 extra_target_triples = [
125 "x86_64-unknown-linux-gnu",
126 "x86_64-unknown-uefi",
127 ],
Lorenz Brund141d182023-10-02 15:07:01 +0200128 versions = ["1.71.0"], # Linking EFI binaries is broken in 1.72
Lorenz Brunf551a762023-08-29 23:21:25 +0200129)
Leopold2aa8b182023-01-14 23:31:43 +0100130
131load("//third_party/rust/cargo:crates.bzl", "raze_fetch_remote_crates")
132
133raze_fetch_remote_crates()
Serge Bazanskicbf1fa92021-07-02 17:28:50 +0200134
Lorenz Brund141d182023-10-02 15:07:01 +0200135load("//third_party/rust_efi/cargo:crates.bzl", "rsefi_fetch_remote_crates")
136
137rsefi_fetch_remote_crates()
138
139load("@rules_rust//proto/prost:repositories.bzl", "rust_prost_dependencies")
140
141rust_prost_dependencies()
142
143load("@rules_rust//proto/prost:transitive_repositories.bzl", "rust_prost_transitive_repositories")
144
145rust_prost_transitive_repositories()
146
147register_toolchains("//build/rust:prost_efi_toolchain")
148
Serge Bazanski2fb13a82020-02-11 12:41:37 +0100149# third_party external repositories
150load("//third_party/linux:external.bzl", "linux_external")
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100151
152linux_external(
153 name = "linux",
Lorenz Brun4327e8f2023-12-21 16:01:54 +0100154 version = "6.1.69",
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100155)
Leopold Schabel5c80aca2019-10-22 15:48:58 +0200156
Lorenz Brun17c4c8b2022-02-01 12:59:47 +0100157load("//third_party/linux-firmware:external.bzl", "linux_firmware_external")
158
159linux_firmware_external(
160 name = "linux-firmware",
Lorenz Brun60efa442023-12-21 15:52:53 +0100161 version = "20231211",
Lorenz Brun17c4c8b2022-02-01 12:59:47 +0100162)
163
Lorenz Brun80deba52022-02-24 17:07:13 +0100164load("//third_party/intel_ucode:external.bzl", "intel_ucode_external")
165
166intel_ucode_external(
167 name = "intel_ucode",
Lorenz Brun087152b2023-12-21 16:04:24 +0100168 version = "20231114",
Lorenz Brun80deba52022-02-24 17:07:13 +0100169)
170
Serge Bazanski2fb13a82020-02-11 12:41:37 +0100171load("//third_party/edk2:external.bzl", "edk2_external")
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100172
173edk2_external(name = "edk2")
Leopold Schabel5c80aca2019-10-22 15:48:58 +0200174
Serge Bazanski2fb13a82020-02-11 12:41:37 +0100175load("//third_party/musl:external.bzl", "musl_external")
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100176
177musl_external(
178 name = "musl",
179 version = "1.1.24",
180)
Leopold Schabel5c80aca2019-10-22 15:48:58 +0200181
Serge Bazanski2fb13a82020-02-11 12:41:37 +0100182load("//third_party/util-linux:external.bzl", "util_linux_external")
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100183
184util_linux_external(
185 name = "util_linux",
Lorenz Brunddd6caf2021-03-04 17:16:04 +0100186 version = "2.36.2",
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100187)
Leopold Schabel5c80aca2019-10-22 15:48:58 +0200188
Serge Bazanski2fb13a82020-02-11 12:41:37 +0100189load("//third_party/xfsprogs:external.bzl", "xfsprogs_external")
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100190
191xfsprogs_external(
192 name = "xfsprogs",
Lorenz Brunddd6caf2021-03-04 17:16:04 +0100193 version = "5.10.0",
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100194)
Lorenz Brun6c39ea12019-11-04 11:39:42 +0100195
Lorenz Brun0de18932021-03-11 00:36:48 +0100196load("//third_party/pixman:external.bzl", "pixman_external")
197
198pixman_external(
199 name = "pixman",
200 version = "0.40.0",
201)
202
203load("//third_party/uring:external.bzl", "uring_external")
204
205uring_external(
206 name = "uring",
207 version = "2.0",
208)
209
210load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
211
212git_repository(
213 name = "gperf",
214 commit = "de9373c2d48a3edf29862eb8be44764a7f7d24c6",
Leopold Schabel57a9d3e2021-04-01 17:31:48 +0200215 remote = "https://github.com/monogon-dev/gperf.git",
Lorenz Brun0de18932021-03-11 00:36:48 +0100216 shallow_since = "1615306886 +0100",
217)
218
219load("//third_party/seccomp:external.bzl", "seccomp_external")
220
221seccomp_external(
222 name = "seccomp",
223 version = "2.5.1",
224)
225
226load("//third_party/glib:external.bzl", "glib_external")
227
228glib_external(
229 name = "glib",
230 version = "2.67.5",
231)
232
233load("//third_party/qemu:external.bzl", "qemu_external")
234
235qemu_external(
236 name = "qemu",
237 version = "5.2.0",
238)
239
Serge Bazanski8ff4b7c2021-08-17 19:21:18 +0200240load("//third_party/chrony:external.bzl", "chrony_external")
241
242chrony_external(
243 name = "chrony",
244)
245
Lorenz Brun40025ff2021-08-31 13:06:02 +0200246load("//third_party/cap:external.bzl", "cap_external")
247
248cap_external(
249 name = "cap",
250 version = "1.2.55",
251)
252
Lorenz Brun296bde22021-09-28 15:04:40 +0200253load("//third_party/gnuefi:external.bzl", "gnuefi_external")
254
255gnuefi_external(
256 name = "gnuefi",
257 version = "3.0.14",
258)
259
Lorenz Brun5d40c672021-09-28 15:06:37 +0200260load("//third_party/efistub:external.bzl", "efistub_external")
261
262efistub_external(
263 name = "efistub",
264 # Developed in the systemd monorepo, pinned to master as there have been a bunch of critical fixes for the
265 # EFI stub since 249.
266 version = "3542da2442d8b29661b47c42ad7e5fa9bc8562ec",
267)
268
Serge Bazanski46e72ab2022-09-05 15:13:22 +0200269load("//third_party/libpg_query:external.bzl", "libpg_query_external")
Tim Windelschmidtf83f5032023-07-04 14:59:14 +0200270
Serge Bazanski46e72ab2022-09-05 15:13:22 +0200271libpg_query_external(
272 name = "libpg_query",
Tim Windelschmidt3fdaeac2023-11-13 23:33:07 +0100273 version = "15-4.2.3",
Serge Bazanski46e72ab2022-09-05 15:13:22 +0200274)
275
Serge Bazanskibb7db922020-04-30 12:43:10 +0200276register_toolchains("//:host_python")
Lorenz Brun7b5d9942020-03-19 16:14:02 +0100277
Tim Windelschmidt0974b222024-01-16 14:04:15 +0100278http_archive(
279 name = "aspect_bazel_lib",
280 sha256 = "bda4a69fa50411b5feef473b423719d88992514d259dadba7d8218a1d02c7883",
281 strip_prefix = "bazel-lib-2.3.0",
282 url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.3.0/bazel-lib-v2.3.0.tar.gz",
283)
284
285load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")
286
287# Required bazel-lib dependencies
288
289aspect_bazel_lib_dependencies()
290
291# Register bazel-lib toolchains
292
293aspect_bazel_lib_register_toolchains()
Serge Bazanskibb7db922020-04-30 12:43:10 +0200294
295http_archive(
Tim Windelschmidt0974b222024-01-16 14:04:15 +0100296 name = "rules_oci",
297 sha256 = "58b7a175ee90c12583afeca388523adf6a4e5a0528f330b41c302b91a4d6fc06",
298 strip_prefix = "rules_oci-1.6.0",
299 url = "https://github.com/bazel-contrib/rules_oci/releases/download/v1.6.0/rules_oci-v1.6.0.tar.gz",
Serge Bazanskibb7db922020-04-30 12:43:10 +0200300)
Lorenz Brunc88c82d2020-05-08 14:35:04 +0200301
Tim Windelschmidt0974b222024-01-16 14:04:15 +0100302load("@rules_oci//oci:dependencies.bzl", "rules_oci_dependencies")
303
304rules_oci_dependencies()
305
306load("@rules_oci//oci:repositories.bzl", "LATEST_CRANE_VERSION", "oci_register_toolchains")
307
308oci_register_toolchains(
309 name = "oci",
310 crane_version = LATEST_CRANE_VERSION,
311 # Uncommenting the zot toolchain will cause it to be used instead of crane for some tasks.
312 # Note that it does not support docker-format images.
313 # zot_version = LATEST_ZOT_VERSION,
Lorenz Brun8b0431a2020-07-13 16:56:36 +0200314)
315
Tim Windelschmidt0974b222024-01-16 14:04:15 +0100316# You can pull your base images using oci_pull like this:
317load("@rules_oci//oci:pull.bzl", "oci_pull")
Lorenz Brun8b0431a2020-07-13 16:56:36 +0200318
Tim Windelschmidt0974b222024-01-16 14:04:15 +0100319oci_pull(
320 name = "distroless_base",
321 digest = "sha256:6c1e34e2f084fe6df17b8bceb1416f1e11af0fcdb1cef11ee4ac8ae127cb507c",
322 image = "gcr.io/distroless/base",
323 platforms = [
324 "linux/amd64",
325 "linux/arm64",
326 ],
Lorenz Brun8b0431a2020-07-13 16:56:36 +0200327)
328
Lorenz Brunc88c82d2020-05-08 14:35:04 +0200329# Derived from Mozilla NSS, currently needed for containerd to be able to pull images
330http_file(
331 name = "cacerts",
Lorenz Brun7da4d3c2023-03-27 17:38:47 +0200332 sha256 = "fb1ecd641d0a02c01bc9036d513cb658bbda62a75e246bedbc01764560a639f0",
333 urls = ["https://curl.se/ca/cacert-2023-01-10.pem"],
Lorenz Brunc88c82d2020-05-08 14:35:04 +0200334)
Serge Bazanski140bddc2020-06-05 21:01:19 +0200335
336# lz4, the library and the tool.
337http_archive(
338 name = "com_github_lz4_lz4",
339 patch_args = ["-p1"],
340 patches = ["//third_party/lz4:build.patch"],
341 sha256 = "658ba6191fa44c92280d4aa2c271b0f4fbc0e34d249578dd05e50e76d0e5efcc",
342 strip_prefix = "lz4-1.9.2",
343 urls = ["https://github.com/lz4/lz4/archive/v1.9.2.tar.gz"],
344)
Lorenz Brun2e30e882020-06-24 15:17:29 +0200345
Lorenz Brunddd6caf2021-03-04 17:16:04 +0100346# ini.h, a tiny ini parser library
347http_archive(
348 name = "inih",
349 build_file = "@//third_party/inih:inih.bzl",
350 sha256 = "01b0366fdfdf6363efc070c2f856f1afa33e7a6546548bada5456ad94a516241",
351 strip_prefix = "inih-r53",
352 urls = ["https://github.com/benhoyt/inih/archive/r53.tar.gz"],
353)
354
Lorenz Brun2e30e882020-06-24 15:17:29 +0200355# qboot bootloader for MicroVMs
356http_archive(
357 name = "com_github_bonzini_qboot",
358 build_file = "//third_party/qboot:qboot.bzl",
359 sha256 = "a643b2486fbee57b969659d408984094ca9afa1a048317dd3f5d3022e47213e8",
360 strip_prefix = "qboot-a5300c4949b8d4de2d34bedfaed66793f48ec948",
361 urls = ["https://github.com/bonzini/qboot/archive/a5300c4949b8d4de2d34bedfaed66793f48ec948.tar.gz"],
362)
Serge Bazanski9e861a82020-09-16 13:46:41 +0200363
Lorenz Brun073a1c52022-08-02 11:36:36 +0000364load("//third_party/dosfstools:external.bzl", "dosfstools_external")
365
366dosfstools_external(
367 name = "com_github_dosfstools_dosfstools",
368 version = "c888797b1d84ffbb949f147e3116e8bfb2e145a7",
369)
370
Serge Bazanski662b5b32020-12-21 13:49:00 +0100371# Load musl toolchain Metropolis sysroot tarball into external repository.
Serge Bazanski9e861a82020-09-16 13:46:41 +0200372load("//build/toolchain/musl-host-gcc:sysroot.bzl", "musl_sysroot_repositories")
Lorenz Brun2073ce32021-02-03 18:52:59 +0100373
Serge Bazanski9e861a82020-09-16 13:46:41 +0200374musl_sysroot_repositories()
Serge Bazanski1e9d7d82022-09-15 18:45:44 +0200375
376# CockroachDB binary used for tests.
377#
378# WARNING: Not distributed under an OSI certified license. Must only be used in
379# tests, not be redistributed!
380http_archive(
381 name = "cockroach",
Serge Bazanski1e9d7d82022-09-15 18:45:44 +0200382 build_file_content = """
383exports_files([
384 "cockroach"
385])
386""",
Tim Windelschmidtf83f5032023-07-04 14:59:14 +0200387 sha256 = "0821cff5770400fb94c8b6c2ab338d96f4114fbf2b3206bc8a6dcf62f9c0f4ea",
388 strip_prefix = "cockroach-v22.1.6.linux-amd64",
389 urls = [
390 # TODO: select() to pick other host architectures.
391 "https://binaries.cockroachdb.com/cockroach-v22.1.6.linux-amd64.tgz",
392 ],
Serge Bazanski1e9d7d82022-09-15 18:45:44 +0200393)
Leopoldbe326c22023-01-04 20:42:59 +0100394
395# bazeldnf is used to generate our sandbox root.
Tim Windelschmidta5588e12023-09-20 19:43:15 +0200396load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
397
Leopoldbe326c22023-01-04 20:42:59 +0100398http_archive(
399 name = "bazeldnf",
Tim Windelschmidt37dbb942023-11-13 16:06:18 +0100400 sha256 = "cd75fbbad6f191c26b036132d57ca731cce067e9330306a8a2beb3e51af991a8",
Leopoldbe326c22023-01-04 20:42:59 +0100401 urls = [
Tim Windelschmidt37dbb942023-11-13 16:06:18 +0100402 "https://github.com/rmohr/bazeldnf/releases/download/v0.5.8/bazeldnf-v0.5.8.tar.gz",
Leopoldbe326c22023-01-04 20:42:59 +0100403 ],
404)
405
Tim Windelschmidta5588e12023-09-20 19:43:15 +0200406load("@bazeldnf//:deps.bzl", "bazeldnf_dependencies")
Leopoldbe326c22023-01-04 20:42:59 +0100407
408bazeldnf_dependencies()
Leopold7fbf1042023-01-06 19:57:37 +0100409
410load("//third_party/sandboxroot:repositories.bzl", "sandbox_dependencies")
411
412sandbox_dependencies()
Lorenz Brun2d284b52023-03-08 17:05:12 +0100413
414# Used by tests in cloud/takeover
415http_file(
416 name = "debian_11_cloudimage",
417 sha256 = "14caeec68ba3129a115a9b57396d08dc0973cc9f569ce049232d7d15d768ad41",
418 urls = [
419 "https://cloud.debian.org/images/cloud/bullseye/20230124-1270/debian-11-genericcloud-amd64-20230124-1270.qcow2",
420 ],
Serge Bazanski213d90c2023-04-19 17:42:06 +0200421)