Commit Graph

9 Commits (master)

Author SHA1 Message Date
Dustin bf0374ec70 ci: Mount ssh_known_hosts in rsync container
dustin/dustin.web/pipeline/head This commit looks good Details
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.
2025-08-26 08:02:15 -05:00
Dustin 914ce34521 ci: Update for new ruamel.yaml API
dustin/dustin.web/pipeline/head There was a failure building this commit Details
The old `safe_load` and similar PyYAML compatibility functions have been
removed from recent(-ish) versions of _ruamel.yaml_.
2025-08-26 07:59:12 -05:00
Dustin 313bc6805e ci: Always archive artifacts, only publish master
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.
2025-08-26 07:59:12 -05:00
Dustin 59ef8ff5ad ci: Fix container entry points
* 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.
2025-08-26 07:59:12 -05:00
Dustin 5effaf78c2 ci: publish: Run a dry run for PR builds
dustin/dustin.web/pipeline/pr-master This commit looks good Details
dustin/dustin.web/pipeline/head This commit looks good Details
Only actually publish when building the *master* branch.
2022-12-02 22:07:09 -06:00
Dustin fab714379c ci: Build in Kubernetes
dustin/dustin.web/pipeline/pr-master This commit looks good Details
Can't use the official Zola container image because it doesn't have a
shell, so Jenkins can't run commands in it.
2022-12-02 22:05:46 -06:00
Dustin 61cd6ea200 ci: publish: Update user account
Moving this site to dustin.hatch.name instead of dustin.hatch.is
2022-04-23 15:26:19 -05:00
Dustin 838247fc2e Add song quotes to home page
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.
2021-08-23 21:49:04 -05:00
Dustin baf04e9c62 Add CI build/publish pipeline 2021-08-23 20:42:51 -05:00