top | item 21829414

(no title)

shipit | 6 years 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 :)

discuss

order

danpalmer|6 years ago

I’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|6 years ago

its 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.

chedabob|6 years ago

How does Turing handle the instances being terminated? Does it just start again from the beginning?

shipit|6 years ago

We 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.

MuffinFlavored|6 years ago

might I recommend figuring something else out because... that sucks :)

shipit|6 years ago

hehe - 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|6 years ago

Yeah, if there's no space for an extended period of time the service will be useless, with an endless backlog of jobs.