summaryrefslogtreecommitdiffstats
path: root/web/gui/bundle_dashboard_v1.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:50:01 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-07-20 04:50:01 +0000
commitcd4377fab21e0f500bef7f06543fa848a039c1e0 (patch)
treeba00a55e430c052d6bed0b61c0f8bbe8ebedd313 /web/gui/bundle_dashboard_v1.py
parentReleasing debian version 1.40.1-1. (diff)
downloadnetdata-cd4377fab21e0f500bef7f06543fa848a039c1e0.tar.xz
netdata-cd4377fab21e0f500bef7f06543fa848a039c1e0.zip
Merging upstream version 1.41.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xweb/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} \\