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

3.7.2 to stable #2511

Merged
merged 16 commits into from
Aug 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ permalink: /docs/en-US/changelog/

# Changelog

## 3.7.2 ( 2021 August 3rd )

### Bug Fixes

* Switched Ubuntu 20 boxes to Bento on VirtualBox to avoid folder mounting issues
* Fixed a broken heredoc
### Enhancements

* Added a new bear to full provision message, and updated message to be more clear

## 3.7.1 ( 2021 July 20th )

### Enhancements
Expand Down Expand Up @@ -49,6 +59,7 @@ permalink: /docs/en-US/changelog/
* Skip mounting custom folders for skipped sites
* Improved WP CLI ownership and permission settings
* Removed WP CLI doctor subcommand package that was causing issues for some users
* Fixed dashboard updating

## 3.6.2 ( 2021 March 17th )

Expand Down
19 changes: 15 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,10 @@ Vagrant.configure('2') do |config|

# Default Ubuntu Box
#
# This box is provided by Ubuntu vagrantcloud.com and is a nicely sized
# This box is provided by Bento boxes via vagrantcloud.com and is a nicely sized
# box containing the Ubuntu 20.04 Focal 64 bit release. Once this box is downloaded
# to your host computer, it is cached for future use under the specified box name.
config.vm.box = 'ubuntu/focal64'
config.vm.box = 'bento/ubuntu-20.04'
config.vm.box_check_update = false

# If we're at a contributor day, switch the base box to the prebuilt one
Expand Down Expand Up @@ -693,8 +693,19 @@ Vagrant.configure('2') do |config|
config.vm.provision "flag-root-vagrant-command", type: 'shell', keep_color: true, inline: "mkdir -p /vagrant && touch /vagrant/provisioned_as_root"
end
end

config.vm.provision "pre-provision-script", type: 'shell', keep_color: true, inline: "echo \"\n༼ つ ◕_◕ ༽つ A full provision can take a little while!\n Go make a cup of tea and sit back.\n If you only wanted to turn VVV on, use vagrant up\n\""

long_provision_bear = <<~HTML
#{blue}#{creset}
#{blue} ▄▀▀▀▄▄▄▄▄▄▄▀▀▀▄ ▄ ▄ #{green}A full provision will take a bit.#{creset}
#{blue} █▒▒░░░░░░░░░▒▒█ █ █ #{green}Sit back, relax, and have some tea.#{creset}
#{blue} █░░█░░░░░█░░█ ▀ ▀ #{creset}
#{blue} ▄▄ █░░░▀█▀░░░█ █▀▀▀▀▀▀█ #{green}If you didn't want to provision you can#{creset}
#{blue} █░░█ ▀▄░░░░░░░▄▀▄▀▀█ █ #{green}turn VVV on with 'vagrant up'.#{creset}
#{blue}───────────────────────────────────────────────────────────────────────#{creset}
HTML

# Changed the message here because it's going to show the first time you do vagrant up, which might be confusing
config.vm.provision "pre-provision-script", type: 'shell', keep_color: true, inline: "echo \"#{long_provision_bear}\""

# provison-pre.sh acts as a pre-hook to our default provisioning script. Anything that
# should run before the shell commands laid out in provision.sh (or your provision-custom.sh
Expand Down
4 changes: 2 additions & 2 deletions provision/provision-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ if [[ false != "dashboard" && false != "${REPO}" ]]; then
fi
else
vvv_info " * Updating dashboard on the '${BRANCH}' branch."
popd "${DIR}"
pushd "${DIR}"
vvv_info " * Fetching origin ${BRANCH}"
noroot git fetch origin "${BRANCH}"
vvv_info " * performing a hard reset on origin/${BRANCH}"
noroot git reset "origin/${BRANCH}" --hard
pushd
popd
fi
vvv_warn " * Note that custom dashboards will be going away in a future update, use a site provisioner and a custom host instead such as dashboard.test."
else
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.1
3.7.2