Repository navigation
Expand file tree
/
Copy pathMODULE.bazel
More file actions
66 lines (53 loc) · 2.6 KB
/
Copy pathMODULE.bazel
File metadata and controls
66 lines (53 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
module(
name = "rules_web_e2e",
version = "0.0.0",
bazel_compatibility = [">=8.5.0"],
)
# These rules and compilers build tools used by downstream browser targets.
bazel_dep(name = "rules_shell", version = "0.8.0")
bazel_dep(name = "platforms", version = "1.1.0")
bazel_dep(name = "aspect_rules_js", version = "3.4.1")
bazel_dep(name = "bazel_lib", version = "3.7.2")
bazel_dep(name = "tar.bzl", version = "0.10.4")
bazel_dep(name = "aspect_rules_ts", version = "3.10.1")
npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm")
npm.npm_translate_lock(
name = "rules_web_e2e_npm",
pnpm_lock = "//:pnpm-lock.yaml",
)
use_repo(npm, "rules_web_e2e_npm")
typescript = use_extension("@aspect_rules_ts//ts:extensions.bzl", "ext")
typescript.deps(ts_version = "7.0.2")
use_repo(typescript, "npm_typescript")
# Only consumers of the Linux preset download these locked package archives.
linux_presets = use_extension("//playwright:presets.bzl", "linux_presets")
use_repo(linux_presets, "rules_web_e2e_noble_20260901", "rules_web_e2e_noble_20260901_arm64")
# Used only by this repository's end-to-end worker setup.
http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
http_file(
name = "rules_web_e2e_actiond_source",
dev_dependency = True,
downloaded_file_path = "actiond.tar.gz",
sha256 = "efef39fc1d4888a8225eaca9f0663842ba60c256be8124265d917cd305226dc5",
urls = ["https://github.com/hermeticbuild/actiond/archive/4b767e852e21c5affa72ea7ebbf4d8a6e5d58136.tar.gz"],
)
# Build native test-launcher tools for consumers' Linux browser targets.
# The source overlays also need rules_license and rules_cc.
bazel_dep(name = "llvm", version = "0.8.19")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "zip", version = "3.0")
bazel_dep(name = "rules_cc", version = "0.2.22")
bazel_dep(name = "bazel_skylib", version = "1.9.0")
runtime_input_files = use_repo_rule("//tests:runtime_inputs_repo.bzl", "runtime_inputs_repo")
runtime_input_files(
name = "runtime_input_files",
dev_dependency = True,
)
test_tool_sources = use_extension("//internal/test_tools:repositories.bzl", "sources")
use_repo(test_tool_sources, "test_tools_libmagic", "test_tools_toybox")
# Identity metadata is lightweight; only supervisor users fetch the worker binary.
workers = use_extension("//worker:repositories.bzl", "workers")
use_repo(workers, "actiond_linux_amd64", "web_e2e_worker_identity")
bazel_dep(name = "bubblewrap", version = "0.13.0.bcr.1")
# libcap's sed generator needs the upstream header-layout fix with Bazel 8.
bazel_dep(name = "sed", version = "4.9.bcr.5")