josevalim
Creator of Elixir
Does anyone have experience with Cirrus CI?
Currently we are using both AppVeyor (Windows) and Travis-CI (Ubuntu) in Elixir plus we are looking to add FreeBSD. I would love if we could unify those and Cirrus-CI seems like a good fit.
Thoughts?
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
I’m posting this in response to Jose’s recent tweet (Cr. link) :
People are sleeping on Elixir for a coding harness:
Hot-code swappi...
New
Hello,
I wrote Stop My Hand, a Scattergories-like web application using Phoenix/LiveView as my learning project for Elixir (after readin...
New
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes.
We’re a small ...
New
Other Trending Topics
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
There are three potential reasons for members of this forum to have a look at https://vutuv.de
You are tired or annoyed of LinkedIn.
Yo...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
tristan
Nice. I haven’t, but I was just looking for a free macos (I prefer CircleCI but they charge for macos) offering so we could ditch Travis for at least relx (been having a number of annoying failures bc of travis) and probably rebar3 too, though less important. I’ll be giving this a try soon.
fedor
Disclaimer: I’m working on Cirrus CI
Just added an Elixir example using the official Docker images to documentation: https://cirrus-ci.org/examples/#elixir
Feel free to try it out and report any issues.
tristan
Cool. And
mix_cache:is just “sugar” for:So I can do
rebar3_cache:?fedor
Exactly. Just syntactic sugar for naming.
tristan
Works great, thanks!
Just using the community cloud but it seems pretty fast and configuration is simple.
Only issue, which I’ll properly submit once I verify my theory, is the cache seems to fail if there are symlinks in the directory being cached. So I had to split out the build task that caches from the test run, otherwise it tries to cache after everything has run and complains,
Failed to calculate hash of /tmp/cirrus-ci-build/_build! read /tmp/cirrus-ci-build/_build/default/lib/relx/include: is a directorySkipping uploading of /tmp/cirrus-ci-build/_build!–_build/default/lib/relx/includeis a symlink.dimitarvp
I’m curious how fast is Cirrus. I’m very unhappy with our current CI, takes at least 3 full minutes to do a build (with cached dependencies).
@fedor Do you have an average time for such a normal Phoenix app finishes a build?
fedor
Don’t have such specific numbers but would love to compare. Are you looking it for an OSS project? Would love to collaborate to get such data.
dimitarvp
Not really, no. And most are pretty basic anyway so they can’t serve as benchmarks.
I’ll review your free tier (if you have any?) and ask further questions.
But what’s been a weak point of many CI services so far has been universally these two points:
fedor
Go ahead and feel free to ping me (@fkorotkov) on GitHub PRs! Cirrus is free for OSS and you can use up to 8 CPUs / 24G of RAM of memory for free with some generous concurrency limits. Paid plan with per-second billing can use up to 30 CPUs/ 90G of memory with no concurrency limits.
Cirrus also runs Google Cloud which shows awesome performance stability and I/O throughput (both internet and disk).
Caching is also inspired by how modern build systems do caching with an option to use an HTTP cache if your build system supports it.
dimitarvp
Appreciate the openness and responsiveness! Thank you so much.
EDIT: Do you guys have a calculator so we can try and get a rough idea how much would we end up paying monthly?