Hi all,
I have a runner in my local environment. When the pipeline starts, they up a service when need to comunicate with a mongodb local instance. This instance of mongoDB is available in the same local environment of the runner.
The problem is, when i run the pipeline, que runner cannot comunicate with the mongodb in my local server. How i can fix this ?
This is my current bitbucket pipeline file:
"
pipelines:
default:
- step:
runs-on:
- self.hosted
- linux.shell
name: Download Bitbucket Repository - Backend
script:
- git clone -b ${BRANCH_BACK:-master} $REPOSITORY_URL_BACK
- cd $BACKEND_PATH
- npm i --force
- npm start
"