Skip to content

Commit 43182e7

Browse files
committed
feat(grafana): add grafana
1 parent e6e5ec6 commit 43182e7

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

stacks/grafana/build.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)