Hi,
I have following pipeline on bitbucket. Issues is that after running docker-compose -f docker-compose_test.yml up it just runs keep running docker container & doesn't move to step Populate db and start testing.
When running docker it actually start postgress db and node server. After this command <npm run userSeed> actually uses sequelize to post json record to the db. After this idea is to execute few integration tests.
Any help would be appreciated, thx in advanced.
image: docker:stable
options:
docker: true
pipelines:
default:
- step:
name: Build & run Docker
image: python:3.8.1
services:
- docker
caches:
- docker
- pip
script:
- pip install docker-compose
- docker-compose -f docker-compose_test.yml build
- docker-compose -f docker-compose_test.yml up
- step:
name: Populate db and start testing
script:
- npm run userSeed
- npm run test