| workspace(name = "e2e_core") |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| local_repository( |
| name = "rules_nodejs", |
| path = "../..", |
| ) |
| |
| http_archive( |
| name = "aspect_bazel_lib", |
| sha256 = "97fa63d95cc9af006c4c7b2123ddd2a91fb8d273012f17648e6423bae2c69470", |
| strip_prefix = "bazel-lib-1.30.2", |
| url = "https://github.com/aspect-build/bazel-lib/releases/download/v1.30.2/bazel-lib-v1.30.2.tar.gz", |
| ) |
| |
| load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") |
| |
| aspect_bazel_lib_dependencies() |
| |
| load("@rules_nodejs//nodejs:repositories.bzl", "nodejs_register_toolchains", "rules_nodejs_dependencies") |
| |
| rules_nodejs_dependencies() |
| |
| # The order matters because Bazel will provide the first registered toolchain when a rule asks Bazel to select it |
| # This applies to the resolved_toolchain |
| nodejs_register_toolchains( |
| name = "node16", |
| node_version = "16.5.0", |
| ) |
| |
| nodejs_register_toolchains( |
| name = "node15", |
| node_version = "15.14.0", |
| ) |
| |
| http_archive( |
| name = "npm_acorn-8.5.0", |
| build_file = "acorn.BUILD", |
| sha256 = "d8f9d40c4656537a60bf0c6daae6f0553f54df5ff2518f86464b7c785f20376b", |
| urls = ["https://registry.npmjs.org/acorn/-/acorn-8.5.0.tgz"], |
| ) |
| |
| # |
| # RBE configuration |
| # |
| # See https://github.com/bazelbuild/continuous-integration/releases/tag/rules-1.0.0 |
| http_archive( |
| name = "bazelci_rules", |
| sha256 = "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", |
| strip_prefix = "bazelci_rules-1.0.0", |
| url = "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", |
| ) |
| |
| load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig") |
| |
| # Creates toolchain configuration for remote execution with BuildKite CI |
| # for rbe_ubuntu1604 |
| rbe_preconfig( |
| name = "buildkite_config", |
| toolchain = "ubuntu1804-bazel-java11", |
| ) |