- pip install pymongo
- pip install datetime
- python tes.py
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!!!!
it's not clear what is the error is you are getting from your problem description.
The yaml definition looks ok. Apart from formatting that is. It seems your indention is wrong at places but really can't tell if that's related to the formatting in the question only.
If you take a look at https://confluence.atlassian.com/bitbucket/use-services-and-databases-in-bitbucket-pipelines-874786688.html it describes how to define a service and how to include variables to configure that service.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events