dbx/deploy/database/mysql/5.7/recipe.json

14 lines
617 B
JSON

{
"database": "mysql",
"name": "MySQL",
"version": "5.7.44",
"displayVersion": "5.7",
"image": "docker.cnb.cool/znb/images/mysql:5.7.44",
"platforms": ["linux/amd64", "linux/arm64"],
"service": "database",
"defaultPort": 3306,
"connection": { "host": "127.0.0.1", "port": 3307, "username": "root", "password": "123456", "database": "dbx" },
"shell": ["mysql", "-uroot", "-p${DB_PASSWORD}", "-Ddbx"],
"smoke": { "steps": [{ "name": "query initialized row", "command": ["mysql", "-uroot", "-p${DB_PASSWORD}", "-Ddbx", "-Nse", "SELECT note FROM dbx_smoke WHERE id=1"], "expect": "DBX smoke" }] }
}