mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
8ff1e6b399
Build jsonnet and jb in the testso that we can build ceph without internet access and still be able to run the test needed for monitoring using jsonnet tools. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
11 lines
248 B
Bash
Executable File
11 lines
248 B
Bash
Executable File
#!/bin/sh -ex
|
|
|
|
JSONNET_VERSION="v0.18.0"
|
|
OUTPUT_DIR=${1:-$(pwd)}
|
|
|
|
git clone -b ${JSONNET_VERSION} --depth 1 https://github.com/google/go-jsonnet.git
|
|
cd go-jsonnet
|
|
go build ./cmd/jsonnet
|
|
go build ./cmd/jsonnetfmt
|
|
mv jsonnet jsonnetfmt ${OUTPUT_DIR}
|