Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Surely you just need the workflow to not have embedded logic but call out to a task manager so you can do the same locally?




Well then why 99% of GH Actions functionality even exists.

It is fairly common pratice almost engineering best pratice to not put logic in CI. Just have it call out to a task runner, so you can run the same command locally for debugging etc. Think of CI more as a shell as a service, your just paying someone to enter some shell commands for you, you should be able to do exactly the same locally.

You can take this a setup furthur and use an environment manager to removing the installing of tools from CI as well for local/remote consistency and more benefits.


To lock you in.

Ergo, I'd rather use brainfuck to program CI.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: