• Category Archives: Gitlab CI

Speeding up RSpec and Cucumber on the CI server with PostgreSQL fsync flag and parallel execution

After we’ve added RSpec and Cucumber (with PhantomJS) to our CI build process, it got really, really slow. Due to the application character, after each scenario (for Cucumber) we truncate and restore the whole database. 45 minutes for a single build is definitely not what we aimed to get. So, how to speed up tests […]

Read more at the source

Gitlab, Ruby private repository, Docker container and safe way to add SSH key for build process only

Note This is not a tutorial on how to use Docker with SSH keys and private repositories. This is a solution to a particular safety issue when building Docker containers. I won’t get into details on how to create a Dockerfile with a SSH key, etc – there’s enough about that in the Internet. Problem […]

Read more at the source