About
Currently, I work as an Infastructure and Cloud consultant at Red Hat within the consulting team. I predominantly work in the storage and container ecosystems but have an interest in most things Linux related.
Prior to this I worked in the hosting industry building solutions at a global scale.
The purpose of this site is for me to write about things I’ve found interesting, as well as a general scratch pad for labs and test.
Opinions expressed are my own and not related to/endorsed by my employer in any fashion.
The Website⌗
This is a static website stored entirely within GitLab. It use the Hugo static site generator to build the site.
The site is then hosted on Netlify on a global CDN.
Updates are done using the standard git workflow, then a trigger is sent from Gitlab to Netlify to rebuild and republish the site.
Infrastructure⌗
Gitlab⌗
The site is maintained in GitLab here.
For images and other large binary conetent, GitLab LFS is utilised. This is to prevent the main repo filling up with (non-necessary) versioning information for these data-types.
Hugo⌗
When adding new content for the site, running a preview can be very helpful. This can be done by having the hugo binary on your local machine and running hugo server -D
from within the root of the git directory. This will then have a development version of the site at http://127.0.0.1:1313.
When using a local development hugo and Netlify, be sure to have the Hugo Version defined in a netlify.toml
file to allow the site to build with the relevant version of Hugo.
The theme is a slightly butchered version of panr’s terminal theme
Netlify⌗
Netlify is a web developer platform that multiplies productivity.
By unifying the elements of the modern decoupled web, from local development to advanced edge logic, Netlify enables a 10x faster path to much more performant, secure, and scalable websites and apps.
Current build status from Netlify
Workflow⌗
Adding content to the site is done using this method:
- Checkout the GitLab repository
- Update or add content to
content/posts
- Check the new content with
aspell
and the--markdown
filter - Push new content back to GitLab
- NetLify triggers a build once git is updated - it checks out the content from git, applies the Hugo generator to the site and then publishes it on a specific URL