Skip to content
ZeroTouch StudioZeroTouch Studio
Menu

Devlog

Post 2: CI/CD Pipeline setup

2 min readPhase 0: Foundation

So as usual I think I am over thinking some of these components and I am not just talking about the actual ZeroTouch Studio app. I am talking about the entire build process before I even build the app.

I am all about automation as I mentioned in the last post. However I realize sometimes I go a little far. I don’t typically build desktop applications but it was really important to me for this to be cross platform. I want this application to work on the main operatins systems. Now while I have hardware running each of these operating systems I though to myself wouldn’t it be cool if I could automate the building of binaries when I push my code :-)

The Build

So I started doing that. I use GitHub (Free Version) which gives you 2000 build minutes a month. Every other build I have done has been super simple. Create a docker image here, push it to container registry there, kick off app redeploy there, simple. Sure AI helped me greatly build out the GitHub workflow but I was not expecing was the time or the number of minutes I actually used.

I expected a minute to be a minute right? Well only for linux builds., which is what I typically do, apparently Windows builds are x2 that of Linux and MacOS builds are 10x!! So with the number of commits I do especially when first starting a project I am going to burn through those 2000 minutes quick.

Solution (sort of)

I decided it was best to limit the Windows and MacOS build that GitHub does. So now those builds only happen manually and not with every commit to main. Linux still does a build on every commit to main just as kind of a smoke test.

What’s next

Phase 0 is pretty much complete and my next post should hopefully be updates while working on Phase 1. You can follow along on the roadmap, and if you want occasional updates (plus one email when V1 launches), sign up here.

Thanks for reading.