Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,750
Community Members
 
Community Events
168
Community Groups

What is the recommended approach to populating a DB schema for running integration tests?

Bitbucket Pipelines recommends using services like mysql for testing, etc.

Is there a straightforward way of importing a schema and/or data into a mysql service?

Typically you can provide a shell or sql script in the `/docker-entrypoint-initdb.d` folder and the mysql container will run that on startup, setting up the DB.

I can't see a straightforward way of doing that with Bitbucket Pipelines, am I missing something?

If not, what is the expected approach for populating the database, DIY?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,448 views 3 10
Read article

Atlassian Community Events