carlosedp / cluster-monitoring

Cluster monitoring stack for clusters based on Prometheus Operator
MIT License
740 stars 200 forks source link

During 'make', I get 'gojsontoyaml: not found' #37

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

When running make, I get the following output:

$ make
rm -rf manifests
./scripts/build.sh main.jsonnet /home/pirate/go/bin/jsonnet
using jsonnet from arg
+ set -o pipefail
+ rm -rf manifests
+ mkdir manifests
+ /home/pirate/go/bin/jsonnet -J vendor -m manifests main.jsonnet
+ xargs '-I{}' sh -c 'cat {} | gojsontoyaml > {}.yaml; rm -f {}' -- '{}'
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found
--: 1: --: gojsontoyaml: not found

All the .yaml manifests are created, but they are empty. It seems like gojsontoyaml may be quite essential to making the manifests actually have content 🤪

carlosedp commented 4 years ago

Thanks for reporting it. Fixed by 7c39bd7. Can you check?

geerlingguy commented 4 years ago

Testing, thanks!

geerlingguy commented 4 years ago

@carlosedp - That fixed it! Thanks for helping out!

carlosedp commented 4 years ago

Awesome! Good to know!