Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
cf632c0f
Commit
cf632c0f
authored
Aug 20, 2018
by
Pierre GIRAUD
Committed by
Torkel Ödegaard
Aug 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bulk-dashboards path (#12978)
parent
887387cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
.gitignore
+1
-1
devenv/bulk-dashboards/bulk-dashboards.yaml
+1
-1
devenv/setup.sh
+2
-2
No files found.
.gitignore
View file @
cf632c0f
...
@@ -71,4 +71,4 @@ debug.test
...
@@ -71,4 +71,4 @@ debug.test
/vendor/**/appengine*
/vendor/**/appengine*
*.orig
*.orig
/devenv/
dashboards/bulk-testing
/*.json
/devenv/
bulk-dashboards
/*.json
devenv/bulk-dashboards/bulk-dashboards.yaml
View file @
cf632c0f
...
@@ -5,5 +5,5 @@ providers:
...
@@ -5,5 +5,5 @@ providers:
folder
:
'
Bulk
dashboards'
folder
:
'
Bulk
dashboards'
type
:
file
type
:
file
options
:
options
:
path
:
devenv/
dashboards/bulk-testing
path
:
devenv/
bulk-dashboards
devenv/setup.sh
View file @
cf632c0f
...
@@ -7,11 +7,11 @@ bulkDashboard() {
...
@@ -7,11 +7,11 @@ bulkDashboard() {
COUNTER
=
0
COUNTER
=
0
MAX
=
400
MAX
=
400
while
[
$COUNTER
-lt
$MAX
]
;
do
while
[
$COUNTER
-lt
$MAX
]
;
do
jsonnet
-o
"
dashboards/bulk-testing/dashboard
${
COUNTER
}
.json"
-e
"local bulkDash = import 'dashboards/bulk-testing
/bulkdash.jsonnet'; bulkDash + { uid: 'uid-
${
COUNTER
}
', title: 'title-
${
COUNTER
}
' }"
jsonnet
-o
"
bulk-dashboards/dashboard
${
COUNTER
}
.json"
-e
"local bulkDash = import 'bulk-dashboards
/bulkdash.jsonnet'; bulkDash + { uid: 'uid-
${
COUNTER
}
', title: 'title-
${
COUNTER
}
' }"
let
COUNTER
=
COUNTER+1
let
COUNTER
=
COUNTER+1
done
done
ln
-s
-f
-r
./
dashboards/bulk-testing
/bulk-dashboards.yaml ../conf/provisioning/dashboards/custom.yaml
ln
-s
-f
-r
./
bulk-dashboards
/bulk-dashboards.yaml ../conf/provisioning/dashboards/custom.yaml
}
}
requiresJsonnet
()
{
requiresJsonnet
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment