Hacker Newsnew | past | comments | ask | show | jobs | submit | olafmol's commentslogin

CircleCI does only charge for self-hosted runners generated egress and/or artifact storage:

"Any Network Egress to CircleCI will be charged. At this current time, this includes CircleCI Caches, Workspaces, and Artifacts and will be charged at the normal rate according to your Usage Controls.

The only network traffic that will result in billing is accrued through restoring caches and workspaces, and downloading artifacts to self-hosted runners. Retention of artifacts, workspace, and cache objects will result in billing for storage usage.

Since your builds will not be running on CircleCI's Infrastructure, you will not be charged compute credits"

https://support.circleci.com/hc/en-us/articles/2064321965685...

I think that's fair. In my personal opinion most people started using GitHub Actions because it “came for free with the VCS and/or our MS contract” and it was “good enough for the job”. Now might be a good time to look around at the alternatives again. There is a reason that f.e. CircleCI is doing fully focused CI/CD for 10+ years and is still going strong. Plenty of businesses don’t want to put all their eggs in one (MS) basket, for all kinds of reasons. I guess today one of these reasons became obvious.

Disclaimer: I work at CircleCI.


CircleCI charges for concurrent job runs (which include self-hosted runs), no? They (you, I guess) obfuscate that by saying you get "Unlimited" if you take the "Talk to sales" route but that's not the same as not charging.


It's not obfuscated. The free plan gives you a max of 5 concurrent self-hosted runners. If you need more you can upgrade your plan: https://circleci.com/pricing/#comparison-table

There simply is no free lunch, somewhere someone needs to spend effort and time on managing the orchestration layer for the runners, and there is also network traffic and storage in play that costs money. If you need a future-proof CI/CD platform, it takes some investment. I agree that the Github "pay per minute" approach doesn't feel right, most people would probably find a "pay per orchestration job" or something more acceptable.

Anyway, there are alternatives out there :)


Agreed there's no free lunch, GH is moving from more generous than the industry to as-generous (or less-generous depending on your opinion of per-minute versus per-job).


By default free plans can run 5x concurrently on self-hosted, 20x minimum for all paying customers, and yes there's a "talk to sales" for >20x on the pricing page


This. There are plenty of good/better CICD solutions out there, but it's tricky to compete with "comes for free with our VCS". I guess it's clear now there is no such thing as a free lunch. I feel it's a good thing for the "CICD industry" that people will be looking around to alternatives, and do a honest Total Cost of Ownership analysis.


"That said, most teams don't self-host purely to save money"

I think most do. Or at least the infrastructure/compute costs are not coming from their own dept budget anymore ;)


CircleCI made great steps the last few years, f.e. to better support proper DRY working, supporting OPA policies-as-code, VSCode extensions with "dry-run" options.

For some examples of more advanced usecases take a look: https://circleci.com/blog/platform-toolkit/

Disclaimer: i work for CircleCI.


To be clear, I do think CircleCI is a better product than GHA. I just think there's a lot of air sucked out of the room by GHA being available 'for free' and out of the box.

Also, honestly, I don't care about any of those features. The main thing I want is a CI system that is fast and customisable and that I don't have to spend a lot of time debugging. I think CircleCI is pretty decent in that regard (the "rerun with SSH" thing is way better than anything else I've seen) but it doesn't seem to be getting any better over time (e.g. caching is still very primitive and coarse-grained).


Agreed that caching needs (and can be, and will be) improved.


You mention you're looking for (ao) "proper test reporting". CircleCI has a "Test Insights" view (https://circleci.com/docs/insights-tests/) and can collect test-results from a wide range of formats: https://circleci.com/docs/collect-test-data/#test-runner-exa...

Are you looking for something specific that you're missing in the current offerings regarding test reporting?

(Disclaimer: I work at CircleCI)


Test reporting isn’t the most critical aspect, just an example of something GHA leaves for third party tools to implement.

With CurcleCI, looking through docs, the biggest concern is integration with GitHub. Reading limitations of both OAuth and GitHub App integrations it looks like there’s a race to catch-up with changes a limitations on GitHub side. Not sure if it’s GH not exposing some functionality to third parties to differentiate Actions (e.g. GHA having many more trigger events available) or is that CircleCI needs more time to implement missing features through GitHub App integrations.


Thanks for clarifying, appreciate it! It's true we don't support all the events that Github exposes, but we believe we support the most common and useful ones. Also, this is not set in stone and expanding all the time, f.e. https://circleci.com/changelog/trigger-pipelines-on-github-p...


Although there are definitely merits in moving the complex logic outside of the CI/CD JSON/YAML DSL, especially when using monorepo setups that can become rather complex in their logic (that they made Google create Bazel, I can think of some interesting Borg/K8s analogies btw), I also believe that modern CI/CD platforms have made several sensible steps in the right direction to handle these more complicated use cases.

(Disclaimer: I work at CircleCI)

At CircleCI for example, we have added valuable features like a VSCode extension[0] to validate and "dry-run" config from within your IDE, we have local runners[1] that you can use to test and run pipelines on your local machine and your own infra, we have dynamic config[2], a Javascript/Typescript SDK[3], a CLI that can validate and run workflows locally[4], and QoL additions like a no-op job type[5] and flexible requires, along with flexible when statements and expression based job filters[6].

And finally, it's of course also possible to combine different approaches into a "best of both worlds" approach, f.e. combining Dagger with CircleCI[7].

[0]https://circleci.com/docs/vs-code-extension-overview/

[1]https://circleci.com/blog/using-runner-for-local-testing/

[2]https://circleci.com/docs/dynamic-config/

[3]https://circleci.com/docs/circleci-config-sdk/

[4]https://circleci.com/docs/how-to-use-the-circleci-local-cli/

[5]https://circleci.com/changelog/new-job-type-no-op-job-can-ma...

[6]https://circleci.com/changelog/more-flexible-job-required-ca...

[7]https://docs.dagger.io/integrations/circleci/


Out of interest: CircleCI also has flaky test detection, rerun failed tests etc. Or did you mean that the CI that you were moving towards could benefit from Captains features?

(disclaimer: i'm a CircleCI employee)


CircleCI was incredibly expensive. We're at 1/30th of the cost with self-hosted GitHub actions.


I didn't make myself clear I think. You mention that you love Captain, and wish you had access to it when migrating away from CircleCI. I'm interested in understanding the specific reason(s) for your love for Captain's features, that seem to also be available in CircleCI?


When we moved away from Circle we had to come up with a replacement for flaky detection.


understood, tnx!


Sorry to hear (i work for CircleCI, we're not perfect (yet) but always improving!)

There is Runner that lets you spin up your own instances: https://circleci.com/docs/2.0/runner-overview/ and you could also go "Server" which let's you run CircleCI completely on your own infra, not only the runners: https://circleci.com/docs/2.0/server-3-overview/

Let me know if you have any more questions, happy to help.


Yes, you can use your own infra with CircleCI: https://circleci.com/docs/2.0/runner-overview/


Congrats on getting Flakybot into private beta!

For people that prefer to minimize the number of moving parts, CircleCI now also has built-in Flaky test detection:

https://circleci.com/blog/introducing-test-insights-with-fla...

Of course this is coupled to our CircleCI platform, so if you want to stay agnostic for sure check out Flakybot :)

NB I work for CircleCI


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: