...

/

CI Should Be Based on bin/setup and bin/ci

CI Should Be Based on bin/setup and bin/ci

Learn why CI should be based on bin/setup and bin/ci for our Rails application.

CI with Targeted bin/setup and bin/ci automation

Our initial CI configuration should basically run bin/setup followed by bin/ci. When this is run on some sort of designated main branch, the CI system should additionally deploy the code to production. By using our development environment scripts to power our CI configuration, we ensure that they are working, even if developers aren’t running them frequently. Keeping bin/setup working is a boon to productivity, and this is exactly how we make sure that happens.

Of course, it’s not always possible for the exact bin/setup script to work in the CI environment. Sometimes, we can modify our CI environment so that it matches development, ...