3 ms·
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 log
by verdverm 2y ago
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
- pdimitar 2y agoWould love to see a more detailed write-up on this way of using Dagger.
- verdverm 2y agoThe 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 https://verdverm.com/topics/dev/dx