-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update available version of Mariadb to 11.3 (#53)
* Update available version of Mariadb to 11.3 * Restore package(-lock).json * Add newlines to the end of package(-lock).json to fix lint issue * Regenerate package-lock.json. * Add newline at eof in config.mjs. * Bump date in CHANGELOG.md --------- Co-authored-by: Alec Reynolds <alec+git@lando.dev>
- Loading branch information
1 parent
e8e5d1f
commit c41dee6
Showing
11 changed files
with
304 additions
and
316 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
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 |
---|---|---|
|
@@ -53,4 +53,4 @@ function sidebar() { | |
], | ||
}, | ||
]; | ||
}; | ||
}; |
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,14 @@ | ||
name: lando-mariadb-113 | ||
services: | ||
defaults: | ||
type: mariadb:11.3 | ||
patch: | ||
type: mariadb:11.3.2 | ||
proxy: | ||
defaults: | ||
- hostname: db.lndo.site | ||
port: 3306 | ||
# This is important because it lets lando know to test against the plugin in this repo | ||
# DO NOT REMOVE THIS! | ||
plugins: | ||
"@lando/mariadb": ../.. |
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,44 @@ | ||
MariaDB Example | ||
=============== | ||
|
||
This example exists primarily to test the following documentation: | ||
|
||
* [MariaDB Service](https://docs.devwithlando.io/tutorials/mariadb.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 use 11.3.2 as the default version | ||
lando ssh -s defaults -c "mysql -V | grep 11.3.2" | ||
|
||
# Should use the patch version when set by the user | ||
lando ssh -s patch -c "mysql -V | grep 11.3.2" | ||
|
||
# Should use the correct default user pass db | ||
lando ssh -s defaults -c "mysql -umariadb -pmariadb database -e quit" | ||
``` | ||
|
||
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 | ||
``` |
Oops, something went wrong.