News for hackers. Stuff that matters.
Re:Show HN: No-Code CI for Android by dominotw on Wednesday December 18, 2019 @03:52PM (#21829312)
> Unlimited build minutes. No hidden costs. $7 per month per CI pipeline.

wow. how is this viable for them :

Re:Show HN: No-Code CI for Android by shipit on Wednesday December 18, 2019 @04:01PM (#21829414)
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 :)
Re:Show HN: No-Code CI for Android by danpalmer on Wednesday December 18, 2019 @05:53PM (#21830311)
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?

Re:Show HN: No-Code CI for Android by shipit on Wednesday December 18, 2019 @06:21PM (#21830521)
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.

Re:Show HN: No-Code CI for Android by danpalmer on Wednesday December 18, 2019 @06:32PM (#21830612)
We 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?

Re:Show HN: No-Code CI for Android by chedabob on Wednesday December 18, 2019 @04:56PM (#21829887)
How does Turing handle the instances being terminated? Does it just start again from the beginning?
Re:Show HN: No-Code CI for Android by shipit on Wednesday December 18, 2019 @04:59PM (#21829910)
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.
Re:Show HN: No-Code CI for Android by petedoyle on Wednesday December 18, 2019 @09:01PM (#21831417)
Just curious- is it built on Tekton? :) Have been tempted to play around with it.
Re:Show HN: No-Code CI for Android by shipit on Thursday December 19, 2019 @01:11PM (#21837526)
ah no - just plain old Vue, Go, and k8s :)
Re:Show HN: No-Code CI for Android by MuffinFlavored on Wednesday December 18, 2019 @04:04PM (#21829436)
might I recommend figuring something else out because... that sucks :)
Re:Show HN: No-Code CI for Android by shipit on Wednesday December 18, 2019 @04:10PM (#21829513)
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.

Re:Show HN: No-Code CI for Android by cameronbrown on Wednesday December 18, 2019 @05:03PM (#21829952)
Yeah, if there's no space for an extended period of time the service will be useless, with an endless backlog of jobs.