CD happens - 123dev #67
Posted on April 12, 2022 • 2 minutes • 379 words
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.
- Manual deployments to learn the steps and failure modes
- Manual automation: automation that’s triggered from an engineer
- Observed automation: runs on its own but is closely watched by a human for errors
- 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.
Links
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 Blog — github.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 | Arabesque — blog.sanctum.geek.nz
The missing crontab manual