Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #70 from palantirnet/the-vagrant-composer
Browse files Browse the repository at this point in the history
The vagrant composer interaction changes
  • Loading branch information
becw authored Jan 17, 2020
2 parents c5a5096 + 34e49c0 commit fbe1bda
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@

## UNRELEASED

### Added

* Added a trigger to the default Vagrantfile that keeps the installed version of Composer up to date (#68)

### Changed

* Removed the custom drush wrapper in ~/bin. Drush 9 handles this itself.
* Removed the `vagrant up` trigger that ran `composer install` on the project

### Updating from 2.5

* This update does **not** require destroying your current vagrant box.
* As a developer, you may want to:
* This version includes changes to the `Vagrantfile` template. To get these changes, either re-run the-vagrant's installer with `vendor/bin/the-vagrant-installer`, OR manually apply the changes from the [diff from #70](https://github.com/palantirnet/the-vagrant/pull/70/files).
* As a developer, you may also want to:
1. From your Vagrant box, `rm ~/bin/drush`
2. Log out of your vagrant and then back in before continuing to work

Expand Down
8 changes: 4 additions & 4 deletions conf/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Vagrant.configure(2) do |config|
end
end

config.trigger.before [:up, :reload] do |trigger|
trigger.name = "Composer Install"
trigger.run = {
inline: "composer install --ignore-platform-reqs"
config.trigger.after [:up, :reload] do |trigger|
trigger.name = "Composer self-update"
trigger.run_remote = {
inline: "sudo -H composer self-update"
}
end

Expand Down

0 comments on commit fbe1bda

Please sign in to comment.