Move dashboards into data source dir in build, fixes #1407

This commit is contained in:
Alexander Zobnin
2022-04-27 16:34:24 +03:00
parent 8d35c6b297
commit 6f41260acf
5 changed files with 4 additions and 4 deletions

View File

@@ -14,17 +14,17 @@
{ {
"type": "dashboard", "type": "dashboard",
"name": "Zabbix System Status", "name": "Zabbix System Status",
"path": "../dashboards/zabbix_system_status.json" "path": "dashboards/zabbix_system_status.json"
}, },
{ {
"type": "dashboard", "type": "dashboard",
"name": "Zabbix Template Linux Server", "name": "Zabbix Template Linux Server",
"path": "../dashboards/template_linux_server.json" "path": "dashboards/template_linux_server.json"
}, },
{ {
"type": "dashboard", "type": "dashboard",
"name": "Zabbix Server Dashboard", "name": "Zabbix Server Dashboard",
"path": "../dashboards/zabbix_server_dashboard.json" "path": "dashboards/zabbix_server_dashboard.json"
} }
], ],

View File

@@ -64,7 +64,7 @@ module.exports = {
{ from: '**/plugin.json' }, { from: '**/plugin.json' },
{ from: '**/*.html' }, { from: '**/*.html' },
{ from: '**/*.md' }, { from: '**/*.md' },
{ from: 'dashboards/*' }, { from: '../dashboards/*', to: 'datasource-zabbix/dashboards' },
{ from: '../README.md' }, { from: '../README.md' },
{ from: '**/img/*' }, { from: '**/img/*' },
]), ]),