4 ms·
Build a CLI in python or whatever which does the same thing as CI, every CI stage should just call its subcommands.
by never_inline 9mo ago
Build a CLI in python or whatever which does the same thing as CI, every CI stage should just call its subcommands.
- Storment33 9mo agoJust use a task runner(Make, Just, Taskfile) this is what they were designed for.
- jonhohle 9mo agoI typically use make for this and feel like I’m constantly clawing back scripts written in workflows that are hard to debug if they’re even runnable locally. This isn’t only a problem with GitHub Actions though. I’ve run into it with every CI runner I’ve come across.
- never_inline 9mo agoIn many enterprise environments, deployment logic would be quite large for bash.
- Storment33 9mo agoPersonally, I have never found the Python as a task runners to be less code, more readable or maintainable.