Skip to content

Commit

Permalink
regenerate bazel configs
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-hunt-materialize committed Dec 16, 2024
1 parent 3b0aaa8 commit bf35fff
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 14 deletions.
1 change: 1 addition & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ crates_repository(
"//:src/catalog/Cargo.toml",
"//:src/ccsr/Cargo.toml",
"//:src/cloud-api/Cargo.toml",
"//:src/cloud-provider/Cargo.toml",
"//:src/cloud-resources/Cargo.toml",
"//:src/cluster-client/Cargo.toml",
"//:src/cluster/Cargo.toml",
Expand Down
6 changes: 6 additions & 0 deletions src/adapter/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ rust_library(
"//src/build-info:mz_build_info",
"//src/catalog:mz_catalog",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/cluster-client:mz_cluster_client",
"//src/compute-client:mz_compute_client",
Expand Down Expand Up @@ -104,6 +105,7 @@ rust_test(
"//src/build-info:mz_build_info",
"//src/catalog:mz_catalog",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/cluster-client:mz_cluster_client",
"//src/compute-client:mz_compute_client",
Expand Down Expand Up @@ -153,6 +155,7 @@ rust_doc_test(
"//src/build-info:mz_build_info",
"//src/catalog:mz_catalog",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/cluster-client:mz_cluster_client",
"//src/compute-client:mz_compute_client",
Expand Down Expand Up @@ -222,6 +225,7 @@ rust_test(
"//src/build-info:mz_build_info",
"//src/catalog:mz_catalog",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/cluster-client:mz_cluster_client",
"//src/compute-client:mz_compute_client",
Expand Down Expand Up @@ -291,6 +295,7 @@ rust_test(
"//src/build-info:mz_build_info",
"//src/catalog:mz_catalog",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/cluster-client:mz_cluster_client",
"//src/compute-client:mz_compute_client",
Expand Down Expand Up @@ -360,6 +365,7 @@ rust_test(
"//src/build-info:mz_build_info",
"//src/catalog:mz_catalog",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/cluster-client:mz_cluster_client",
"//src/compute-client:mz_compute_client",
Expand Down
37 changes: 37 additions & 0 deletions src/cloud-provider/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Code generated by cargo-gazelle DO NOT EDIT

# Copyright Materialize, Inc. and contributors. All rights reserved.
#
# Use of this software is governed by the Business Source License
# included in the LICENSE file at the root of this repository.
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0.

load("@crates_io//:defs.bzl", "aliases", "all_crate_deps")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
name = "mz_cloud_provider",
srcs = glob(["src/**/*.rs"]),
aliases = aliases(
normal = True,
proc_macro = True,
),
compile_data = [],
crate_features = [],
data = [],
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
rustc_flags = [],
version = "0.0.0",
deps = [] + all_crate_deps(normal = True),
)

alias(
name = "cloud-provider",
actual = "mz_cloud_provider",
)
11 changes: 11 additions & 0 deletions src/environmentd/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ rust_library(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -139,6 +140,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -188,6 +190,7 @@ rust_doc_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -274,6 +277,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -342,6 +346,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -410,6 +415,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -478,6 +484,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -546,6 +553,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -614,6 +622,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -682,6 +691,7 @@ rust_test(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down Expand Up @@ -744,6 +754,7 @@ rust_binary(
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-process:mz_orchestrator_process",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/orchestratord:mz_orchestratord",
"//src/ore:mz_ore",
"//src/persist-client:mz_persist_client",
"//src/pgrepr:mz_pgrepr",
Expand Down
4 changes: 2 additions & 2 deletions src/orchestrator-kubernetes/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rust_library(
proc_macro = True,
),
compile_data = [],
crate_features = [],
crate_features = ["default"],
data = [],
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
Expand Down Expand Up @@ -53,7 +53,7 @@ rust_test(
),
compile_data = [],
crate = ":mz_orchestrator_kubernetes",
crate_features = [],
crate_features = ["default"],
data = [],
env = {},
proc_macro_deps = [] + all_crate_deps(
Expand Down
4 changes: 2 additions & 2 deletions src/orchestrator-process/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rust_library(
proc_macro = True,
),
compile_data = [],
crate_features = [],
crate_features = ["default"],
data = [],
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
Expand Down Expand Up @@ -52,7 +52,7 @@ rust_test(
),
compile_data = [],
crate = ":mz_orchestrator_process",
crate_features = [],
crate_features = ["default"],
data = [],
env = {},
proc_macro_deps = [] + all_crate_deps(
Expand Down
12 changes: 4 additions & 8 deletions src/orchestratord/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ rust_library(
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
"//src/build-info:mz_build_info",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/environmentd:mz_environmentd",
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/ore:mz_ore",
"//src/prof-http:mz_prof_http",
"//src/sql:mz_sql",
"//src/tls-util:mz_tls_util",
] + all_crate_deps(normal = True),
)
Expand Down Expand Up @@ -74,13 +73,12 @@ rust_test(
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
"//src/build-info:mz_build_info",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/environmentd:mz_environmentd",
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/ore:mz_ore",
"//src/prof-http:mz_prof_http",
"//src/sql:mz_sql",
"//src/tls-util:mz_tls_util",
] + all_crate_deps(
normal = True,
Expand All @@ -95,13 +93,12 @@ rust_doc_test(
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
"//src/build-info:mz_build_info",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/environmentd:mz_environmentd",
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/ore:mz_ore",
"//src/prof-http:mz_prof_http",
"//src/sql:mz_sql",
"//src/tls-util:mz_tls_util",
] + all_crate_deps(
normal = True,
Expand Down Expand Up @@ -130,13 +127,12 @@ rust_binary(
"//src/alloc:mz_alloc",
"//src/alloc-default:mz_alloc_default",
"//src/build-info:mz_build_info",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/environmentd:mz_environmentd",
"//src/orchestrator-kubernetes:mz_orchestrator_kubernetes",
"//src/orchestrator-tracing:mz_orchestrator_tracing",
"//src/ore:mz_ore",
"//src/prof-http:mz_prof_http",
"//src/sql:mz_sql",
"//src/tls-util:mz_tls_util",
] + all_crate_deps(normal = True),
)
4 changes: 2 additions & 2 deletions src/secrets/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rust_library(
proc_macro = True,
),
compile_data = [],
crate_features = [],
crate_features = ["default"],
data = [],
proc_macro_deps = [] + all_crate_deps(proc_macro = True),
rustc_env = {},
Expand All @@ -47,7 +47,7 @@ rust_test(
),
compile_data = [],
crate = ":mz_secrets",
crate_features = [],
crate_features = ["default"],
data = [],
env = {},
proc_macro_deps = [] + all_crate_deps(
Expand Down
3 changes: 3 additions & 0 deletions src/sql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ rust_library(
"//src/audit-log:mz_audit_log",
"//src/build-info:mz_build_info",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/controller-types:mz_controller_types",
"//src/dyncfg:mz_dyncfg",
Expand Down Expand Up @@ -94,6 +95,7 @@ rust_test(
"//src/audit-log:mz_audit_log",
"//src/build-info:mz_build_info",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/controller-types:mz_controller_types",
"//src/dyncfg:mz_dyncfg",
Expand Down Expand Up @@ -135,6 +137,7 @@ rust_doc_test(
"//src/audit-log:mz_audit_log",
"//src/build-info:mz_build_info",
"//src/ccsr:mz_ccsr",
"//src/cloud-provider:mz_cloud_provider",
"//src/cloud-resources:mz_cloud_resources",
"//src/controller-types:mz_controller_types",
"//src/dyncfg:mz_dyncfg",
Expand Down

0 comments on commit bf35fff

Please sign in to comment.