Skip to content

Commit

Permalink
refactor: moved jaeger-agent-mixin (#2377)
Browse files Browse the repository at this point in the history
* refactor: use jaeger-agent-mixin

lib got moved: grafana/jsonnet-libs#291

used jb-0.4.0 which updates the jsonnetfile.json format

* refactor: use jb-0.4.0 jsonnetfile.json format
  • Loading branch information
Duologic authored Jul 20, 2020
1 parent 81c7bd3 commit 96515e3
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 54 deletions.
23 changes: 12 additions & 11 deletions production/ksonnet/loki-canary/jsonnetfile.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"dependencies": [
{
"name": "ksonnet-util",
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs",
"subdir": "ksonnet-util"
}
},
"version": "master"
"version": 1,
"dependencies": [
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "ksonnet-util"
}
]
},
"version": "master"
}
],
"legacyImports": true
}
70 changes: 39 additions & 31 deletions production/ksonnet/loki/jsonnetfile.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,42 @@
{
"dependencies": [
{
"name": "ksonnet-util",
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs",
"subdir": "ksonnet-util"
}
},
"version": "master"
},
{
"name": "consul",
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs",
"subdir": "consul"
}
},
"version": "master"
},
{
"name": "memcached",
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs",
"subdir": "memcached"
}
},
"version": "master"
"version": 1,
"dependencies": [
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "consul"
}
]
},
"version": "master"
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "jaeger-agent-mixin"
}
},
"version": "master"
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "ksonnet-util"
}
},
"version": "master"
},
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "memcached"
}
},
"version": "master"
}
],
"legacyImports": true
}
2 changes: 1 addition & 1 deletion production/ksonnet/loki/loki.libsonnet
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(import 'ksonnet-util/kausal.libsonnet') +
(import 'ksonnet-util/jaeger.libsonnet') +
(import 'jaeger-agent-mixin/jaeger.libsonnet') +
(import 'images.libsonnet') +
(import 'common.libsonnet') +
(import 'config.libsonnet') +
Expand Down
23 changes: 12 additions & 11 deletions production/ksonnet/promtail/jsonnetfile.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"dependencies": [
{
"name": "ksonnet-util",
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs",
"subdir": "ksonnet-util"
}
},
"version": "master"
"version": 1,
"dependencies": [
{
"source": {
"git": {
"remote": "https://github.com/grafana/jsonnet-libs.git",
"subdir": "ksonnet-util"
}
]
},
"version": "master"
}
],
"legacyImports": true
}

0 comments on commit 96515e3

Please sign in to comment.