-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Rebuild assets #994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuild assets #994
Conversation
This is still failing (The command "yarn install && yarn encore production && git add --all && git diff --staged --shortstat --exit-code" exited with 1.) but I'm going to merge it anyway to have the assets updated. Thanks. |
This PR was merged into the master branch. Discussion ---------- Rebuild assets Somehow running `yarn build` on TravisCI sets the repo in a dirty state: https://travis-ci.org/symfony/demo/builds/541616536 Actually, the same for me when I run `yarn build` locally. I rebuilt the assets - let's check if tests pass now. P.S. Basically, continue #990 (comment) Commits ------- 312baf4 Rebuild assets
Hm, I see it fails, and that's weird :/ Probably the output depends on Yarn/NPM version... and if so - it makes difficult (impossible?) to use this little trick to fail builds if |
could the issue be caused by what is described in this comment: webpack-contrib/mini-css-extract-plugin#308 (comment) ? |
Thanks @stof ! Yes, I confirm that's the problem, the paths different on CI and on local computers where we generate and commit them to the repo. Though, not sure about possible workaround here, The only way I see so far - turn off versioning, then the trick with checking diffs on CI should work |
Weird, I thought this issue only happened with recent versions of I couldn't find any workaround and I'm not sure fixing it in |
Thank you for your feedback @Lyrkan ! Actually, IIRC (I've tried many solutions) we have problems with changed hashes for JS files only, CSS ones are good. |
…ky-bw) This PR was squashed before being merged into the master branch (closes #1004). Discussion ---------- Tweak versioning and return back failing on CI A possible fix for: #994 (comment) Commits ------- 5fcb943 Tweak versioning and return back failing on CI
…ky-bw) This PR was squashed before being merged into the master branch (closes #1004). Discussion ---------- Tweak versioning and return back failing on CI A possible fix for: symfony/demo#994 (comment) Commits ------- 5fcb943 Tweak versioning and return back failing on CI
…ky-bw) This PR was squashed before being merged into the master branch (closes #1004). Discussion ---------- Tweak versioning and return back failing on CI A possible fix for: symfony/demo#994 (comment) Commits ------- 5fcb943 Tweak versioning and return back failing on CI
Somehow running
yarn build
on TravisCI sets the repo in a dirty state:https://travis-ci.org/symfony/demo/builds/541616536
Actually, the same for me when I run
yarn build
locally. I rebuilt the assets - let's check if tests pass now.P.S. Basically, continue #990 (comment)