pipelines:
branches:
bb_pipeline:
- step:
name: populate_results
image: python:3.7
script:
- pip install pymongo
- pip install datetime
- python tes.py
services: -
- mongo
definitions:
services:
mongo:
image: mongo
variables:
MONGO_URL: mongodb://localhost:27017/
As you can see my pipeline is a simple one. It will call the test.py script to connect to my local mongodb instance, extract information and populate the results back and save the documents back to the local instance. If I were to run the `test.py` script on its' own, it will behave accordingly. Are there syntax that are missing within my `.yml` file?
I have search the documentation on Atlassian, and it doesnt tell you how i can include variables for mongodb connection. Can someone help me out or point me in the right sources? Thanks!!!!