We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e5ec6 commit 43182e7Copy full SHA for 43182e7
1 file changed
stacks/grafana/build.sh
@@ -0,0 +1,15 @@
1
+#!/bin/bash
2
+
3
+# Load stack utils
4
+. /usr/bin/stack-utils
5
6
+# Implement build function
7
+function build() {
8
+ curl -fsSL -o tmp.tar.gz https://dl.grafana.com/oss/release/grafana-${STACK_VERSION}.linux-${OS_ARCH}.tar.gz
9
+ tar -xvzf tmp.tar.gz
10
+ mv grafana-${STACK_VERSION} ${TARNAME}/data/grafana
11
+ rm tmp.tar.gz
12
+}
13
14
+# call build stack
15
+build-stack "${1}"
0 commit comments