Skip to content

Commit

Permalink
lando/lando#1462: Test MySQL 8 on the Drupal 10 recipe.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Feb 23, 2023
1 parent 7511156 commit 678ee44
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/drupal10/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Drupal 10 Example
Drupal 10 w/MySQL 8 Example
================

This example exists primarily to test the following documentation:
Expand Down Expand Up @@ -67,6 +67,12 @@ lando ssh -c "which drush" | grep "/app/vendor/bin/drush"
# Should be able to install drupal
cd drupal10
lando drush si --db-url=mysql://drupal10:drupal10@database/drupal10 -y

# Should be able to use MySQL 8.x
mv mysql8.lando.yml drupal10/.lando.yml
cd drupal10
lando rebuild -y
lando mysql -V | grep 8.0
```

Destroy tests
Expand Down
5 changes: 5 additions & 0 deletions examples/drupal10/mysql8.lando.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: lando-drupal10
recipe: drupal10
config:
webroot: .
database: mysql:8.0.22

0 comments on commit 678ee44

Please sign in to comment.