<div dir="ltr"><div dir="ltr">Hi Ben,<div><br></div><div>We are only using ~$400/month in GHC VM donation GCE project (Windows license claiming the lions share). If you need more compute, there's plenty of headroom left.</div><div><br></div><div>Thanks</div><div>Greg</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018 at 3:21 PM Ben Gamari <<a href="mailto:ben@well-typed.com">ben@well-typed.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">TL;DR. CircleCI's free tier will no longer include the large instances<br>
       used by GHC CI starting next week.<br>
<br>
<br>
Hello everyone,<br>
<br>
Prompted by a rather surprisingly short-notice email from CircleCI I<br>
just got off of the phone with them to discuss a change in their pricing<br>
model. This new model, which they will be instituting later this week,<br>
will users of medium+ and larger instances will no longer be covered<br>
by the free tier of service which we currently use.<br>
<br>
Currently we are using CircleCI for only a fraction of what we would<br>
like to validate:<br>
<br>
 * commit validation (which we have been checking manually while we<br>
   transition to GitLab) in a handful of configuration<br>
 * nightly intensive validation<br>
 * release binary distributions (but don't yet produce all distributions via CI)<br>
<br>
Ultimately we would like to also introduce merge request validation, which<br>
will add a large volume of builds once implemented later this month.<br>
<br>
However, even our current usage totals to around 2.5 million CircleCI<br>
credits. Up to this point we have been covered by CircleCI's free tier<br>
service. However, under the new pricing model the extra-large instances<br>
which we use are no longer covered in the free tier.<br>
<br>
Note that medium instances are still covered by the free tier service.<br>
However, the GHC build on such an instance does not fit within<br>
CircleCI's five hour build-time limit.<br>
<br>
It seems we have a few options:<br>
<br>
 a. Pay for our credits. The 2.5 million credits we used last month<br>
    would cost approximately 2,400 USD/month. I asked CircleCI last<br>
    summer and when I was on the phone with them today and they will not<br>
    offer us a reduced price.<br>
<br>
 b. Find another solution. Thankfully, the move to GitLab has freed us<br>
    from any particular CI provider.<br>
<br>
Happily, our CI setup is nearly fully Dockerised at this point, so<br>
moving is quite straightforward. With the move to GitLab, we have no<br>
need for the provisioning and queue management functionality that<br>
CircleCI provides.<br>
<br>
Finally, I find the 2,400 USD/month number to be extremely high given<br>
the service we are getting. By comparison:<br>
<br>
 * The machine sitting next to my desk cost ~$2,500, a couple hundred<br>
   USD/year in electricity and yet finishes six builds in the time it<br>
   takes a CircleCI XL instance to finish one.<br>
<br>
 * A machine comparable to mine from Packet.net is only 700 USD/month<br>
<br>
 * A EC2 instance comparable to the CircleCI XL would only amount to a<br>
   few hundred USD/month.<br>
<br>
 * A dedicated Hetzner box comparable to the XL is ~40 EUR/month<br>
<br>
In my opinion, any of these solutions would be a better use of our<br>
limited resources.<br>
<br>
Regardless, I have convinced CircleCI to extend us a one-week trial<br>
period allowing us a bit of breathing room. If necessary we can pay for<br>
CircleCI on a month-by-month basis if we need additional time.<br>
<br>
- Ben<br>
_______________________________________________<br>
Ghc-devops-group mailing list<br>
<a href="mailto:Ghc-devops-group@haskell.org" target="_blank">Ghc-devops-group@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devops-group" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devops-group</a><br>
</blockquote></div>