building v0.13.0 is missing mixin-utils/utils.libsonnet
doofy opened this issue · 4 comments
doofy commented
Building example.jsonnet on tag 0.13.0 fails because its missing a dependency:
RUNTIME ERROR: couldn't open import "mixin-utils/utils.libsonnet": no match locally or in the Jsonnet library paths.
41 vendor/github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet:1:15-51 thunk <utils>
42 vendor/github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet:335:29-34 thunk <isNativeClassic>
43 vendor/github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet:346:12-27 object <anonymous>
44 std.jsonnet:1062:43-47 thunk <v>
45 std.jsonnet:1034:10 thunk <a>
46 std.jsonnet:1034:10-19 function <anonymous>
47 std.jsonnet:1034:10-19 function <aux>
48 std.jsonnet:1062:39-78 thunk <array_element>
49 std.jsonnet:1066:9-28 function <aux>
50 std.jsonnet:1052:50-83 thunk <array_element>
51 ...
52 std.jsonnet:1056:9-28 function <aux>
53 std.jsonnet:1062:39-78 thunk <array_element>
54 std.jsonnet:1066:9-28 function <aux>
55 std.jsonnet:1067:5-23 function <anonymous>
56 vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:100:25-79 object <anonymous>
57 vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:100:15-81 object <anonymous>
58 vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:(93:7)-(101:8) thunk <array_element>
59 vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:(92:12)-(132:6) object <anonymous>
60 kube-prometheus.jsonnet:31:1-83 object <anonymous>
61 During manifestation
main branch includes 6084682 which fixes this.
edit: applying 6084682 into 0.13.0 does not fix the issue. building example.jsonnet on main at 1fb6d8c works without issues.
jrstarke commented
I'm seeing the same in 0.11.0
jrstarke commented
I tested adding this dependency to the jsonnetfile.json locally, and it solved my problem. When I get a chance, I'll put some PRs in to backport this to 0.10-0.13 release branches
philipgough commented
Hey, sorry about that. I was away on vacation for a bit and trying to catch up with other work since so had missed that these were borked. Should be good now.