kubevirt / kubevirt.github.io

KubeVirt website repo, documentation at https://kubevirt.io/user-guide/
https://kubevirt.io
MIT License
30 stars 112 forks source link

push-kubevirt.github.io-main-build-and-push-to-gh-pages failing with `LoadError: cannot load such file -- {awesome_print, html-proofer}` #862

Closed lyarwood closed 2 years ago

lyarwood commented 2 years ago

/kind bug

What happened:

https://storage.googleapis.com/kubevirt-prow/logs/push-kubevirt.github.io-main-build-and-push-to-gh-pages/1559192539473383424/build-log.txt

+ make build

Makefile: Build jekyll site(B
scripts/update_changelog.sh
Cloning into 'build/kubevirt'...
Already on 'main'
Your branch is up to date with 'origin/main'.
Already up to date.
rake
rake aborted!
LoadError: cannot load such file -- awesome_print
/home/prow/go/src/github.com/kubevirt/kubevirt.github.io/Rakefile:3:in `block in <top (required)>'
/home/prow/go/src/github.com/kubevirt/kubevirt.github.io/Rakefile:2:in `<top (required)>'

Caused by:
LoadError: cannot load such file -- html-proofer
/home/prow/go/src/github.com/kubevirt/kubevirt.github.io/Rakefile:3:in `block in <top (required)>'
/home/prow/go/src/github.com/kubevirt/kubevirt.github.io/Rakefile:2:in `<top (required)>'
(See full trace by running task with --trace)
make: *** [Makefile:110: build] Error 1
+ EXIT_VALUE=2
+ set +o xtrace
lyarwood commented 2 years ago

https://github.com/gjtorikian/html-proofer/commit/58c882ef1401aec2968c32efb85b299ae5d8b08e and https://github.com/gjtorikian/html-proofer/commit/2873f06e1ddd02b09274ad8825becc6540a688c1 mean that html-proofer is looking for a DEBUG env var now btw before it pulls in awesome_print and debug. Kudos to @sarahbx for finding this btw.