monitoring/ceph-mixin/jsonnet-bundler-build.sh
Rama main · réplica de lectura del repositorio original.
#!/bin/sh -ex
JSONNET_VERSION="v0.6.0"
OUTPUT_DIR=${1:-$(pwd)}
# clean up leftovers from an aborted run so the clone stays idempotent
rm -rf jsonnet-bundler
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}