-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated memcached dependency and added testing. (#83)
* Updated memcached dependency and added testing. * Add separate test for memcached. * Feed the linter.
- Loading branch information
1 parent
e5b6e17
commit bc618fd
Showing
15 changed files
with
806 additions
and
828 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ jobs: | |
matrix: | ||
leia-tests: | ||
- drupal | ||
- acquia-custom | ||
lando-version: | ||
- 3-dev-slim | ||
os: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: acquia-custom | ||
recipe: acquia | ||
config: | ||
php: '8.1' | ||
composer_version: '2.0.7' | ||
xdebug: true | ||
inbox: false | ||
# do not remove this | ||
plugins: | ||
"@lando/acquia": ../.. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Acquia Custom 8Example | ||
|
||
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 2.4" | ||
lando ssh -s appserver -c "curl -IL localhost" | grep Server | grep 2.4 | ||
|
||
# Should use php 8.1 | ||
lando php -v | grep "PHP 8.1" | ||
|
||
# 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" | ||
|
||
# Should have xdebug enabled | ||
lando php -m | grep Xdebug | ||
``` | ||
|
||
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.