Bazel:如何覆盖git_repository commit进行集成测试?

时间:2018-04-08 19:29:33

标签: bazel

我想在rules_k8s添加一个集成测试,允许在命令行传递更新的提交SHA,以覆盖rules_docker中的rules_docker的默认提交哈希值{3}}。动机是进行CI测试,检查rules_k8s是否包含影响rules_scala的回归。

对于svg.append("text") .attr("x", (legendSpace / 2) + i * legendSpace) // space legend .attr("y", height + (margin.bottom / 2) + 5) .attr("class", "legend") // style the legend .style("fill", function() { // Add the colours dynamically return d.color = color(d.key); }) .on("click", function() { // Determine if current line is visible var active = d.active ? false : true, newOpacity = active ? 0 : 1; // Hide or show the elements based on the ID d3.select("#tag" + d.key.replace(/\s+/g, '')) .transition().duration(100) .style("opacity", newOpacity); // Update whether or not the elements are active d.active = active; }) .text(d.key); ,我做了类似的WORKSPACE,但这似乎比这种情况下需要的更复杂。

1 个答案:

答案 0 :(得分:1)

我认为目前无法做到这一点,您介意在https://github.com/bazelbuild/bazel打开功能请求吗?

相关问题