Justin Garrison
April 12, 2022

CD happens - 123dev #67

Posted on April 12, 2022  •  2 minutes  • 379 words
Red hot steel coils down a conveyor belt as it's being made

Comments

YOLO/CD

Continuous delivery is built on trust. Trust is gained over time. How do you take the first steps?

You can get some assurances with tests, but they’re never enough. You have to start slowly.

  1. Manual deployments to learn the steps and failure modes
  2. Manual automation: automation that’s triggered from an engineer
  3. Observed automation: runs on its own but is closely watched by a human for errors
  4. Trust

Soon you’ll not care that there’s molten iron flowing from your Jenkins servers

War crimes

The events in Ukraine are still heart breaking. I will continue to use one of my comments to talk about it instead of my usual tips.

It’s sad to me that much of it isn’t newsworthy anymore. Humans are so adaptable that weeks of reporting about people dying becomes mundane to hear. It’s not until there’s new extreme or horrifying information that it gets put into headlines.

Going “back to normal” isn’t a thing. We just get used to the current situation until something disrupts it.

If a picture is worth 1000 words then a diagram should be at least +500 PR. It’s nice to have native support for this it GitHub instead embedding pictures which were always a pain to maintain.

Include diagrams in your Markdown files with Mermaid | The GitHub Bloggithub.blog Mermaid is a JavaScript based diagramming and charting tool that takes Markdown-inspired text definitions and creates diagrams dynamically in the browser.

NGINX has been easier than Apache from my experience, but nginx.conf is Turing complete which means you’re going to mess it up at some point.

Avoiding the Top 10 NGINX Configuration Mistakes - NGINX We help you avoid the 10 most common NGINX configuration errors, explaining the problems caused by each and how to fix them. Errors include insufficient file descriptors per worker, disabling proxy buffering, and not using upstream groups and keepalive connections.

I’ve managed a lot of crons in my time and I wonder if that’s a thing of the past. I’m sure on-prem environments still have them but it seems that more and more are moving into container orchestration or higher level tools. In any case this was a good list of recommendations.

Cron best practices | Arabesqueblog.sanctum.geek.nz

The missing crontab manual

Follow me

Here's where I hang out in social media