dustin/dustin.web/pipeline/head This commit looks goodDetails
The problem with having stages that only run in some situations is that
they don't get tested.
Need to mount the SSH host key database file in the _rsync_ container so
the host key of the web server can be verified when publishing.
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.