roots / trellis

WordPress LEMP stack with PHP 8.2, Composer, WP-CLI and more
https://roots.io/trellis/
MIT License
2.51k stars 607 forks source link

Add integration test #1359

Closed swalkinshaw closed 2 years ago

swalkinshaw commented 2 years ago

Uses trellis-cli to create a new Trellis project from the current SHA. The project is provisioned and deployed all using trellis-cli.

Finally the site is verified that WordPress was actually installed and working.

The steps are a little more complex than someone provisioning a normal remote server for a few reasons:

  1. GitHub's Ubuntu image has a lot of software installed by default including mysql-server which needs to be purged completely.
  2. there's a few workarounds to force Ansible to use a local connection since we aren't actually SSHing into a remote server.