| """Bazel Modules used by the Skia Infra repository.""" |
| |
| module( |
| name = "skia-infra", |
| version = "0.0.0", |
| ) |
| |
| bazel_dep(name = "aspect_bazel_lib", version = "2.21.1") |
| bazel_dep(name = "aspect_rules_esbuild", version = "0.25.0") |
| bazel_dep(name = "aspect_rules_js", version = "2.5.0") |
| bazel_dep(name = "aspect_rules_ts", version = "3.7.0") |
| bazel_dep(name = "aspect_rules_swc", version = "2.0.0") |
| bazel_dep(name = "buildifier_prebuilt", version = "8.2.1") |
| bazel_dep(name = "rules_go", version = "0.58.3") # Needs to go before Gazelle. |
| bazel_dep(name = "gazelle") |
| |
| # This version of Gazelle has been patched with directives for |
| # go.chromium.org/luci and github.com/bazelbuild/remote-apis-sdks. We should be |
| # able to remove this git_override when the next version of gazelle is released |
| # to the Bazel Central Registry. |
| git_override( |
| module_name = "gazelle", |
| commit = "58be1038215b0cff6604a1d31f45ae3770a99a75", |
| remote = "https://github.com/bazel-contrib/bazel-gazelle", |
| ) |
| |
| bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf") |
| bazel_dep(name = "rules_browsers", version = "0.2.0") |
| bazel_dep(name = "rules_apko", version = "1.4.0") |
| bazel_dep(name = "rules_distroless", version = "0.6.1") |
| bazel_dep(name = "rules_nodejs", version = "6.5.0") |
| bazel_dep(name = "rules_pkg", version = "1.1.0") |
| bazel_dep(name = "rules_proto", version = "7.1.0") |
| bazel_dep(name = "rules_python", version = "1.6.0") |
| bazel_dep(name = "rules_shell", version = "0.6.1") |
| bazel_dep(name = "bazel_skylib", version = "1.8.2") |
| bazel_dep(name = "rules_oci", version = "2.2.7") |
| bazel_dep(name = "googleapis", version = "0.0.0-20251127-8cd3749f") |
| bazel_dep(name = "grpc", version = "1.76.0.bcr.1") |
| bazel_dep(name = "abseil-cpp", version = "20250814.1") |
| bazel_dep(name = "rules_cc", version = "0.2.15") |
| bazel_dep(name = "platforms", version = "1.0.0") |
| bazel_dep(name = "xds", version = "0.0.0-20251210-ee656c7") |
| bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2") |
| |
| http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file") |
| |
| git_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") |
| |
| git_repository( |
| name = "swiftshader", |
| build_file_content = """ |
| filegroup( |
| name = "all_files", |
| srcs = glob(["include/**/*"]), |
| visibility = ["//visibility:public"] |
| ) |
| """, |
| commit = "3c4bdf66d81d01a215b88bfea3ac4cc8ca507779", |
| remote = "https://swiftshader.googlesource.com/SwiftShader", |
| ) |
| |
| gcs_mirror = use_extension("//bazel:gcs_mirror.bzl", "gcs_mirror") |
| |
| #################################################################################################### |
| # rules_apko setup |
| #################################################################################################### |
| |
| apko = use_extension("@rules_apko//apko:extensions.bzl", "apko") |
| apko.toolchain(apko_version = "0.22.0") |
| apko.translate_lock( |
| name = "basealpine-apk-install", |
| lock = "@@//kube/basealpine:basealpine.lock.json", |
| ) |
| use_repo(apko, "basealpine-apk-install") |
| |
| #################################################################################################### |
| # aspect_rules_ts setup |
| #################################################################################################### |
| |
| rules_ts_ext = use_extension( |
| "@aspect_rules_ts//ts:extensions.bzl", |
| "ext", |
| dev_dependency = True, |
| ) |
| rules_ts_ext.deps( |
| ts_integrity = "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", |
| ts_version_from = "//:package.json", |
| ) |
| use_repo(rules_ts_ext, "npm_typescript") |
| |
| #################################################################################################### |
| # Go setup |
| #################################################################################################### |
| |
| go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") |
| |
| go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") |
| |
| go_deps.from_file(go_mod = "//:go.mod") |
| use_repo( |
| go_deps, |
| "com_github_a8m_envsubst", |
| "com_github_aclements_go_moremath", |
| "com_github_bazelbuild_buildtools", |
| "com_github_bazelbuild_remote_apis", |
| "com_github_bazelbuild_remote_apis_sdks", |
| "com_github_blakesmith_ar", |
| "com_github_bradfitz_gomemcache", |
| "com_github_ccoveille_go_safecast_v2", |
| "com_github_cenkalti_backoff", |
| "com_github_cenkalti_backoff_v4", |
| "com_github_cockroachdb_cockroach_go_v2", |
| "com_github_davecgh_go_spew", |
| "com_github_dustin_go_humanize", |
| "com_github_fatih_color", |
| "com_github_fiorix_go_web", |
| "com_github_flynn_json5", |
| "com_github_go_chi_chi_v5", |
| "com_github_go_python_gpython", |
| "com_github_golang_groupcache", |
| "com_github_golang_mock", |
| "com_github_golang_protobuf", |
| "com_github_google_go_cmp", |
| "com_github_google_go_github_v29", |
| "com_github_google_go_licenses_v2", |
| "com_github_google_shlex", |
| "com_github_google_uuid", |
| "com_github_googleapis_gax_go_v2", |
| "com_github_googlecloudplatform_opentelemetry_operations_go_exporter_trace", |
| "com_github_gorilla_securecookie", |
| "com_github_grpc_ecosystem_grpc_gateway_v2", |
| "com_github_hako_durafmt", |
| "com_github_hashicorp_go_multierror", |
| "com_github_hashicorp_golang_lru", |
| "com_github_invopop_jsonschema", |
| "com_github_jackc_pgconn", |
| "com_github_jackc_pgerrcode", |
| "com_github_jackc_pgtype", |
| "com_github_jackc_pgx_v4", |
| "com_github_jcgregorio_logger", |
| "com_github_jeffail_gabs_v2", |
| "com_github_kballard_go_shellquote", |
| "com_github_kisielk_errcheck", |
| "com_github_mark3labs_mcp_go", |
| "com_github_masterminds_semver", |
| "com_github_masterminds_sprig", |
| "com_github_miekg_dns", |
| "com_github_mikefarah_yq_v4", |
| "com_github_nfnt_resize", |
| "com_github_nlpodyssey_gopickle", |
| "com_github_olekukonko_tablewriter", |
| "com_github_otiai10_copy", |
| "com_github_patrickmn_go_cache", |
| "com_github_pkg_errors", |
| "com_github_pmezard_go_difflib", |
| "com_github_prometheus_client_golang", |
| "com_github_protocolbuffers_txtpbfmt", |
| "com_github_r3labs_sse_v2", |
| "com_github_redis_go_redis_v9", |
| "com_github_rs_cors", |
| "com_github_sbinet_npyio", |
| "com_github_shirou_gopsutil", |
| "com_github_skia_dev_google_api_go_client", |
| "com_github_skia_dev_protoc_gen_twirp_typescript", |
| "com_github_spf13_cobra", |
| "com_github_stretchr_testify", |
| "com_github_syndtr_goleveldb", |
| "com_github_tarm_serial", |
| "com_github_texttheater_golang_levenshtein", |
| "com_github_twitchtv_twirp", |
| "com_github_unrolled_secure", |
| "com_github_urfave_cli_v2", |
| "com_github_vektra_mockery_v2", |
| "com_github_willf_bitset", |
| "com_github_xeipuuv_gojsonschema", |
| "com_github_yannh_kubeconform", |
| "com_github_yusufpapurcu_wmi", |
| "com_github_zeebo_bencode", |
| "com_google_cloud_go", |
| "com_google_cloud_go_auth", |
| "com_google_cloud_go_bigquery", |
| "com_google_cloud_go_bigtable", |
| "com_google_cloud_go_binaryauthorization", |
| "com_google_cloud_go_compute_metadata", |
| "com_google_cloud_go_containeranalysis", |
| "com_google_cloud_go_datastore", |
| "com_google_cloud_go_firestore", |
| "com_google_cloud_go_iam", |
| "com_google_cloud_go_logging", |
| "com_google_cloud_go_monitoring", |
| "com_google_cloud_go_pubsub", |
| "com_google_cloud_go_redis", |
| "com_google_cloud_go_secretmanager", |
| "com_google_cloud_go_spanner", |
| "com_google_cloud_go_storage", |
| "in_gopkg_fsnotify_v1", |
| "in_gopkg_olivere_elastic_v5", |
| "in_gopkg_yaml_v2", |
| "in_gopkg_yaml_v3", |
| "io_k8s_api", |
| "io_k8s_apimachinery", |
| "io_k8s_client_go", |
| "io_k8s_kubectl", |
| "io_k8s_sigs_yaml", |
| "io_opencensus_go", |
| "io_opencensus_go_contrib_exporter_stackdriver", |
| "io_opentelemetry_go_otel", |
| "io_opentelemetry_go_otel_bridge_opencensus", |
| "io_opentelemetry_go_otel_sdk", |
| "io_temporal_go_api", |
| "io_temporal_go_sdk", |
| "io_temporal_go_sdk_contrib_opentelemetry", |
| "net_howett_plist", |
| "org_chromium_go_luci", |
| "org_golang_google_api", |
| "org_golang_google_genai", |
| "org_golang_google_genproto", |
| "org_golang_google_genproto_googleapis_api", |
| "org_golang_google_genproto_googleapis_rpc", |
| "org_golang_google_grpc", |
| "org_golang_google_grpc_cmd_protoc_gen_go_grpc", |
| "org_golang_google_protobuf", |
| "org_golang_x_exp", |
| "org_golang_x_net", |
| "org_golang_x_oauth2", |
| "org_golang_x_sync", |
| "org_golang_x_sys", |
| "org_golang_x_term", |
| "org_golang_x_text", |
| "org_golang_x_time", |
| "org_golang_x_tools", |
| ) |
| |
| inject_repo( |
| go_deps, |
| googleapis = "googleapis", |
| grpc = "grpc", |
| protobuf = "com_google_protobuf", |
| rules_go = "rules_go", |
| ) |
| |
| go_sdk.from_file( |
| go_mod = "//:go.mod", |
| ) |
| use_repo(go_sdk, go_sdk = "go_default_sdk") |
| |
| register_toolchains("@rules_go//go/toolchain:all") |
| |
| #################################################################################################### |
| # pnpm setup |
| #################################################################################################### |
| |
| node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node") |
| node.toolchain(node_version = "20.19.0") |
| use_repo(node, "nodejs_toolchains") |
| use_repo(node, "nodejs") |
| |
| pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm") |
| pnpm.pnpm( |
| name = "pnpm", |
| pnpm_version = "10.13.1", |
| ) |
| use_repo(pnpm, "pnpm") |
| |
| npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm") |
| npm.npm_translate_lock( |
| name = "npm", |
| additional_file_contents = {}, |
| bins = { |
| "ts-proto": [ |
| "protoc-gen-ts_proto=./protoc-gen-ts_proto", |
| ], |
| }, |
| custom_postinstalls = {}, |
| data = [ |
| "//:package.json", |
| ], |
| dev = False, |
| external_repository_action_cache = ".aspect/rules/external_repository_action_cache", |
| lifecycle_hooks = { |
| "*": [ |
| "preinstall", |
| "install", |
| "postinstall", |
| ], |
| }, |
| lifecycle_hooks_envs = {}, |
| lifecycle_hooks_execution_requirements = { |
| "*": [ |
| "no-sandbox", |
| ], |
| }, |
| no_optional = False, |
| npm_package_lock = "//:package-lock.json", |
| npm_package_target_name = "{dirname}", |
| npmrc = "//:.npmrc", |
| package_visibility = {}, |
| patch_args = { |
| "*": [ |
| "-p0", |
| ], |
| }, |
| patches = {}, |
| pnpm_lock = "//:pnpm-lock.yaml", |
| preupdate = [], |
| prod = False, |
| quiet = False, |
| update_pnpm_lock = True, |
| verify_node_modules_ignored = "//:.bazelignore", |
| ) |
| use_repo( |
| npm, |
| "npm", |
| ) |
| |
| #################################################################################################### |
| # rules_python setup |
| #################################################################################################### |
| |
| python_version = "3.11" |
| |
| python = use_extension("@rules_python//python/extensions:python.bzl", "python") |
| python.toolchain( |
| configure_coverage_tool = True, |
| ignore_root_user_error = True, |
| python_version = python_version, |
| ) |
| use_repo(python, "python_3_11") |
| |
| pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") |
| pip.parse( |
| download_only = True, |
| extra_pip_args = ["--index-url=https://pypi.org/simple"], |
| hub_name = "pypi", |
| python_version = python_version, |
| requirements_lock = "//:requirements.txt", |
| ) |
| use_repo(pip, "pypi") |
| |
| #################################################################################################### |
| # rules_distroless setup |
| #################################################################################################### |
| |
| apt = use_extension("@rules_distroless//apt:extensions.bzl", "apt") |
| |
| # These are sets of packages installed in various images. |
| apt.install( |
| name = "autoroll-be-apt-install", |
| lock = "@@//autoroll:autoroll-be.lock.json", |
| manifest = "//autoroll:autoroll-be.yaml", |
| ) |
| use_repo(apt, "autoroll-be-apt-install") |
| |
| apt.install( |
| name = "base-cipd-apt-install", |
| lock = "@@//kube/base-cipd:base-cipd.lock.json", |
| manifest = "//kube/base-cipd:base-cipd.yaml", |
| ) |
| use_repo(apt, "base-cipd-apt-install") |
| |
| apt.install( |
| name = "fiddler-base-apt-install", |
| lock = "@@//fiddlek:fiddler-base.lock.json", |
| manifest = "//fiddlek:fiddler-base.yaml", |
| ) |
| use_repo(apt, "fiddler-base-apt-install") |
| |
| apt.install( |
| name = "cd-apt-install", |
| lock = "@@//cd:cd.lock.json", |
| manifest = "//cd:cd.yaml", |
| ) |
| use_repo(apt, "cd-apt-install") |
| |
| apt.install( |
| name = "docsyserver-apt-install", |
| lock = "@@//docsyserver:docsyserver.lock.json", |
| manifest = "//docsyserver:docsyserver.yaml", |
| ) |
| use_repo(apt, "docsyserver-apt-install") |
| |
| apt.install( |
| name = "task-scheduler-jc-apt-install", |
| lock = "@@//task_scheduler:task-scheduler-jc.lock.json", |
| manifest = "//task_scheduler:task-scheduler-jc.yaml", |
| ) |
| use_repo(apt, "task-scheduler-jc-apt-install") |
| |
| #################################################################################################### |
| # Bazelisk |
| #################################################################################################### |
| |
| # This is sort of a circular dependency, but some of our Docker images need a |
| # copy of Bazelisk to perform builds. It's convenient to define that here. |
| http_file( |
| name = "bazelisk", |
| downloaded_file_path = "bazelisk", |
| executable = True, |
| sha256 = "e1508323f347ad1465a887bc5d2bfb91cffc232d11e8e997b623227c6b32fb76", |
| url = "https://github.com/bazelbuild/bazelisk/releases/download/v1.27.0/bazelisk-linux-amd64", |
| ) |
| |
| ###################### |
| # Docker containers. # |
| ###################### |
| |
| oci = use_extension("@rules_oci//oci:extensions.bzl", "oci") |
| |
| # This is a pinned version of JS fiddle - we use the canvaskit.js/canvaskit.wasm inside it |
| # when running apps (e.g. skottie.skia.org) locally. All our apps (except debugger) use the stock |
| # version of CanvasKit, so they can share this. If there is an update to CanvasKit APIs and we want |
| # to test them out locally, we should update this to a newer version. See the k8s-config repo |
| # for a recent commit to use. You can also get the latest sha256 by either: |
| # 1. Running `docker pull gcr.io/skia-public/jsfiddle-final:latest` and looking for the sha256 |
| # in the log. This requires docker to be installed and authenticated through gcloud. |
| # 2. Going to https://skia.googlesource.com/k8s-config/+/refs/heads/main/skia-infra-public/jsfiddle.yaml |
| # and looking for sha256 on the jsfiddle-final image. |
| oci.pull( |
| name = "pinned_jsfiddle", |
| digest = "sha256:b84ab240fb90dc1266e012aacd48b53815520ccf78160acd202d412571369978", |
| image = "gcr.io/skia-public/jsfiddle-final", |
| ) |
| use_repo(oci, "pinned_jsfiddle") |
| |
| # Debugger's version of CanvasKit is built with different flags |
| oci.pull( |
| name = "pinned_debugger", |
| digest = "sha256:1f375eaf54a0636b509e8e6e1eb19b4d134a055093cde37c3aac37171d25a107", |
| image = "gcr.io/skia-public/debugger-app-final", |
| ) |
| use_repo(oci, "pinned_debugger") |
| |
| # This is an arbitrary version of the public Alpine image. Given our current rules, we must pull |
| # a docker container and extract some files, even if we are just building local versions (e.g. |
| # of debugger or skottie), so this is the image for that. |
| oci.pull( |
| name = "empty_container", |
| digest = "sha256:1e014f84205d569a5cc3be4e108ca614055f7e21d11928946113ab3f36054801", |
| image = "index.docker.io/alpine", |
| ) |
| use_repo(oci, "empty_container") |
| |
| # Pulls the gcr.io/skia-public/basealpine container, needed by the skia_app_container macro. |
| oci.pull( |
| name = "basealpine", |
| digest = "sha256:5474db9668fb91cbf71b160e41047ca48a7686a25b7e3d38da9f1c720683e2c7", |
| image = "gcr.io/skia-public/basealpine", |
| ) |
| use_repo(oci, "basealpine") |
| |
| # Pulls a specific version of Alpine to be used as a base for basealpine. |
| oci.pull( |
| name = "alpine", |
| digest = "sha256:e0baf8c394150ac5a14925e179100519f5e37c53547f647acbd9f8eb3e5c4528", |
| image = "alpine:3.22", |
| ) |
| use_repo(oci, "alpine") |
| |
| # Pulls the debian:testing-slim image, needed by the skia_app_container macro. |
| # Note: if using apt.install in conjunction with this or any other base image, |
| # the archive version in the YAML file must be compatible with this image. |
| oci.pull( |
| name = "debian-testing-slim", |
| digest = "sha256:fc00cc6049937150a6ae6403d0ab99db9583eafc9252b448ecec5011f62a3602", |
| image = "debian:testing-slim", |
| platforms = ["linux/amd64"], |
| ) |
| use_repo(oci, "debian-testing-slim") |
| |
| # Pulls the gcr.io/skia-public/docsyserver-base container, needed by docsyserver. |
| oci.pull( |
| name = "docsyserver-base", |
| digest = "sha256:c92739a43735be44a28135c9eac75753c64c2d3b9ba5c97efcaf57d5bd2ab12a", |
| image = "gcr.io/skia-public/docsyserver-base", |
| ) |
| use_repo(oci, "docsyserver-base") |
| |
| # Pulls the envoyproxy/envoy-alpine:v1.16.1 container, needed by skfe. |
| oci.pull( |
| name = "envoy_alpine", |
| digest = "sha256:061559f887b6b7980ea1ebb5af636079858d8b0f51cd803b9fe16f87811ff7d3", |
| image = "index.docker.io/envoyproxy/envoy-alpine", |
| ) |
| use_repo(oci, "envoy_alpine") |
| |
| # Pulls the node alpine container, needed by npm-audit-mirror. |
| oci.pull( |
| name = "node_alpine", |
| digest = "sha256:1e168eaa83acc4b002f7b91bd3584f6800c84737337fe665224c963ed6b5b1c0", # index.docker.io/node:current-alpine3.21 as of Oct 2, 2025. |
| image = "docker.io/library/node", |
| ) |
| use_repo(oci, "node_alpine") |
| |
| # Pulls the https://gcr.io/cloud-builders/kubectl container, needed by apps that use kubectl. |
| oci.pull( |
| name = "kubectl", |
| digest = "sha256:63553d791cbdd3aa9fc2bc0b3a6a6d33130c1b8927b2db368c756aa45c89a356", # 25 Oct 2023 |
| image = "gcr.io/cloud-builders/kubectl", |
| ) |
| use_repo(oci, "kubectl") |
| |
| # Pulls the gcr.io/google.com/cloudsdktool/cloud-sdk:latest container needed by Perf backup. |
| oci.pull( |
| name = "cloudsdk", |
| digest = "sha256:900b74f1fb2c9f93c6d4b121a7f23981143496f36aacb72e596ccaedad640cf1", # @latest as of Apr 27, 2022. |
| image = "gcr.io/google.com/cloudsdktool/cloud-sdk", |
| ) |
| use_repo(oci, "cloudsdk") |
| |
| # Pulls the google-go.pkg.dev/golang image. |
| oci.pull( |
| name = "golang", |
| digest = "sha256:80ccdc8f8ac8d819cdbc15a33334125e0288c09ac030307dcd893d2b5c6179ae", |
| image = "google-go.pkg.dev/golang", |
| ) |
| use_repo(oci, "golang") |
| |
| # docker.io/temporalio/server:1.29.2 as of 07/08/2026. |
| oci.pull( |
| name = "temporal-server", |
| digest = "sha256:846c6f50f53ac39ff7399ab9e20e583b993b14c1bca4c3d77dab87b8c2821055", |
| image = "docker.io/temporalio/server", |
| platforms = ["linux/amd64"], |
| ) |
| use_repo(oci, "temporal-server") |
| |
| # docker.io/temporalio/admin-tools:1.29.1-tctl-1.18.4-cli-1.5.0 as of 07/08/2026. |
| oci.pull( |
| name = "temporal-admin-tools", |
| digest = "sha256:67ee116b6442fd467168081509debecd61bafa506f56aa78e0ee6b6ad3c54691", |
| image = "docker.io/temporalio/admin-tools", |
| platforms = ["linux/amd64"], |
| ) |
| |
| # docker.io/temporalio/ui:2.44.0 (compatible with 1.29.2) as of 07/08/2026. |
| oci.pull( |
| name = "temporal-ui", |
| digest = "sha256:8c43757f169c94051398fa2abcf8fca05405ca492d0b44cff0ed059537cd33de", |
| image = "docker.io/temporalio/ui", |
| platforms = ["linux/amd64"], |
| ) |
| use_repo( |
| oci, |
| "debian-testing-slim_linux_amd64", |
| "temporal-admin-tools", |
| "temporal-admin-tools_linux_amd64", |
| "temporal-server_linux_amd64", |
| "temporal-ui", |
| "temporal-ui_linux_amd64", |
| ) |
| |
| #################################################################################################### |
| # CA Certificates |
| #################################################################################################### |
| |
| gcs_mirror.http_archive( |
| name = "ca-certificates", |
| build_file_content = "exports_files([\"data.tar.xz\"])", |
| sha256 = "0b5970c26e74d254bb2a59100d7b9d0612ea0b60bd78987cd71e0aebae5221d7", |
| url = "https://snapshot-cloudflare.debian.org/archive/debian/20260421T143351Z/pool/main/c/ca-certificates/ca-certificates_20260223_all.deb", |
| ) |
| use_repo(gcs_mirror, "ca-certificates") |
| |
| #################################################################################################### |
| # bazel_skylib |
| #################################################################################################### |
| |
| # These are used for unit tests. |
| register_toolchains( |
| "@bazel_skylib//toolchains/unittest:cmd_toolchain", |
| ) |
| |
| #################################################################################################### |
| # CIPD packages. |
| #################################################################################################### |
| |
| cipd = use_extension("//bazel/external:cipd_install.bzl", "cipd") |
| cipd.download_http( |
| name = "git", |
| cipd_package = "infra/3pp/tools/git/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "558e89bd164fd5d4d2bb88a95cdd7df1811ca5c64314a53991aab9a150f2a5a9", |
| "linux-arm64": "4688e877cb4bb4323e5355d3af856cb20aee8490684c292107498a1485d140d5", |
| "mac-amd64": "dca86a00c9dfdfda4de274d19761270bfdf502543c8f8215e41890b04ebde266", |
| "mac-arm64": "cdaf2b744496079740b19bb2e56a65b04d71bebddc8b309dbed0640bce5a8993", |
| "windows-amd64": "66f63edaa34a43bd9cbe8a3054b15f98e468b903f6d4962700b503f5ddd947d4", |
| }, |
| postinstall_cmds_posix = [ |
| "mkdir etc", |
| "bin/git config --system user.name \"Bazel Test User\"", |
| "bin/git config --system user.email \"bazel-test-user@example.com\"", |
| ], |
| postinstall_cmds_win = [ |
| "mkdir etc", |
| "bin/git.exe config --system user.name \"Bazel Test User\"", |
| "bin/git.exe config --system user.email \"bazel-test-user@example.com\"", |
| ], |
| tag = "version:3@2.55.0.chromium.11", |
| ) |
| use_repo(cipd, "git_linux-amd64", "git_windows-amd64") |
| |
| cipd.download_http( |
| name = "git_wrapper", |
| cipd_package = "infra/tools/git/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "bd92aa173c3a1c87b2239a0962faa91601d7ff68d3653fa0ba7d0e94c9625420", |
| "linux-arm64": "eb078334640b4227828ced26bb630e1d63716266c1576531f417f079013afc8d", |
| "mac-amd64": "6cf954186c8eb69636d5a05edcd0ddfd17203c01318c7f47f47beccc95f9c4c1", |
| "mac-arm64": "493d41dcc6c56aa5f03e92cb7d2e8ed2c77bb4bf93ff0e19821a78a8b7d1a218", |
| "windows-amd64": "941548d997d632e18e43beb60f5c5cbca5acf54b303e4e54ac5244c235d8cb97", |
| }, |
| tag = "git_revision:0163b19b4ab1d7a304639a403b8ff9d35ab9dca0", |
| ) |
| use_repo(cipd, "git_wrapper_linux-amd64") |
| |
| cipd.download_http( |
| name = "luci-auth", |
| cipd_package = "infra/tools/luci-auth/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "1cfe579234a7df24abd32832f12da9b93eee9428111602ba395aca58e47b15c1", |
| "linux-arm64": "a33e743a6ee2d61c1161e990eab609e8d017e0377f9d7fd818aa86b1e65cfb98", |
| "mac-amd64": "a1a185b623b04c697a6bfb6d35d1f9394f15617acbf4e23ef3ef37351fb0f671", |
| "mac-arm64": "9080982572f7280160ea24c27b1680fb42c5b8c4e387a85711a1a730567402d0", |
| "windows-amd64": "60e4e35c484b3c3e2c661a781700f7d40867f0610b14507c06804e41429b9b29", |
| }, |
| tag = "git_revision:2de3d5d5b1e9c5e75f930c363904413000823425", |
| ) |
| use_repo(cipd, "luci-auth_linux-amd64") |
| |
| cipd.download_http( |
| name = "docker-credential-luci", |
| cipd_package = "infra/tools/luci/docker-credential-luci/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "1ad5ccdfb711e7f468706aa2687da901723fcf2dc3faadead1546968475cf292", |
| "linux-arm64": "07ccf65ca476e74d309bf39d23d2a13e9b94a9d357c30eb12146cb191c5eca40", |
| "mac-amd64": "a68e51ccb5a3d5a5648b12c2cf944edf9522fe9c1bbf4b25c20a3a7b279dc811", |
| "mac-arm64": "640022927e4c653c64bf7844e40c67fb6c566dd5a4f0a7df67384dfe98a25686", |
| "windows-amd64": "3fe7b463e8c09c6b805c24296ef840cf0ff6a039c1915d87811d5c8ade6dc076", |
| }, |
| tag = "git_revision:b2fad5ab18774b86d84aa867287bfb4f2394893b", |
| ) |
| use_repo(cipd, "docker-credential-luci_linux-amd64") |
| |
| cipd.download_http( |
| name = "git-credential-luci", |
| cipd_package = "infra/tools/luci/git-credential-luci/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "e8cd90523b63f3d08bd4090815a93f997a47f12c43e0723cca68f9247336ba59", |
| "linux-arm64": "f4521933dc56d1f25f6114be3c5bee64d6b523e127f1bcf4f7e82310deb1b66c", |
| "mac-amd64": "d675e3d205bac92ec500de76e69085c26555056097d922a7353e1233f2efd45f", |
| "mac-arm64": "f9a20f0ae2af8dbb70117de819dbd2914a1a56f350242701557bde1339fd08db", |
| "windows-amd64": "52ae1e6a30a242ffe536acbb005ea8c0f7bbd55aa22852e81c1206cbe78b1ada", |
| }, |
| tag = "git_revision:2de3d5d5b1e9c5e75f930c363904413000823425", |
| ) |
| use_repo(cipd, "git-credential-luci_linux-amd64") |
| |
| cipd.download_http( |
| name = "isolate", |
| cipd_package = "infra/tools/luci/isolate/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "015e3f3d97b0748cd6e5e62ef8dd4f1b2d944e9a8cb04e06283b3359a2c79819", |
| "linux-arm64": "7f6538a275c0c28e8e9cd593e6d6e976221b01238b7073311496604323c69fdf", |
| "mac-amd64": "64ad363aa708bf1297fa9ad5933cb3ee31652616352c64b2f2e364bbbdf7fb53", |
| "mac-arm64": "e992aa181e1ee711243983b8fcb5814618e0bec160ab38dff748bab5374468e3", |
| "windows-amd64": "5d560926ec59ad9dd65409e9fdd8fc8b7c57d5e5ecd3c4e957966279c0ba8ade", |
| }, |
| tag = "git_revision:2de3d5d5b1e9c5e75f930c363904413000823425", |
| ) |
| use_repo(cipd, "isolate_linux-amd64") |
| |
| cipd.download_http( |
| name = "lucicfg", |
| cipd_package = "infra/tools/luci/lucicfg/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "b8e6dbe35553e1c80210deae3a405db3c30efd30f59b061131e9245035bf48a7", |
| "linux-arm64": "84721ec076c4a397ee23ca4ecc0a304fea7840addeef27cc0c706c19471df278", |
| "mac-amd64": "09544ba62db09d51140dba8cf23d70131b28d8af08eb1c6face10cbafb48c3b5", |
| "mac-arm64": "79e3390b817b2c52d7d56e9340594c5e7a26214dafd11fe2a609d670c535ab00", |
| "windows-amd64": "43a65f0d5f9dc3d13e9844d3f818508f6db52919908f472b9983095aa5b50e21", |
| }, |
| tag = "git_revision:2de3d5d5b1e9c5e75f930c363904413000823425", |
| ) |
| use_repo(cipd, "lucicfg_linux-amd64") |
| |
| cipd.download_http( |
| name = "swarming", |
| cipd_package = "infra/tools/luci/swarming/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "edfe7cd5962fb5f280ddfbfeb0998861da8f877726a5af7a6c768b2cb860d189", |
| "linux-arm64": "935a63853b0c7ab5019286d87a8bc51a1ee5826ee06ab7b28371af6b638c6dd5", |
| "mac-amd64": "4728c21291d4fb0bbf454f0d4499323468fca56f7b23de47b7994c64b560ed04", |
| "mac-arm64": "f0b052c43c80c7c0fe6c39ef8ba26dc86c653a3f8758e42bcd6d7c23b6df578b", |
| "windows-amd64": "a2aa5d42208c700f45eb74997b02d1ed0dcd767a349a90e32fd139883ddaddfc", |
| }, |
| tag = "git_revision:c4a2dfb394df90bc79239bb22f65ae4337ececb2", |
| ) |
| use_repo(cipd, "swarming_linux-amd64") |
| |
| cipd.download_http( |
| name = "vpython3", |
| cipd_package = "infra/tools/luci/vpython3/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "4f56a09f5c28e2f8c11a44a41a412272c2118d50b483f2af5225cf49f610c725", |
| "linux-arm64": "d76b0737183088714cc8d09f0673ab32574a0b85602275089736fad039db858b", |
| "mac-amd64": "7856bf9811108ae9f56861d18d011161645dd6093840a9976d5c73ef75d6477b", |
| "mac-arm64": "a3df5b2e1efa40bdd85443dc8443cab446682e62b9fbff3009169ae3c6be1851", |
| "windows-amd64": "50de4ddb49e1af6c8854b430bd77681de7bbdd418c61ec31dd0ce79b7522f55a", |
| }, |
| tag = "git_revision:c4a2dfb394df90bc79239bb22f65ae4337ececb2", |
| ) |
| use_repo(cipd, "vpython3_linux-amd64") |
| |
| cipd.download_http( |
| name = "gsutil", |
| cipd_package = "skia/bots/gsutil", |
| sha256 = "ce033513e57dae147ad2c87acb2c62e5766d8323e0f5b75de8c71cd64e390d9b", |
| tag = "version:6", |
| ) |
| use_repo(cipd, "gsutil") |
| |
| cipd.download_http( |
| name = "patch_linux_amd64", |
| cipd_package = "skia/bots/patch_linux_amd64", |
| sha256 = "757fd36db06f291f77a91aa314b855af449665a606d627ce16c36813464e1df6", |
| tag = "version:0", |
| ) |
| use_repo(cipd, "patch_linux_amd64") |
| |
| cipd.download_http( |
| name = "goldctl", |
| cipd_package = "skia/tools/goldctl/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "bbbddfc61a0db28b14b57518cf1d6010c96e1b4b9716d043e004883dbfd17590", |
| "linux-arm64": "63288c1a30ea2b336077f9d46524138068f5d9f47de484d5f5886d2e7ace5335", |
| "mac-amd64": "f83485467cbe1e7882cbbbe0b925c0e5122215582abb600345a19b4f0091bc70", |
| "mac-arm64": "4eab39d6405e8d2db3e7d2db743abefcfb1a2c693f3509d99bdb20357e74ed8e", |
| "windows-amd64": "5e1353a6502d6970717fc37487f1b508cf697a34a92a31d424c5a69c1c5a2da8", |
| }, |
| tag = "git_revision:03460cbcb7fcfe86272f3eabd45a8b0e7675f46b", |
| ) |
| use_repo(cipd, "goldctl_linux-amd64") |
| |
| cipd.download_http( |
| name = "cpython3", |
| cipd_package = "infra/3pp/tools/cpython3/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "b6ff54c182f7352fb7e1525e4b07272f4f48d956b55ea590af4ce33b7ebf83ae", |
| "linux-arm64": "e11598f41914dcb6def77356e963d0e711085adf417e4af341e6320bcde36f36", |
| "mac-amd64": "10844f9807e66c59d9b0a075b2702b2b6607d043705ffdf5b2bcdc8818107819", |
| "mac-arm64": "9cb8c4ee1a5ddd3c6efcbb28729ed58af650d0537165a3872d86ffd0cf14f6ab", |
| "windows-amd64": "87ec916762c4c4bc2570dd5f77f13721006178bd8d96784187ce79cb91255381", |
| }, |
| tag = "version:3@3.13.15.chromium.2", |
| ) |
| use_repo(cipd, "cpython3_linux-amd64") |
| |
| cipd.download_http( |
| name = "bazel_build_all", |
| cipd_package = "skia/tools/bazel_build_all/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "bcbc547eeb9d4f60c833ea90f072aa88f48bc54ae1e9204d880000f138a6c334", |
| "linux-arm64": "92001934a3dfdf412d5f27cea9a8bedecb563be6a6eee7091b5e8eec4bc8e68e", |
| "mac-amd64": "8446b3bfc0876857b1c97a4cb74d0379bd3320992f645ba9f775516e40d4232e", |
| "mac-arm64": "6f940968f8d660b973291bfefbf43db5eca65234b6433b21ad51a88bcee28e12", |
| "windows-amd64": "a8d2e9f449c8e426e8cb2937b022899c012e26e8d5a7b9abef42ce0001cfa22d", |
| }, |
| tag = "git_revision:3b79b0642580c9333e7bd743db7ba93e0dbbbbeb", |
| ) |
| use_repo(cipd, "bazel_build_all_linux-amd64") |
| |
| cipd.download_http( |
| name = "bazel_test_all", |
| cipd_package = "skia/tools/bazel_test_all/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "020e52698c8fa979daa4572bb971bafb294e51fa1f9eef6c83b9113bae4bb487", |
| "linux-arm64": "47f16a7040e8eacc8b462c1cf5f3d73756171ecd8ab453c850989c68cb4ca75a", |
| "mac-amd64": "3d62ae5d9f6c0b7f7c3f6a121a2dd6260cff98b215a055ecef1d5be68265696c", |
| "mac-arm64": "16ce26e06f3e7d864d1c6ccf54fbd8d31f98a9c2ebb99a27195f7534c84471ee", |
| "windows-amd64": "1cf04054216a9bd8bf5f6ca719072b52f0c3bfb330513027520ec64a4b7379e3", |
| }, |
| tag = "git_revision:3b79b0642580c9333e7bd743db7ba93e0dbbbbeb", |
| ) |
| use_repo(cipd, "bazel_test_all_linux-amd64") |
| |
| cipd.download_http( |
| name = "command_wrapper", |
| cipd_package = "skia/tools/command_wrapper/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "8ea14ff9cdb9a17c6777ec1155c316ec8cd328ce0f3afd9dd4613f821f2035da", |
| "linux-arm64": "3ed870f308bd206d775a438a67d93733f27933f87ef9c1ec1476bc5a290fa815", |
| "mac-amd64": "e44aab0171188ed51001c58381ec9c74c43ba465249fad8bf82df35ee02e4b63", |
| "mac-arm64": "1664413752c7f6d7036893f89de14d9dbbfaffe7c180fd5282c65b9ca74ce6e5", |
| "windows-amd64": "f1a5ec8f74930c5ff47d69e4dccd8b360990ee3f9aac80272832457aa19a4b8c", |
| }, |
| tag = "git_revision:92a4fc51e154bafa5d171f9523cff623ff7beeef", |
| ) |
| use_repo(cipd, "command_wrapper_linux-amd64") |
| |
| cipd.download_http( |
| name = "presubmit", |
| cipd_package = "skia/tools/presubmit/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "d032cc980eacfa64489d3e97677868d97420340e87b571fcdf867f24001266a3", |
| "linux-arm64": "d987b41800b5de1a01ce40b0afe5a249c84f6d8d3f5ae04cf03ec4cdd923fa4a", |
| "mac-amd64": "d97555d332872e6e9e4d8624207187ff3d57374ec9be61a957bfc9095998da91", |
| "mac-arm64": "24698d47f49c8b527d3b77bb76f970a4de14d3a115c3b6c9a2015afc842275c6", |
| "windows-amd64": "454b72aeab6b30948311166490cecdab3952455d9e30ab474c2a23dd57ad71ed", |
| }, |
| tag = "git_revision:3b79b0642580c9333e7bd743db7ba93e0dbbbbeb", |
| ) |
| use_repo(cipd, "presubmit_linux-amd64") |
| |
| cipd.download_http( |
| name = "cipd", |
| cipd_package = "infra/tools/cipd/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "c53d82e4198c20b66f7b286a44640d87b441a32f157cf7fcc88334416bd634ed", |
| "linux-arm64": "535ff061dd8bae86052b509668daab933462d7efb7b26c84224916f2c12cb0fd", |
| "mac-amd64": "f32cbddb2910f4d803ecbfb273a732c4ac8e9bf6ce5eaaf68f9a8fd554baa12b", |
| "mac-arm64": "77679711d129354824554faa599041085751aac0965be0b1744b841434aba9af", |
| "windows-amd64": "0331ef5dbf09ce9e2fdbfe5183022371a4ec685c68835e2b9e732f08a23abbc3", |
| }, |
| tag = "git_revision:c4a2dfb394df90bc79239bb22f65ae4337ececb2", |
| ) |
| use_repo(cipd, "cipd_linux-amd64") |
| |
| cipd.download_http( |
| name = "kitchen", |
| cipd_package = "infra/tools/luci/kitchen/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "63c877bc0e1fdc601e92ac064987cf8104c4c37b3acb60e618211f96093f005c", |
| "linux-arm64": "01f9872223a2eb9b41865b2b23b94f99a987950f8b03f21bee0b7723d0d905b1", |
| "mac-amd64": "f541d3b809775b66c39693e15fc8fff110f722bf78ffc2ec0a637a374da1f9fa", |
| "mac-arm64": "71670a03e26dac2b7fe8324ef23263b0db0d054b32b1e611e3f01073226dbbc5", |
| "windows-amd64": "a6913b232a1243ac2114a06723d284fbab695aba82cf978fa8df2052b7750b32", |
| }, |
| tag = "git_revision:03460cbcb7fcfe86272f3eabd45a8b0e7675f46b", |
| ) |
| use_repo(cipd, "bazel_build_all_linux-arm64", "bazel_build_all_mac-amd64", "bazel_build_all_mac-arm64", "bazel_build_all_windows-amd64", "bazel_test_all_linux-arm64", "bazel_test_all_mac-amd64", "bazel_test_all_mac-arm64", "bazel_test_all_windows-amd64", "cipd_linux-arm64", "cipd_mac-amd64", "cipd_mac-arm64", "cipd_windows-amd64", "command_wrapper_linux-arm64", "command_wrapper_mac-amd64", "command_wrapper_mac-arm64", "command_wrapper_windows-amd64", "cpython3_linux-arm64", "cpython3_mac-amd64", "cpython3_mac-arm64", "cpython3_windows-amd64", "docker-credential-luci_linux-arm64", "docker-credential-luci_mac-amd64", "docker-credential-luci_mac-arm64", "docker-credential-luci_windows-amd64", "git-credential-luci_linux-arm64", "git-credential-luci_mac-amd64", "git-credential-luci_mac-arm64", "git-credential-luci_windows-amd64", "git_linux-arm64", "git_mac-amd64", "git_mac-arm64", "git_wrapper_linux-arm64", "git_wrapper_mac-amd64", "git_wrapper_mac-arm64", "git_wrapper_windows-amd64", "goldctl_linux-arm64", "goldctl_mac-amd64", "goldctl_mac-arm64", "goldctl_windows-amd64", "isolate_linux-arm64", "isolate_mac-amd64", "isolate_mac-arm64", "isolate_windows-amd64", "kitchen_linux-amd64", "kitchen_linux-arm64", "kitchen_mac-amd64", "kitchen_mac-arm64", "kitchen_windows-amd64", "luci-auth_linux-arm64", "luci-auth_mac-amd64", "luci-auth_mac-arm64", "luci-auth_windows-amd64", "lucicfg_linux-arm64", "lucicfg_mac-amd64", "lucicfg_mac-arm64", "lucicfg_windows-amd64", "presubmit_linux-arm64", "presubmit_mac-amd64", "presubmit_mac-arm64", "presubmit_windows-amd64", "swarming_linux-arm64", "swarming_mac-amd64", "swarming_mac-arm64", "swarming_windows-amd64", "vpython3_linux-arm64", "vpython3_mac-amd64", "vpython3_mac-arm64", "vpython3_windows-amd64") |
| |
| #################################################################################################### |
| # GCloud SDK. |
| #################################################################################################### |
| |
| http_archive( |
| name = "gcloud_linux", |
| build_file_content = """ |
| filegroup( |
| name = "all_files", |
| srcs = glob(["**/*"]), |
| visibility = ["//visibility:public"] |
| ) |
| """, |
| sha256 = "2ab0f75435a9ada0b7400500adbfbdfeceab2a6330c4043f68c543fc5c5c14da", |
| url = "https://storage.googleapis.com/cloud-sdk-release/google-cloud-cli-564.0.0-linux-x86_64.tar.gz", |
| ) |
| |
| #################################################################################################### |
| # protoc. |
| #################################################################################################### |
| |
| # The following archives were taken from |
| # https://github.com/protocolbuffers/protobuf/releases/tag/v21.12. |
| PROTOC_BUILD_FILE_CONTENT = """ |
| exports_files(["bin/protoc"], visibility = ["//visibility:public"]) |
| """ |
| |
| gcs_mirror.http_archive( |
| name = "protoc_linux_x64", |
| build_file_content = PROTOC_BUILD_FILE_CONTENT, |
| sha256 = "3a4c1e5f2516c639d3079b1586e703fc7bcfa2136d58bda24d1d54f949c315e8", |
| url = "https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip", |
| ) |
| use_repo(gcs_mirror, "protoc_linux_x64") |
| |
| gcs_mirror.http_archive( |
| name = "protoc_mac_x64", |
| build_file_content = PROTOC_BUILD_FILE_CONTENT, |
| sha256 = "9448ff40278504a7ae5139bb70c962acc78c32d8fc54b4890a55c14c68b9d10a", |
| url = "https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-osx-x86_64.zip", |
| ) |
| use_repo(gcs_mirror, "protoc_mac_x64") |
| |
| #################################################################################################### |
| # pgadapter. |
| #################################################################################################### |
| http_archive( |
| name = "pgadapter", |
| build_file_content = """ |
| filegroup( |
| name = "all_files", |
| srcs = glob(["**/*"]), |
| visibility = ["//visibility:public"] |
| ) |
| """, |
| sha256 = "2dbb655dddc113eb14659e121839a9d3a5de34544ce88a1dd4dd88c23d436ae3", |
| urls = ["https://storage.googleapis.com/pgadapter-jar-releases/pgadapter-v0.47.1.tar.gz"], |
| ) |
| |
| #################################################################################################### |
| # CockroachDB (used as an "emulator" for tests). |
| #################################################################################################### |
| |
| gcs_mirror.http_archive( |
| name = "cockroachdb_linux", |
| build_file_content = """ |
| filegroup( |
| name = "all_files", |
| srcs = glob(["**/*"]), |
| visibility = ["//visibility:public"] |
| ) |
| """, |
| sha256 = "05293e76dfb6443790117b6c6c05b1152038b49c83bd4345589e15ced8717be3", |
| strip_prefix = "cockroach-v21.1.9.linux-amd64", |
| url = "https://binaries.cockroachdb.com/cockroach-v21.1.9.linux-amd64.tgz", |
| ) |
| use_repo(gcs_mirror, "cockroachdb_linux") |
| |
| #################################################################################################### |
| # bazel-toolchains rbe_configs_gen (prebuilt). |
| #################################################################################################### |
| |
| # Read the instructions in //bazel/rbe/generated/README.md before updating this repository. |
| http_archive( |
| name = "bazel_toolchains", |
| sha256 = "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024", |
| strip_prefix = "bazel-toolchains-4.1.0", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz", |
| "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz", |
| ], |
| ) |
| |
| rbe_exec_properties = use_extension("//bazel/external:rbe_exec_properties.bzl", "rbe_exec_properties") |
| rbe_exec_properties.setup(name = "exec_properties") |
| use_repo(rbe_exec_properties, "exec_properties") |
| |
| gcs_mirror.http_file( |
| name = "rbe_configs_gen_linux_amd64", |
| downloaded_file_path = "rbe_configs_gen", |
| executable = True, |
| no_extension = True, |
| sha256 = "1206e8a79b41cb22524f73afa4f4ee648478f46ef6990d78e7cc953665a1db89", |
| url = "https://github.com/bazelbuild/bazel-toolchains/releases/download/v5.1.2/rbe_configs_gen_linux_amd64", |
| ) |
| use_repo(gcs_mirror, "rbe_configs_gen_linux_amd64") |
| |
| #################################################################################################### |
| # Google Cloud SDK (needed for the Google Cloud Emulators). |
| #################################################################################################### |
| |
| google_cloud_sdk = use_extension("//bazel/external:google_cloud_sdk.bzl", "google_cloud_sdk") |
| google_cloud_sdk.download(name = "google_cloud_sdk") |
| use_repo(google_cloud_sdk, "google_cloud_sdk") |
| |
| #################################################################################################### |
| # Google Chrome and Fonts (needed for Karma and Puppeteer tests, respectively). |
| #################################################################################################### |
| |
| # TODO(borenet): we should be able to use this from rules_browsers. |
| google_chrome = use_extension("//bazel/external:google_chrome.bzl", "google_chrome") |
| google_chrome.download(name = "google_chrome") |
| use_repo(google_chrome, "google_chrome") |
| |
| #################################################################################################### |
| # Temporal repo, used to package DB schemas into the temporal-server image. |
| #################################################################################################### |
| |
| gcs_mirror.http_archive( |
| name = "com_github_temporal", |
| build_file_content = """ |
| load("@rules_pkg//:pkg.bzl", "pkg_tar") |
| |
| pkg_tar( |
| name = "schemas", |
| srcs = glob([ |
| "schema/postgresql/v96/**/*.sql", |
| "schema/postgresql/v96/**/*.json", |
| "schema/postgresql/v12/**/*.sql", |
| "schema/postgresql/v12/**/*.json", |
| ], allow_empty = True), |
| strip_prefix = "external/+gcs_mirror+com_github_temporal", |
| package_dir = "/etc/temporal", |
| visibility = ["//visibility:public"], |
| ) |
| """, |
| sha256 = "386b33f987bc930036d9e765dad5aa4fbd867ac2c132ce76795f071cd988215a", |
| strip_prefix = "./temporal-1.29.2", |
| url = "https://github.com/temporalio/temporal/archive/refs/tags/v1.29.2.tar.gz", |
| ) |
| use_repo(gcs_mirror, "com_github_temporal") |
| |
| gcs_mirror.http_file( |
| name = "swiftshader_libglesv2", |
| downloaded_file_path = "libGLESv2.so", |
| no_extension = True, |
| sha256 = "ad44026cb104b3283c738e7678b3dad5c834f551f47d855200ab3332e83e34a9", |
| url = "https://cdn.skia.org/swiftshader/libGLESv2.so", |
| ) |
| use_repo(gcs_mirror, "swiftshader_libglesv2") |
| |
| gcs_mirror.http_file( |
| name = "swiftshader_libegl", |
| downloaded_file_path = "libEGL.so", |
| no_extension = True, |
| sha256 = "5e0a2b662e532c53a1bd87397704507dfa1d31a53ab9d8ae37de1b9a01498ea6", |
| url = "https://cdn.skia.org/swiftshader/libEGL.so", |
| ) |
| use_repo(gcs_mirror, "swiftshader_libegl") |
| |
| ######### |
| # docsy # |
| ######### |
| |
| docsy = use_extension("//bazel/external/docsy:docsy.bzl", "docsy") |
| use_repo(docsy, "docsy") |
| |
| # Docsy is a Hugo module. |
| http_archive( |
| name = "hugo", |
| build_file_content = """ |
| filegroup( |
| name = "file", |
| srcs = ["hugo"], |
| visibility = ["//visibility:public"] |
| ) |
| """, |
| sha256 = "9f57338fc76f4ac363b0ac35f393294a26522bb179fb4c3f19855a68ab55476a", |
| url = "https://github.com/gohugoio/hugo/releases/download/v0.91.0/hugo_extended_0.91.0_Linux-64bit.tar.gz", |
| ) |