How should we set up a configuration .yml file in Bitbucket? We want to automate testing for our cockroach DB. Similar to something like the following:
(Found from this documentation https://confluence.atlassian.com/bitbucket/test-with-databases-in-bitbucket-pipelines-856697462.html
image: node:6.9.4
pipelines:
default:
- step:
script:
- npm install
- npm test
services:
- mysql
definitions:
services:
mysql:
image: mysql:5.7
environment:
MYSQL_DATABASE: ‘pipelines’
MYSQL_RANDOM_ROOT_PASSWORD: ‘yes’
MYSQL_USER: ‘test_user’
MYSQL_PASSWORD: ‘test_user_password’