Skip to content

Mssing import mixin-utils/utils.libsonnet #93

@megian

Description

@megian

The compilation does error out.

Steps to Reproduce the Problem

  1. Compile component-prometheus with the grafana-builder: add support for native/classic stat panel query grafana/jsonnet-libs#1285

Actual Behavior

Jsonnet error: failed to compile /builds/vshn/syn-tenant-repo/vendor/prometheus/component/main.jsonnet:
 RUNTIME ERROR: couldn't open import "mixin-utils/utils.libsonnet": [Errno 2] No such file or directory: '/builds/vshn/syn-tenant-repo/vendor/github.com/grafana/jsonnet-libs/grafana-builder/mixin-utils/utils.libsonnet'
	/builds/vshn/syn-tenant-repo/vendor/github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet:1:15-51	thunk <utils>
	/builds/vshn/syn-tenant-repo/vendor/github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet:335:29-34	thunk <isNativeClassic>
	/builds/vshn/syn-tenant-repo/vendor/github.com/grafana/jsonnet-libs/grafana-builder/grafana.libsonnet:346:12-27	object <anonymous>
	std.jsonnet:1037:43-47	thunk <v>
	std.jsonnet:1009:10	thunk <a>
	std.jsonnet:1009:10-19	function <anonymous>
	std.jsonnet:1009:10-19	function <aux>
	std.jsonnet:1037:39-78	thunk <array_element>
	std.jsonnet:1041:9-28	function <aux>
	std.jsonnet:1027:50-83	thunk <array_element>
	...
	std.jsonnet:1031:9-28	function <aux>
	std.jsonnet:1037:39-78	thunk <array_element>
	std.jsonnet:1041:9-28	function <aux>
	std.jsonnet:1042:5-23	function <anonymous>
	/builds/vshn/syn-tenant-repo/vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:100:25-79	object <anonymous>
	/builds/vshn/syn-tenant-repo/vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:100:15-81	object <anonymous>
	/builds/vshn/syn-tenant-repo/vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:(93:7)-(101:8)	thunk <array_element>
	/builds/vshn/syn-tenant-repo/vendor/github.com/brancz/kubernetes-grafana/grafana/grafana.libsonnet:(92:12)-(132:6)	object <anonymous>
	std.jsonnet:263:7-62	object <anonymous>
	During manifestation	
Compile error: failed to compile target: prometheus

Expected Behavior

Compiles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions