forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monitoring: build jsonnet/jb only for testing
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> (cherry picked from commit 8ff1e6b)
- Loading branch information
1 parent
b0db2d9
commit be374d6
Showing
3 changed files
with
44 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} |