Today I’ve FINALLY completed my CI/CD auto-rebuild pipeline! Now, every single ‘git push’ to my public repositories triggers an instant automated update via a custom webhook system.
I really like visualizing my Linux directory structure as my own production-grade city, planning out neighborhoods and zones well in advance. As a result of this infrastructure layout, I now have 3 isolated Docker containers running flawlessly in my city:
- SlackBot
- TelegramBot
- Webhook Listener
Instead of using bloated, heavy out-of-the-box CI/CD platforms that would easily choke my tiny 2GB RAM Nest server, I deployed a minimal ‘almir/webhook’ image weighing only 19.2 MB. Because of this, my idle server consumes ~300 MB of RAM and takes up a mere ~1.4 GB of disk space :D
It was an unforgettable engineering experience building my own free analog of PaaS platforms like Amvera etc., completely from scratch.
Thank you Hack Club for Nest <3