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

This is what I like to do. In my case, even the CI/CD host is just a systemd service I wrote.

The service just runs a script that uses netcat to listen on a special port that I also configured GitHub to send webhooks to, and processes the hook/deploys if appropriate.

Then when it's done, systemd restarts the script (it is set to always restart) and we're locked and loaded again. It's about 15 lines of shell script in total.



That's quite elegant.




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

Search: