suspenders icon indicating copy to clipboard operation
suspenders copied to clipboard

Circle 2.0 config

Open croaky opened this issue 6 years ago • 6 comments

The current Circle config for Suspenders is Circle 1.0 config. 2.0 is a Docker-ized environment.

https://circleci.com/docs/2.0/faq/ https://circleci.com/docs/2.0/migrating-from-1-2/

croaky avatar Oct 06 '17 17:10 croaky

Also worth noting here that even under Circle 1.0, our configuration removes the benefit of automatic parallelization. If we leave the default test step, Circle will detect we want to use RSpec and use it's automatic parallelization strategy for RSpec, provided we have slots.

Fixing this or even trying to get the most out of Circle 2.0 likely means the end to "run exactly what CI runs just by running rake", right? We'd have to manually keep these in sync?

derekprior avatar Oct 09 '17 19:10 derekprior

@croaky @derekprior do either of you want me to leave this issue open as a reminder? Or do you mind if I close it and we can continue the discussion on the PR?

mike-burns avatar Jan 17 '18 14:01 mike-burns

Despite the problematic use of the term "Sunset":

https://circleci.com/blog/sunsetting-1-0/

We’re sunsetting CircleCI 1.0: August 31, 2018 is the final day for 1.0 builds. Refer to CircleCI 2.0 Hello World document for users and developers to get started with CircleCI 2.0.

toobulkeh avatar Jun 14 '18 19:06 toobulkeh

We would need to change this one file: https://github.com/thoughtbot/suspenders/blob/master/lib/suspenders/generators/ci_generator.rb

mike-burns avatar Jun 15 '18 17:06 mike-burns

@mike-burns, I think this is the file that needs to be updated: https://github.com/thoughtbot/suspenders/blob/master/templates/circle.yml.erb

iwz avatar Jun 15 '18 17:06 iwz

CircleCI 2.0 looks for configuration in a different location. Will try to submit a PR with example config this weekend. I have couple of suspenders based apps passing through 2.0, but not entirely happy with the setup.

timup avatar Jun 15 '18 17:06 timup