diff options
Diffstat (limited to '')
-rwxr-xr-x | web/gui/bundle_dashboard_v1.py (renamed from web/gui/bundle_dashboard.py) | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/web/gui/bundle_dashboard.py b/web/gui/bundle_dashboard_v1.py index 3b685be72..20dc18395 100755 --- a/web/gui/bundle_dashboard.py +++ b/web/gui/bundle_dashboard_v1.py @@ -2,7 +2,7 @@ # # Copyright: © 2021 Netdata Inc. # SPDX-License-Identifier: GPL-3.0-or-later -'''Bundle the dashboard code into the agent repo. +'''Bundle the v1 dashboard code into the agent repo. This is designed to be run as part of a GHA workflow, but will work fine outside of one.''' @@ -15,7 +15,7 @@ from pathlib import Path os.chdir(Path(__file__).parent.absolute()) -BASEPATH = Path('dashboard') +BASEPATH = Path('v1') URLTEMPLATE = 'https://github.com/netdata/dashboard/releases/download/{0}/dashboard.tar.gz' @@ -32,6 +32,12 @@ dist_web_DATA = \\ {0} \\ $(NULL) +webv1dir=$(webdir)/v1 + +dist_webv1_DATA = \\ + index.html \\ + $(NULL) + webcssdir=$(webdir)/css dist_webcss_DATA = \\ {1} \\ |