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

I'd say write a Python CLI (or any language you're comfortable with) which does all the actions (setup, deploy), download it and use it in the CI (or install on the runner images if you control them). That way you can use same workflow (command) in local development and CI.

There is a gitlab CI feature `include`, but you pretty much have to write shell scripts inside YAML, losing on whole developer experience (shellcheck etc..). I would recommend this way only if you can't factor your code into a CLI in proper language.



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

Search: