Running out of space on SemaphoreCI
Don’t you just hate when small little bugs take up your productive hours? Well this happened to me today.
First off, I want to say we love SemaphoreCI at Scurri. We use it quite extensively to test our builds. It’s fast, cheap and effective. The parallel builds functionality is cool so we can do our linting in one and py.test in the other.
While deploying some code recently, I got the following stack trace from the build.
Since we use docker containers from our Amazon registry, we expect to have a big build but to hit the 3GB limit - that’s a bit crazy.
By default though, SemaphoreCI installs a few apps by default like lein for Clojure and NPM for well Node.js.
Thanks to a helpful support agent, Melina, we were back in business by adding the following lines to our SemaphoreCI flow.
sudo rm -rf /home/runner/{.phpbrew,.phpunit,.kerl,.kiex,.lein,.nvm,.npm,.rbenv}
That’s it!