-
Notifications
You must be signed in to change notification settings - Fork 32
Keep composer cache in local directory #278
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
Conversation
|
Related #275 |
andypost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the goal back should not duplicate provision
|
|
||
| ## Install backend dependencies | ||
| back: | ||
| mkdir -p $(COMPOSER_HOME_CACHE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason to duplicate provision goal here?
| @echo "Removing mysql data from $(MYSQL_DIR) ..." | ||
| docker run --rm --user 0:0 -v $(shell dirname $(MYSQL_DIR)):/mnt $(IMAGE_PHP) sh -c "rm -fr /mnt/`basename $(MYSQL_DIR)`" | ||
| endif | ||
| ifdef COMPOSER_HOME_CACHE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cache should not be cleared as it will be shared in CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4745849 to
6eec60a
Compare
|
Closing it for #290 |
To speed up site building we can keep composer cache in a local directory to be reused on future builds