5 ms·
author here - we are using spot instances on GCP for executing the pipeline which at 10 hrs/day usage makes us $1 in profit/month :)
by shipit 7y ago
author here - we are using spot instances on GCP for executing the pipeline which at 10 hrs/day usage makes us $1 in profit/month :)
- MuffinFlavored 7y agomight I recommend figuring something else out because... that sucks :)
- shipit 7y agohehe - actually I am an Android dev primarily and I thought that starting a project without CI sucks way more. So I built this for myself and was happy paying $7/mo for not having to spend weeks+$$$ on setting one up with current solutions. Spot instances do take upto ~2 mins to come up so probably a turbo add-on that devs will feel happy paying for or please feel free to suggest.
- cameronbrown 7y agoYeah, if there's no space for an extended period of time the service will be useless, with an endless backlog of jobs.
- chedabob 7y agoHow does Turing handle the instances being terminated? Does it just start again from the beginning?
- shipit 7y agoWe deploy the pipeline as a kubernetes job, once the build completes and posts logs/artifacts (apk) -- the job is archived and pods are evicted. So yes, starts from the beginning.
- danpalmer 7y agoI’d guess that’s for a fairly slow machine, or else the prices would be pretty high? What sort of spec machine (or kubernetes pod) are you providing for that?
- shipit 7y agoits a `2 vCPU, 7.5GB RAM` -- so far tested with open source projects including NDK and it stood up pretty well. Build times post close to what it would take on the local dev machine. Overall experience is that once you push your commit in about `2 mins + (local build time) mins` you'll get an email with the CI result. Product wise we don't want the user to worry about machine resources as long as CI executes within reasonable time.
- danpalmer 7y agoWe can rent CPU/RAM in the cloud by the minute, but we can’t do that with the computer we’re developing on locally. I think this should naturally leads to faster builds being done in CI, more cost effectively, rather than CI being the slower builds. Out of interest, have you modelled spot instance restarts into your costs? How about spot instance pricing going up?