cloud-bulldozer / performance-dashboards

Performance dashboards from the Perf & Scale team
Apache License 2.0
17 stars 40 forks source link

fixing JB binary for amd64 #98

Closed vishnuchalla closed 9 months ago

vishnuchalla commented 9 months ago

Type of change

Description

Fixes bug with fetching jb binary for x86_64 arcs.

Checklist before requesting a review

Testing

Tested on my local.

Cleaning up
rm -rf bin rendered templates/vendor templates/grafonnet-lib
mkdir -p bin rendered
Downloading jsonnet binary
curl -s -L https://github.com/google/go-jsonnet/releases/download/v0.20.0/go-jsonnet_0.20.0_Linux_x86_64.tar.gz | tar xz -C bin
Downloading jb binary
curl -s -L https://github.com/jsonnet-bundler/jsonnet-bundler/releases/latest/download/jb-linux-amd64 -o bin/jb
chmod +x bin/jb
Downloading vendor files
cd templates && ../bin/jb install && cd ../
GET https://github.com/grafana/grafonnet/archive/9e217263ac4b922ca2e00bc5cc36ada2311bb5a6.tar.gz 200
GET https://github.com/grafana/grafonnet/archive/9e217263ac4b922ca2e00bc5cc36ada2311bb5a6.tar.gz 200
GET https://github.com/jsonnet-libs/docsonnet/archive/503e5c8fe96d6b55775037713ac10b184709ad93.tar.gz 200
GET https://github.com/jsonnet-libs/xtd/archive/c1a315a7dbead0335a5e0486acc5583395b22a24.tar.gz 200
bin/jsonnetfmt -i templates/CPT/k8s-netperf-v2.jsonnet templates/CPT/kube-burner-report-ocp-wrapper-v2.jsonnet templates/General/ocp-performance-v2.jsonnet
Building template templates/CPT/k8s-netperf-v2.jsonnet
mkdir -p rendered/CPT/
bin/jsonnet -J ./templates/vendor templates/CPT/k8s-netperf-v2.jsonnet > rendered/CPT/k8s-netperf-v2.json
Building template templates/CPT/kube-burner-report-ocp-wrapper-v2.jsonnet
mkdir -p rendered/CPT/
bin/jsonnet -J ./templates/vendor templates/CPT/kube-burner-report-ocp-wrapper-v2.jsonnet > rendered/CPT/kube-burner-report-ocp-wrapper-v2.json
Building template templates/General/ocp-performance-v2.jsonnet
mkdir -p rendered/General/
bin/jsonnet -J ./templates/vendor templates/General/ocp-performance-v2.jsonnet > rendered/General/ocp-performance-v2.json
Rendered the v2 dashboards with latest grafonnet library