News for hackers. Stuff that matters.
Re:The Pain That Is GitHub Actions by maratc on Thursday March 20, 2025 @12:25PM (#43425324)
Q: How do you determine what date it was 180 days ago?

A: Easy! You just spin up a Kubernetes pod with Alpine image, map a couple of files inside, run a bash script of "date" with some parameters, redirect output to a mapped file, and then read the resulting file. That's all. Here's a YAML for you. Configuration, baby!

(based on actual events)

Re:The Pain That Is GitHub Actions by jiggawatts on Friday March 21, 2025 @04:02AM (#43432929)
At first I assumed you were kidding, then I realised that sadly… you probably weren’t.
Re:The Pain That Is GitHub Actions by maratc on Friday March 21, 2025 @06:19AM (#43433893)
I wasn’t. This goes to show that when all you have is a YAML hammer, every problem has to look like a YAML-able nail. Still there would be people who would say I’m “blaming my tools” and “everything is covered in chapter 1 of yaml for dummies.”