Migrate to new Service Containers¶
If you are currently still using standalone services configured under environment
like MySQL
for example, you can migrate them to the new services section which improves
start-up times (in particular when using newer versions) and thus speeds up your entire test run.
In most cases, the new service container can be used as a drop-in replacement without requiring any changes to your code. Here is an example how this would look like for MySQL:
build:
nodes:
my-node:
environment:
mysql: 5.7 # <- remove this line
services:
mysql: 5.7 # <- add this line
mariadb: 10 # <- or this one if you like