[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[x] The test suite passes (run bundle exec rspec to verify this)
Summary
Speed boast to terraspace build.
Instead of compiling and rendering down ERB for app/modules files. It'll straight copy these files. It's a notable speed improvement.
Rough numbers: Tested with a module that has about 100 files. Noticed a speed improvement of 8s down to 0.5s.
For this change, terraspace prints a warning message about the change in behavior. In the next major release, the warning will go away and this will be the default behavior.
To disable warning set the new config explicitly.
.terraspace/config.rb
Terraspace.configure do |config|
config.build.copy_modules = true
end
This is a 🙋♂️ feature or enhancement.
bundle exec rspec
to verify this)Summary
Speed boast to
terraspace build
.app/modules
files. It'll straight copy these files. It's a notable speed improvement.For this change, terraspace prints a warning message about the change in behavior. In the next major release, the warning will go away and this will be the default behavior.
To disable warning set the new config explicitly.
.terraspace/config.rb
Context
Community Post: Running "terraspace up stack" is slow
How to Test
Sanity check
Version Changes
Patch