dustin/dustin.web/pipeline/head There was a failure building this commitDetails
Sometimes, I want to see what the built site looks like before
publishing it. For that, I'll push changes to a dev branch and let
Jenkins build the site as a tarball that I can download, extract, and
view locally. Once I am satisfied, I'll merge the dev branch to master,
which Jenkins will build and publish to the live site.
* The _zola_ container image no longer contains Python, but it does
contain `pause`.
* When using `python` as the entry point, we need to explicitly register
a signal handler for SIGTERM, otherwise `signal.pause()` will never
return.
* The _rsync_ container image now has a default pause entry point.
Since we're pre-rendering the page now, we can't select a song quote on
the server side. Instead, we'll use JavaScript to fetch the song quotes
as a JSON document and choose a random song from there. The JSON
document is converted from the YAML source at build time with a simple
Python script.