Remix.run Logo
never_inline 9 hours ago

Build a CLI in python or whatever which does the same thing as CI, every CI stage should just call its subcommands.

Storment33 9 hours ago | parent [-]

Just use a task runner(Make, Just, Taskfile) this is what they were designed for.

jonhohle 8 hours ago | parent | next [-]

I 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 7 hours ago | parent | prev [-]

In many enterprise environments, deployment logic would be quite large for bash.

Storment33 7 hours ago | parent [-]

Personally, I have never found the Python as a task runners to be less code, more readable or maintainable.