Skip to content

Commit 0e80a42

Browse files
greggdonovanclaude
andcommitted
Fix: add oci tag to docker tests (they depend on OCI targets)
container_structure_test depends on grafana_image. Even with --build_tag_filters=-oci, Bazel analyzes the test's dependencies. Adding oci tag to tests ensures they're fully excluded on arm64 macOS. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bd62ade commit 0e80a42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ container_structure_test(
6969
name = "grafana_docker_test",
7070
configs = ["docker_tests.yaml"],
7171
image = ":grafana",
72-
tags = ["docker"],
72+
tags = ["docker", "oci"],
7373
)
7474

7575
grafana_image(
@@ -86,5 +86,5 @@ container_structure_test(
8686
name = "grafana_with_plugins_docker_test",
8787
configs = ["docker_with_plugins_tests.yaml"],
8888
image = ":grafana_with_plugins",
89-
tags = ["docker"],
89+
tags = ["docker", "oci"],
9090
)

0 commit comments

Comments
 (0)