Skip to content
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

fixes #133 #137

Merged
merged 2 commits into from
Oct 17, 2018
Merged

fixes #133 #137

merged 2 commits into from
Oct 17, 2018

Conversation

cdmo
Copy link
Contributor

@cdmo cdmo commented Oct 17, 2018

This change is the result of the output of yarn --integrity. Rails' task assets:precompile runs an integrity check when it installs yarn packages and adds them to the yarn.lock file. Without this, the deployments fail because git sees changes to files in the repo at the destination. We need to remember to run bundle exec webpacker:yarn_install instead of just yarn in the future. Documentation must be updated.

I am still a bit worried that this will cause problems in the future with killing deployments. If one of the yarn packages gets updated and the lock file isn't updated, then the deployment will bail.

This change is the result of the output of `yarn --integrity`. Rails' task assets:precompile runs an integrity check when it installs yarn packages and adds them to the yarn.lock file. Without this, the deployments fail because git sees changes to files in the repo at the destination. We need to remember to run `yarn --integrity` instead of just `yarn` in the future. Documentation must be updated.

I am still a bit worried that this will cause problems in the future with killing deployments. If one of the yarn packages gets updated and the lock file isn't updated, then the deployment will bail.
@cdmo cdmo added the review label Oct 17, 2018
@cdmo cdmo requested a review from banukutlu October 17, 2018 15:15
@banukutlu banukutlu added this to the MVP 0 milestone Oct 17, 2018
@banukutlu banukutlu merged commit fcc5bd5 into master Oct 17, 2018
@banukutlu banukutlu removed the review label Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants