Devenv: Longer provisioning update intervals (#88623)

* Change devenv provision updateinterval to one hour

* Update bulk-dashboards and bulk-folders

* Clear bulk-folders before creating new ones

* Update devenv/bulk-folders/bulk-folders.sh
This commit is contained in:
Tobias Skarhed 2024-06-04 11:00:23 +02:00 committed by GitHub
parent b02a5d6e07
commit 4d4cfaefce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@ apiVersion: 1
providers:
- name: 'Bulk dashboards'
folder: 'Bulk dashboards'
updateIntervalSeconds: 3600
type: file
options:
path: devenv/bulk-dashboards

View File

@ -1,5 +1,8 @@
#!/bin/bash
echo "Deleting previous bulk folders"
find ./bulk-folders -type d -name "Bulk Folder*" -exec rm -rf "{}" \;
numberOfFolders=${1:-200}
numberOfDashboardsPerFolder=${2:-3}

View File

@ -3,6 +3,7 @@ apiVersion: 1
providers:
- name: 'Bulk folders'
type: file
updateIntervalSeconds: 3600
options:
foldersFromFilesStructure: true
path: devenv/bulk-folders

View File

@ -6,6 +6,6 @@ providers:
folderUid: ''
type: file
allowUiUpdates: false
updateIntervalSeconds: 60
updateIntervalSeconds: 3600
options:
path: devenv/dev-dashboards