-
|
We are moving to I couldn't find any related issue, I ended creating a separate config file to disable compile on ci as suggested here : #402 and it works fine now. I noticed the issue on Shakapacker 6 and 7, I am yet to upgrade to version 8 and 9. I am wondering if it's an known problem, or if maybe I am doing something wrong. Here is the config I am using : https://github.com/rioug/openfoodnetwork/blob/10298-upgrade-to-shakapaker/config/webpacker.yml and ci config : https://github.com/rioug/openfoodnetwork/blob/10298-upgrade-to-shakapaker/config/ci_webpacker.yml |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
The number one thing comes to mind is if you don't have the system set up correctly to compile your JavaScript files before CI runs. So, what can happen is that with every system test you're going to trigger compilation. Make sure this setting in shakapacker.yml is false: and make sure to run bin/shakapacker to compile at the beginning of CI. |
Beta Was this translation helpful? Give feedback.
Using
compiler_strategy: mtimefix the issue, it looks like usingdigestis too costly on the CI machines. Thanks for the pointers !