Skip to content

Commit f3ef893

Browse files
committed
Merge branch 'develop' into stable
2 parents aee9a69 + 62159d7 commit f3ef893

39 files changed

+370
-346
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
*.gif binary
77
*.jpg binary
88
*.jpeg binary
9+
*.gpg binary

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ body:
9494
- 'VirtualBox 5'
9595
- 'Parallels (Intel)'
9696
- 'Parallels (Apple Silicon/Arm)'
97+
- 'Docker'
9798
- 'Hyper-V'
9899
- 'VMWare'
99100
- 'Other'

.github/ISSUE_TEMPLATE/monteray-virtualbox-timeouts.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/vvv-provisioning.yml

Lines changed: 2 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# Steps represent a sequence of tasks that will be executed as part of the job
2222
steps:
2323
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
# Make Symlinks
2727
- name: Create Vagrant Like Environment
@@ -104,127 +104,8 @@ jobs:
104104
MYGID=$(id -g -n)
105105
sudo chown -R $MYUID:$MYGID "$GITHUB_WORKSPACE/log"
106106
107-
- uses: actions/upload-artifact@v2
107+
- uses: actions/upload-artifact@v3
108108
if: ${{ always() }}
109109
with:
110110
name: logs-on-docker
111111
path: "${{ github.workspace }}/log"
112-
113-
# This workflow contains a single job called "build"
114-
on-stable:
115-
name: MacOS 10.15 Stable Reprovision
116-
# The type of runner that the job will run on
117-
runs-on: macos-10.15
118-
119-
# Steps represent a sequence of tasks that will be executed as part of the job
120-
steps:
121-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
122-
- uses: actions/checkout@v2
123-
with:
124-
ref: stable
125-
126-
- name: Cache Vagrant boxes
127-
uses: actions/cache@v2
128-
with:
129-
path: ~/.vagrant.d/boxes
130-
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
131-
restore-keys: |
132-
${{ runner.os }}-vagrant-
133-
134-
- name: install goodhosts
135-
run: vagrant plugin install --local
136-
137-
- name: vagrant up (stable)
138-
run: vagrant up
139-
140-
- uses: actions/checkout@v2
141-
with:
142-
clean: false
143-
144-
- name: vagrant up (current branch)
145-
run: vagrant up --provision
146-
147-
- name: tests
148-
run: provision/tests/macos-tests.sh
149-
150-
- uses: actions/upload-artifact@v2
151-
if: ${{ always() }}
152-
with:
153-
name: logs-on-stable
154-
path: "${{ github.workspace }}/log"
155-
156-
on-develop:
157-
name: MacOS 10.15 Develop Reprovision
158-
# The type of runner that the job will run on
159-
runs-on: macos-10.15
160-
161-
# Steps represent a sequence of tasks that will be executed as part of the job
162-
steps:
163-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
164-
- uses: actions/checkout@v2
165-
with:
166-
ref: develop
167-
168-
- name: Cache Vagrant boxes
169-
uses: actions/cache@v2
170-
with:
171-
path: ~/.vagrant.d/boxes
172-
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
173-
restore-keys: |
174-
${{ runner.os }}-vagrant-
175-
176-
177-
- name: install goodhosts
178-
run: vagrant plugin install --local
179-
180-
- name: vagrant up (develop)
181-
run: vagrant up
182-
183-
- uses: actions/checkout@v2
184-
with:
185-
clean: false
186-
187-
- name: vagrant up (current branch)
188-
run: vagrant up --provision
189-
190-
- name: tests
191-
run: provision/tests/macos-tests.sh
192-
193-
- uses: actions/upload-artifact@v2
194-
if: ${{ always() }}
195-
with:
196-
name: logs-on-develop
197-
path: "${{ github.workspace }}/log"
198-
199-
on-clean:
200-
name: MacOS 10.15 Clean Provision
201-
# The type of runner that the job will run on
202-
runs-on: macos-10.15
203-
204-
# Steps represent a sequence of tasks that will be executed as part of the job
205-
steps:
206-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
207-
- uses: actions/checkout@v2
208-
209-
- name: Cache Vagrant boxes
210-
uses: actions/cache@v2
211-
with:
212-
path: ~/.vagrant.d/boxes
213-
key: ${{ runner.os }}-vagrant-${{ hashFiles('Vagrantfile') }}
214-
restore-keys: |
215-
${{ runner.os }}-vagrant-
216-
217-
- name: install goodhosts
218-
run: vagrant plugin install --local
219-
220-
- name: vagrant up (current branch)
221-
run: vagrant up
222-
223-
- name: tests
224-
run: provision/tests/macos-tests.sh
225-
226-
- uses: actions/upload-artifact@v2
227-
if: ${{ always() }}
228-
with:
229-
name: logs-on-clean
230-
path: "${{ github.workspace }}/log"

CHANGELOG.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,37 @@ permalink: /docs/en-US/changelog/
66

77
# Changelog
88

9-
## 3.12 ( 2023 August 3rd )
9+
## 3.13.1 ( 2024 June 16th )
1010

1111
### Enhancements
1212

13+
* Switched the default PHP from v7.4 to v8.2 and ~default Node from v14 to v16~ ( #2690 )
14+
* Use Node 20 as the default version to match WP and Gutenberg ( #2696 )
15+
* WP Coding standards v3 ( #2688 )
16+
* VIP Coding standards v3 ( #2688 )
17+
* Better error messages with links to docs when trying to use a PHP version that isn't installed ( #2689 )
18+
* Opted out of Dotnet package telemetry ( #2689 )
19+
* Replace references to the Squizlab PHPCS with that from the PHPCS Standards org ( #2692 )
20+
* Better PHP Debug mod switching outputs and checks ( #2702 )
21+
* PHP Info and Xdebug info pages now state their versions ( #2702 )
22+
23+
### Maintenance
24+
25+
* Switch the Parallels Arm64 box from `mpasternak/focal64-arm` to `bento/ubuntu-20.04-arm64` to match x86 boxes ( #2695 )
26+
27+
### Bug Fixes
28+
29+
* The host file inside the VM was only adding sites with `127.0.0.1` addresses, now it adds the IPVv6 `::1` too ( #2689 )
30+
* Fixes for hosts file cleanup ( #2708 )
31+
* Removed old MacOS PR workflows, no runners available ( #2698 )
32+
* Replace an outdated Nginx signing key ( #2710 )
33+
* Don't sync clocks when using the docker provider ( #2711 )
34+
35+
## 3.12.1 ( 2023 August 3rd )
36+
37+
### Enhancements
38+
39+
* Monolithic docker beta support ( #2632 )
1340
* Added the GMP PHP extension to the default PHP installation ( #2676 )
1441

1542
### Maintenance

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ _VVV stands for Varying Vagrant Vagrants._
88

99
## How To Use
1010

11-
To use it, download and install [Vagrant](https://www.vagrantup.com) and [VirtualBox](https://www.virtualbox.org/). Then, clone this repository and run:
11+
To use it, download and install [Vagrant](https://www.vagrantup.com) and a provider such as [VirtualBox](https://www.virtualbox.org/), Docker, or Parallels Pro. Then, clone this repository and run:
1212

1313
```shell
1414
vagrant plugin install --local

Vagrantfile

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Vagrant.require_version '>= 2.2.4'
99
require 'yaml'
1010
require 'fileutils'
1111
require 'pathname'
12+
require 'socket'
1213

1314
def sudo_warnings
1415
red = "\033[38;5;9m" # 124m"
@@ -216,9 +217,9 @@ defaults['memory'] = 2048
216217
defaults['cores'] = 1
217218
defaults['provider'] = 'virtualbox'
218219

219-
# if Arm default to parallels
220+
# if Arm default to docker
220221
if Etc.uname[:version].include? 'ARM64'
221-
defaults['provider'] = 'parallels'
222+
defaults['provider'] = 'docker'
222223
end
223224

224225
# This should rarely be overridden, so it's not included in the config/default-config.yml file.
@@ -446,7 +447,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
446447
# this seems to be the most reliable way to detect whether or not we're
447448
# running under ARM64.
448449
if Etc.uname[:version].include? 'ARM64'
449-
override.vm.box = 'mpasternak/focal64-arm'
450+
override.vm.box = 'bento/ubuntu-20.04-arm64'
450451
end
451452
end
452453

@@ -461,6 +462,19 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
461462
override.vm.box = 'bento/ubuntu-20.04'
462463
end
463464

465+
# Docker use image.
466+
config.vm.provider :docker do |d, override|
467+
d.image = 'pentatonicfunk/vagrant-ubuntu-base-images:20.04'
468+
d.has_ssh = true
469+
d.ports = [ "80:80" ] # HTTP
470+
d.ports += [ "443:443" ] # HTTPS
471+
d.ports += [ "3306:3306" ] # MySQL
472+
d.ports += [ "8025:8025" ] # Mailhog
473+
474+
## Fix goodhosts aliases format for docker
475+
override.goodhosts.aliases = { '127.0.0.1' => vvv_config['hosts'], '::1' => vvv_config['hosts'] }
476+
end
477+
464478
# Virtualbox.
465479
config.vm.provider :virtualbox do |_v, override|
466480
# Default Ubuntu Box
@@ -514,7 +528,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
514528
# Access to the guest machine is only available to your local host. To provide access to
515529
# other devices, a public network should be configured or port forwarding enabled.
516530
#
517-
# Note: If your existing network is using the 192.168.50.x subnet, this default IP address
531+
# Note: If your existing network is using the 192.168.56.x subnet, this default IP address
518532
# should be changed. If more than one VM is running through VirtualBox, including other
519533
# Vagrant machines, different subnets should be used for each.
520534
#
@@ -884,7 +898,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
884898
if config.vagrant.plugins.include? 'vagrant-goodhosts'
885899
config.goodhosts.aliases = vvv_config['hosts']
886900
config.goodhosts.remove_on_suspend = true
887-
901+
888902
# goodhosts already disables clean by default, but lets enforce this at both ends
889903
config.goodhosts.disable_clean = true
890904
elsif config.vagrant.plugins.include? 'vagrant-hostsmanager'

config/default-config.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ sites:
3636
skip_provisioning: false
3737
description: "A standard WP install, useful for building plugins, testing things, etc"
3838
repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template.git
39-
php: 7.4 # change the PHP version to use for the provision and nginx
39+
#php: 8.0 # change the PHP version to use for the provision and nginx
4040
custom:
4141
# locale: it_IT
4242
delete_default_plugins: true
@@ -87,13 +87,10 @@ extensions:
8787
#- mongodb # needed for Tideways/XHGui
8888
#- tideways # PHP profiling tool, also installs xhgui check https://varyingvagrantvagrants.org/docs/en-US/references/tideways-xhgui/
8989
#- nvm # Node Version Manager
90-
#- php56
91-
#- php70
92-
#- php71
93-
#- php72
94-
#- php73
9590
#- php74
9691
#- php80
92+
#- php81
93+
#- php83
9794

9895
# vm_config controls how Vagrant provisions the virtual machine, and can be used to
9996
# increase the memory given to VVV and the number of CPU cores.
@@ -125,6 +122,7 @@ vm_config:
125122
# provider: hyperv
126123
# provider: parallels
127124
# provider: vmware_desktop
125+
# provider: docker
128126

129127
# General VVV options
130128
general:

0 commit comments

Comments
 (0)