summaryrefslogtreecommitdiffstats
path: root/monitoring/ceph-mixin/jsonnet-bundler-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'monitoring/ceph-mixin/jsonnet-bundler-build.sh')
-rwxr-xr-xmonitoring/ceph-mixin/jsonnet-bundler-build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/monitoring/ceph-mixin/jsonnet-bundler-build.sh b/monitoring/ceph-mixin/jsonnet-bundler-build.sh
new file mode 100755
index 000000000..d713cffb8
--- /dev/null
+++ b/monitoring/ceph-mixin/jsonnet-bundler-build.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -ex
+
+JSONNET_VERSION="v0.4.0"
+OUTPUT_DIR=${1:-$(pwd)}
+
+git clone -b ${JSONNET_VERSION} --depth 1 https://github.com/jsonnet-bundler/jsonnet-bundler
+make -C jsonnet-bundler build
+mv jsonnet-bundler/_output/jb ${OUTPUT_DIR}