Skip to content

Commit

Permalink
Mark test dependencies as dev dependencies (#107)
Browse files Browse the repository at this point in the history
This was overlooked in #98 and #105 when rules_oci was marked as dev
dependency.

Without this change, depending on this module fails as loading the
extension fails as evaluating `test_extensions.bzl` fails when loading
`test_deps.bzl` which again tries to load from `@rules_oci` which it
can't resolve as it is a dev dependency.
  • Loading branch information
mering authored Oct 24, 2024
1 parent 11392fa commit d700b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ register_toolchains(
"@helm_windows_amd64_toolchain//:toolchain",
)

helm_test = use_extension("@rules_helm//tests:test_extensions.bzl", "helm_test")
helm_test = use_extension("@rules_helm//tests:test_extensions.bzl", "helm_test", dev_dependency = True)
use_repo(
helm_test,
"helm_test_deps__with_chart_deps_postgresql",
Expand Down

0 comments on commit d700b61

Please sign in to comment.