Skip to content

Commit

Permalink
Use apple_support in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Sep 4, 2024
1 parent c52c124 commit 8cbf76d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/test/shell/bazel/remote/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ sh_test(
"@bazel_tools//tools/bash/runfiles",
],
shard_count = 5,
tags = [
"requires-network", # for Bzlmod (apple_support)
],
)

sh_test(
Expand Down
2 changes: 2 additions & 0 deletions src/test/shell/bazel/remote/remote_execution_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3144,6 +3144,8 @@ function setup_cc_binary_tool_with_dynamic_deps() {
local repo=$1

cat >> MODULE.bazel <<'EOF'
bazel_dep(name = "apple_support", version = "1.16.0")
local_repository = use_repo_rule("@bazel_tools//tools/build_defs/repo:local.bzl", "local_repository")
local_repository(
name = "other_repo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ java_library(
"//third_party/grpc-java:grpc-jar",
"//third_party/protobuf:protobuf_java",
"//third_party/protobuf:protobuf_java_util",
"@bazel_tools//tools/java/runfiles",
"//tools/java/runfiles",
"@googleapis//:google_bytestream_bytestream_java_grpc",
"@googleapis//:google_bytestream_bytestream_java_proto",
Expand Down

0 comments on commit 8cbf76d

Please sign in to comment.