diff --git a/.github/workflows/pr-drupal-tests.yml b/.github/workflows/pr-drupal-tests.yml index 9dd8468..9acfabf 100644 --- a/.github/workflows/pr-drupal-tests.yml +++ b/.github/workflows/pr-drupal-tests.yml @@ -18,6 +18,13 @@ jobs: - acquia-downstreamer-1 - acquia-downstreamer-2 - drupal + - acquia-7.4 + - acquia-8.0 + - acquia-8.1 + - acquia-8.2 + - acquia-8.3 + - acquia-default + - acquia-xdebug lando-version: - 3-dev-slim os: diff --git a/CHANGELOG.md b/CHANGELOG.md index a077c04..767a1eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,15 @@ ## v1.3.0 - [April 18, 2024](https://github.com/lando/acquia/releases/tag/v1.3.0) +**NOTICE:** If you use the default PHP version, it is now being updated to PHP 8.2. You may need to specify your PHP version in `.lando.yml`, for example, to set it to PHP 8.0: + +``` +recipe: acquia +config: + php: '8.0' +``` + * Updated mariadb plugin to [v1.3.0](https://github.com/lando/mariadb/releases/tag/v1.3.0). See [#51](https://github.com/lando/mariadb/issues/51). -* Updated default PHP to 8.2 +* Changed default PHP to 8.2 and added testing for PHP versions. [#87](https://github.com/lando/acquia/issues/87) * Updated Drush 8 to 8.4.10 ## v1.2.0 - [March 15, 2024](https://github.com/lando/acquia/releases/tag/v1.2.0) diff --git a/examples/acquia-7.4/.lando.yml b/examples/acquia-7.4/.lando.yml new file mode 100644 index 0000000..64f8681 --- /dev/null +++ b/examples/acquia-7.4/.lando.yml @@ -0,0 +1,9 @@ +name: acquia-80 +recipe: acquia +config: + php: 7.4 + acli_version: 1.30.0 + +# do not remove this +plugins: + "@lando/acquia": ../.. diff --git a/examples/acquia-7.4/README.md b/examples/acquia-7.4/README.md new file mode 100644 index 0000000..2cf3a62 --- /dev/null +++ b/examples/acquia-7.4/README.md @@ -0,0 +1,59 @@ +# Acquia 7.4 Example + +This example exists primarily to test the following documentation: + +* [Acquia Recipe](https://docs.lando.dev/acquia/config.html) + +Start up tests +-------------- + +Run the following commands to get up and running with this example. + +```bash +# Should start up successfully +lando poweroff +lando start +``` + +Verification commands +--------------------- + +Run the following commands to validate things are rolling as they should. + +```bash +# Should have acli +lando acli -V + +# Should be running apache 2.4 by default +lando ssh -s appserver -c "apachectl -V | grep Apache/2.4" +lando ssh -s appserver -c "curl -IL localhost" | grep Server | grep 2.4 + +# Should use php 7.4, the default +lando php -v | grep "PHP 7.4" + +# Should be running mysql 5.7 by default +lando mysql -V | grep 5.7 + +# Should be able to connect to the database with the default creds +lando mysql acquia -e quit + +# Should be running memcached 1.6 +lando ssh -s cache -c "memcached --version | grep 1.6" + +# Check index is loading +lando ssh -s appserver -c "curl -L localhost" | grep "Hello Lando!" + +# Check if AH_SITE_ENVIRONMENT is set +lando ssh -s appserver -c "curl -L localhost/site-environment.php" | grep "LANDO" +``` + +Destroy tests +------------- + +Run the following commands to trash this app like nothing ever happened. + +```bash +# Should be destroyed with success +lando destroy -y +lando poweroff +``` diff --git a/examples/acquia-7.4/docroot/env.php b/examples/acquia-7.4/docroot/env.php new file mode 100644 index 0000000..9e87bb8 --- /dev/null +++ b/examples/acquia-7.4/docroot/env.php @@ -0,0 +1,3 @@ +
+
+
+
+
+
+
+