| """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.59.0") # 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.3") |
| 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.3.3") |
| |
| 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:6009ada9f2d39f96f6f5f2e7103860c7ee3c5eaf2813bec4f3e2e73b7b89d759", |
| 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:2e480d7977829f1534665da1fffd98170f5345d0a6322b369b0fe08a932ce574", # 1 Sept 2026 |
| 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": "dbff49efa1cd4263129ce7497fa0e7be4c3cd1cec7d6113951ad6a8c6649bf25", |
| "linux-arm64": "19cf6b7533f23257cfd91ae7fd657dba1211f3dfc061b32d189299a0ca5a4d26", |
| "mac-amd64": "cf369c449345d405f03d3eb5bbd7bf7df3684f9d67eb5fcc3f433b34d6e990da", |
| "mac-arm64": "28ea70bf7288d45d99cd3fd948a2d791e4f7eedc95d510c93d1967c3c8f822cf", |
| "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.56.0-rc1.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": "a2cae943160994bc4cf133191b5c79b5769441038089a5e194c477c5f13fb3eb", |
| "linux-arm64": "c45f6df9ca12bcfa23850dd085ecaf98d226672adc3d08d085f31017b30564ce", |
| "mac-amd64": "bcad09539a75da97856f62fdaa8345c5283fa95b6b7dbd2c0122b8f46370e5ef", |
| "mac-arm64": "c3ef4a266eb9b5e1b21064f49d278a9f5c1fcab12933f93da25726bdcc795a96", |
| "windows-amd64": "d7b2f5e8815b5f6816082a67861a7608ca4b02a1a54404c91508ed76ddb29edc", |
| }, |
| tag = "git_revision:3d1174859c0a5bb00d87c78506f8c031afad16aa", |
| ) |
| 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": "545bc0d593895dab458fe23d6cc56e3cfc88805e295f3996dd748889fd2218f0", |
| "linux-arm64": "bd566a06d0119d4b27c4fd89668094175af40280b422fdff8323ef50d5c287bd", |
| "mac-amd64": "ab680e498a01129097e066167de062bf0539d07765421576ca12d21a2638fd93", |
| "mac-arm64": "8eb0757bb6bb572ee357bae0fccc59eba7a977fbca232f63df7838c7d6e770d9", |
| "windows-amd64": "c45091beb67d402542e3e13fa934674560258d813899855cb0a012166b3a6a1c", |
| }, |
| tag = "git_revision:e8ff1a9251fd84ffa2645964347cf41281903c09", |
| ) |
| 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": "a710bd9dd268bcce8eec84008d1763159713d1719c8702642e5efc933add3614", |
| "linux-arm64": "1ba79bad0e0710fc5f42f80d7aad70c6eab46e8dd1fd4a8f6bfd5009daa112b1", |
| "mac-amd64": "8052f2250dea88c79dc1c6c55394b5443026bf0daae62a85615b34fa03986c7c", |
| "mac-arm64": "c76a2e72dffb4e60b336ea2fcad8d2ba087916aed0d6598279d84f1ff7187ff5", |
| "windows-amd64": "c44663692e4121ceddf0e66b9aaab2cdde55cc160eff7f962d9b39c39faf70ab", |
| }, |
| tag = "git_revision:e8ff1a9251fd84ffa2645964347cf41281903c09", |
| ) |
| 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": "ae7d7c3cb86ace89feb7dc7ce29227019bed47c0f7472ece5fb53a76fc91f7b2", |
| "linux-arm64": "16548b1270415c67ebae3e8270f4fa0ba8b0f9162883da19b73f2345d1f66fbd", |
| "mac-amd64": "b5d864af988b4bfa8d84d105fa8c457c09bb4b6ab86a87d558e5d6dd3f03ac4d", |
| "mac-arm64": "b42b53701a0f5dfd41b45dba26d8fcc323decb8983eaef4b4b97fb3c6a48a4a9", |
| "windows-amd64": "da4e6a10c2446f41813e551eb999d52c2d0013d90f9827285ad4fd3e4aaa7a64", |
| }, |
| tag = "git_revision:e8ff1a9251fd84ffa2645964347cf41281903c09", |
| ) |
| use_repo(cipd, "isolate_linux-amd64") |
| |
| cipd.download_http( |
| name = "lucicfg", |
| cipd_package = "infra/tools/luci/lucicfg/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "cbc1e81fe80fd618649c50be6101a6ce74c9bada7550dacb5775668176bc6d5a", |
| "linux-arm64": "196882ad0af937624ca2402b74be94892180d69f970714714bd807893c36e4a3", |
| "mac-amd64": "70cf9fd1c991198024c59672f2400ff42eaaeb786a4796ee4e7ce32401717455", |
| "mac-arm64": "52634f3597f69e2c4ba01e87dbcf39ebd6c799faaa624a0d0db2517a12bcecaf", |
| "windows-amd64": "c5a622fccd5879ee0bf20285aec54674c1058cf3a5c55098af5f165963cc18df", |
| }, |
| tag = "git_revision:815b56e87b2c67ebe796fdf9d3169962f9724286", |
| ) |
| use_repo(cipd, "lucicfg_linux-amd64") |
| |
| cipd.download_http( |
| name = "swarming", |
| cipd_package = "infra/tools/luci/swarming/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "86daf95ec5acacbfe19d281b4c4b56c8abad88bb913d599fc97a9789e8a86c9f", |
| "linux-arm64": "29eea7ac133a59d30800e9d50e4c03923343619f58452d71e73726c137a6e04c", |
| "mac-amd64": "39061fe4a553d2cce744bee4030c2a1fc24dce930b19253509819ea73d2fc900", |
| "mac-arm64": "37c83c06ab9fb70ca5a68bee497ecb411d1dde273b72c0e40ce08b2f92fe2004", |
| "windows-amd64": "42d74952fbc72415f0d6beb63ba95285dd4970ebcdbe9254c803f528d13212ab", |
| }, |
| tag = "git_revision:e8ff1a9251fd84ffa2645964347cf41281903c09", |
| ) |
| use_repo(cipd, "swarming_linux-amd64") |
| |
| cipd.download_http( |
| name = "vpython3", |
| cipd_package = "infra/tools/luci/vpython3/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "929cf094e615a141190d41b36a7bac38a66dc1aba167feabd4c2c81a91eee155", |
| "linux-arm64": "4695d7850655a55b4213b646f766efb1cb5b9b30a5cb68bc4ddd8a639319ecd9", |
| "mac-amd64": "41d8c8329f22e82913bd3c07a12af5397fd1de7cc9d88e2bebfd24ce60d026c0", |
| "mac-arm64": "d524b77624d294a3f789f471082ba8fd3ea2bf68f3c2f636d869b62ff97e666c", |
| "windows-amd64": "5e19058263e1fb1053b923718c7284559cf485ff7e39d109b63cb143428d070e", |
| }, |
| tag = "git_revision:04d7e52f07cdf029474b2eb75d4b55ae717795f4", |
| ) |
| 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": "9b3b1fb881d90fae0766bb8cf9ccda62d8e71b6b1f0bdf29011edf27655c4827", |
| "linux-arm64": "02bfb16f84596da6f8e4130f2cc0db8fdd9d321f769ffdfced155709b826279d", |
| "mac-amd64": "ee638f901a47bc9d95b5009ce17d5dec95b40d78d97e7e88120da4ee213fd381", |
| "mac-arm64": "0a367f52926d2e56cb82f5a07b3ea9b7c01075e8003d5178c3cb94529055c331", |
| "windows-amd64": "545534d24040d71603c8ffb9cb31c2cd752b981c14f7d408132e23b8db4dbb1e", |
| }, |
| tag = "git_revision:e065d6c92631cf7300d87433b416e958539dddd3", |
| ) |
| 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": "14dbb3a2262545d73786dad6af075ceb410d86c2e72fe695628bea9d8fae034a", |
| "linux-arm64": "24fcf0903454ec6b96e12f4422440c32d4d64b8175bd51bebf8f1754e011c83d", |
| "mac-amd64": "2f095595c2ad32311fd695ec8a9ac8e21fe0dcc3ce7ea826e7648608930424b1", |
| "mac-arm64": "c39ac4c25185f666d44c91ac41caab8e963761c64559dfdb03e0c975d88b3ab0", |
| "windows-amd64": "1ac8d367b0fb80dcbbb9211323f82a534072ee93a5aae58dedfc85d433a01eb8", |
| }, |
| tag = "git_revision:a0581686d81675c995a4e557cf5d057aef90c58c", |
| ) |
| 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": "908ff95ec16e8f9649d092180e858e2e050e85a0c30c9766647f45da3dc9c28f", |
| "linux-arm64": "e4000eb8862de3c6df76206817efd005c795024994953977062ee9ba91ef672e", |
| "mac-amd64": "1c08ae0f320f24eeb28a3996219d3862a22414f6d7841e3f2777b04a603f271f", |
| "mac-arm64": "37b4e44fac433e0683cd787e95a9162e8a517835ee8fedabdef6fb686c40fcf0", |
| "windows-amd64": "d970666e2b2974b665a61e3eb848f441130c4e01c2852d6de8a39ba3c540b18b", |
| }, |
| tag = "git_revision:a0581686d81675c995a4e557cf5d057aef90c58c", |
| ) |
| 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": "0a9462f1100bcc1440e16cf95d6da768c0bd3a88fc1b8b0c2141bb52f9ab7846", |
| "linux-arm64": "ea0d9a404692c8347a3f7be299609cf8524e7fc2b8761316e5c48b1b25830d1a", |
| "mac-amd64": "1f6cdc1d2d492a2b00bfeb0daedf85099723f1878306432185d8c35df173535c", |
| "mac-arm64": "b549cd905b2a42a54c5ac2bd635e647513d95f76243a23dc2026f76291c5519a", |
| "windows-amd64": "91c8297fdd647a7151b06ee94fad3bce29d0a9328d02394d59cd454e0edf59a0", |
| }, |
| tag = "git_revision:a0581686d81675c995a4e557cf5d057aef90c58c", |
| ) |
| use_repo(cipd, "command_wrapper_linux-amd64") |
| |
| cipd.download_http( |
| name = "presubmit", |
| cipd_package = "skia/tools/presubmit/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "83c21e56290b4ada2e7e07833e5141f45a5865efa9920a45b5ab515d64071cda", |
| "linux-arm64": "db838149a7c5b4055f1788f4274b878f7231a6dd6dc36cd720f7ac75fc5b4377", |
| "mac-amd64": "0ae6daaef0cf76a0420f3974febeae3caf2024d7a7bf700addf9be9d8df8f62c", |
| "mac-arm64": "d3a9703bb2f69a445152f0cbfb9bbc9ca940fff7f5fc5500e68847551b411a22", |
| "windows-amd64": "cfac9de271289a4a21e8e4167f74477c9ef28b5268bb604236a1c1e2e046992f", |
| }, |
| tag = "git_revision:a0581686d81675c995a4e557cf5d057aef90c58c", |
| ) |
| use_repo(cipd, "presubmit_linux-amd64") |
| |
| cipd.download_http( |
| name = "cipd", |
| cipd_package = "infra/tools/cipd/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "00b20de61ae612fe1a8edc2d3bff3c7d8edbc5cad871bd5600abc8a83ee5b492", |
| "linux-arm64": "6b9718d1ef2c94c125f91f54923693923de3dd7f6a2bf0d3a7d925a5b418c5a2", |
| "mac-amd64": "bd28e6491bf16bbba2df4e32989ccbe4480272fc91d3aa445f3fdb1a584bb9a6", |
| "mac-arm64": "be4fc488142977e183847c95bbe3bf092b201f377c36baf3d8f5761809e2bd9f", |
| "windows-amd64": "998e65a3ff230dec26f0bbc5c1b9e39f734b037b17852876f8c7f0a2a1931a02", |
| }, |
| tag = "git_revision:e8ff1a9251fd84ffa2645964347cf41281903c09", |
| ) |
| use_repo(cipd, "cipd_linux-amd64") |
| |
| cipd.download_http( |
| name = "kitchen", |
| cipd_package = "infra/tools/luci/kitchen/${platform}", |
| platform_to_sha256 = { |
| "linux-amd64": "e5eb29c91963900160ad10c11001d17b859fc8fbece758eedc856481523959ab", |
| "linux-arm64": "37a6bcb1f07a789fdca8cca7bd72a235535b073f6ab454ee0b5d5451f6b9bc17", |
| "mac-amd64": "0ab32ead71ff55e58de360afe98f7524827d33f8223de2709fc5e61c13a77417", |
| "mac-arm64": "f108c1eccb0ea88472f010e06d62cd7aaf92a046d96e5433b432a52f95b0284d", |
| "windows-amd64": "c11d7b9c938b52a7de19fe9d5cd7270f95c9d044bdaaefc55e54b2ae30c7e89b", |
| }, |
| tag = "git_revision:815b56e87b2c67ebe796fdf9d3169962f9724286", |
| ) |
| 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", |
| ) |