Add in sparklines to status page pipelines
If graphite_url is set add in sparklines for pipelines on status page
Change-Id: Ife7579bf889a80fddd0bfb958ec1b6aa5394adae
diff --git a/etc/status/fetch-dependencies.sh b/etc/status/fetch-dependencies.sh
index a5dddff..7823f29 100755
--- a/etc/status/fetch-dependencies.sh
+++ b/etc/status/fetch-dependencies.sh
@@ -8,6 +8,12 @@
echo "Fetching jquery-visibility.min.js..."
curl --silent https://raw.github.com/mathiasbynens/jquery-visibility/master/jquery-visibility.min.js > $BASE_DIR/public_html/jquery-visibility.min.js
+echo "Fetching jquery.graphite.js..."
+curl -L --silent https://github.com/prestontimmons/graphitejs/archive/master.zip > jquery-graphite.zip
+unzip -q -o jquery-graphite.zip -d $BASE_DIR/public_html/
+mv $BASE_DIR/public_html/graphitejs-master/jquery.graphite.js $BASE_DIR/public_html/
+rm -R jquery-graphite.zip $BASE_DIR/public_html/graphitejs-master
+
echo "Fetching bootstrap..."
curl -L --silent https://github.com/twbs/bootstrap/releases/download/v3.1.1/bootstrap-3.1.1-dist.zip > bootstrap.zip
unzip -q -o bootstrap.zip -d $BASE_DIR/public_html/