News for hackers. Stuff that matters.
Re:The Pain That Is GitHub Actions by zamalek on Thursday March 20, 2025 @10:40AM (#43424144)
> I'm not convinced it's any better.

Your Jenkins experience is more valuable and worth replicating when you get the opportunity.

Re:The Pain That Is GitHub Actions by verdverm on Thursday March 20, 2025 @11:48AM (#43424889)
We're doing the same, but replacing the bash script with Dagger.

Once you get on Dagger, you can turn your CI into minimal Dagger invocations and write the logic in the language of your choice. Runs the same locally and in automation

Re:The Pain That Is GitHub Actions by pdimitar on Thursday March 20, 2025 @12:53PM (#43425684)
Would love to see a more detailed write-up on this way of using Dagger.
Re:The Pain That Is GitHub Actions by verdverm on Thursday March 20, 2025 @12:57PM (#43425724)
The idea is a common pattern among Dagger users, but you can do the same with bash scripts, python, or any entrypoint. It's more of a CI ethos, and for me Dagger is an implementation detail.

I personally hold Dagger a bit different from most, by writing a custom CLI and using the Dagger Go SDK directly. This allows you to do more host level commands, as everything in a Dagger session runs in a container (builds and arbitrary commands).

I've adopted the mono/megarepo organization and have a pattern that also includes CUE in the solution. Starting to write that up here: https://verdverm.com/topics/dev/dx