Provisioning: Integration test that Repository resources work (#100197)
* Provisioning: Set up server in practice * Provisioning: Integration test that Repository resources work
This commit is contained in:
committed by
GitHub
parent
a51e785bc1
commit
e815a2850e
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"apiVersion": "provisioning.grafana.app/v0alpha1",
|
||||
"kind": "Repository",
|
||||
"metadata": {
|
||||
"name": "github-example"
|
||||
},
|
||||
"spec": {
|
||||
"title": "Github Example",
|
||||
"description": "load resources from github",
|
||||
"type": "github",
|
||||
"editing": {
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true
|
||||
},
|
||||
"github": {
|
||||
"owner": "grafana",
|
||||
"repository": "git-ui-sync-demo",
|
||||
"branch": "dummy-branch",
|
||||
"branchWorkflow": true,
|
||||
"generateDashboardPreviews": true,
|
||||
"token": "github_pat_dummy"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"apiVersion": "provisioning.grafana.app/v0alpha1",
|
||||
"kind": "Repository",
|
||||
"metadata": {
|
||||
"name": "local-devenv"
|
||||
},
|
||||
"spec": {
|
||||
"title": "Load devenv dashboards",
|
||||
"description": "Load /devenv/dev-dashboards (from root of repository)",
|
||||
"editing": {
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true
|
||||
},
|
||||
"type": "local",
|
||||
"local": {
|
||||
"path": "devenv/dev-dashboards"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user