Week in Review: Week 22, 2021
Well I've missed a few weekly update posts but that's ok, posting these every week isn't the goal - the goal is the habit and life happens around it. Last weekend was my birthday and we were out of town which was so so nice. It meant a short work week but I actually got a lot done!
Anyway, I finally finished setting up a new server for my static sites and wrote up the notes for a post (see below). A notable change I'm trying out: separate the work of CI from the deployment. So given a static site like cybertail.systems have CircleCI run the tests but then configure GitHub Actions with a workflow that deploys the site to DigitalOcean: verynicecode/cybertail-site#4.
Why this extra complexity? Well the thing is that when it comes to deploying I have to specify some secrets. If I do this with CircleCI then that prevents me from building forked pull requests. This doesn't really matter for a project like the Cybertail site, but I noticed that when my pal Steve Hicks opened a PR on pear it did not build.
That got me thinking about my approach and while pondering I remembered that GitHub Actions existed and that I could build a separate deployment pipeline and not interfere with the PR feedback pipeline. More complex yes, but also simple in the sense that what happens at CircleCI is open and what happens with GitHub Actions is closed. That's a simple mental model so I like that aspect of this setup. We shall see!
- worked 32:00, 8:00 PTO
- published Configure Prompt on iOS With SSH Keys on here
- published Updated DigitalOcean Server Setup on here
Like I said, I have a brand new spiffy server to host my static sites - woo! I've migrated a couple sites over and hope to find the time to migrate the rest over the next week.
I think the next milestone on this front is figuring out what to do with the Apache log files I'm generating. I'd really like to drop Google Analytics from any sites I host but want to have server logs as a close-enough replacement. My bet is that I can find some tool to parse and display these log files so it'll probably just take a bit of research/tinkering to set it all up.