bazel: fix use of YQ to be hermetic during "bazel run"

This commit is contained in:
Malte Poll 2023-08-16 14:45:27 +02:00 committed by Malte Poll
parent 6c6e2ca2f4
commit d3fee12947

View File

@ -332,10 +332,9 @@ sh_template(
"@@HELM@@": "$(rootpath :com_github_helm_helm)",
"@@MEASUREMENT_GENERATOR@@": "$(rootpath //internal/attestation/measurements/measurement-generator:measurement-generator)",
"@@STRINGER@@": "$(rootpath @org_golang_x_tools//cmd/stringer:stringer)",
"@@YQ@@": "$(YQ_BIN)",
"@@YQ@@": "$(rootpath @yq_toolchains//:resolved_toolchain)",
},
template = "go_generate.sh.in",
toolchains = ["@yq_toolchains//:resolved_toolchain"],
)
# deps_mirror_fix fixes bazel workspace rules for external dependencies.