Bitbucket building and deployment

For this example, we will clone the app-dbio-ciaomondo application from BitBucket, modify the content and deploy to Databiology Lab using BitBucket Pipelines.

  • Then click in Repository variables and add 3 variables:

    • CIAO_REGISTRY with a value of

    • CIAO_USERNAME with your username in Lab instance (your email address)

    • CIAO_PASSWORD with the token as provided in your Lab account, you can get that in Lab, click on the User icon → User details → Web service, copy the long string after the Token and paste in the CIAO_PASSWORD as “secured”.

  • Finally, go back to your repository and click on the “Clone” button to copy the command showed there.

  • Open a terminal in your system, move to an appropriate directory in your computer and paste the command to clone the repository.

  • After cloning, your will have a new directory named app-<org_code>-ciaomondo, move inside the directory and modify your app changing:

    • CIAOfile. Change the app name to app/<your_org_code>/ciaomondo and the developer name to your name. The organization code can be viewed in User icon→User details, then click on your organization name and take note of the Abbreviation there.

    • You can also modify other parts of the app, to add new task or feature.

  • When your changes are done, use the following command to send your change to the repository:

git add * # to add all modified files
git commit -m "comments about the changes made"
git tag 1.0.0 # to add a version tag to your app
git push 1.0.0 origin master # to push your changes
  • The push will trigger the Pipelines build and deploy tasks; you can check the progress on those inside BitBucket

  • After deployment, you can go to Databiology Lab (requires to log-out and log-in again to refresh permissions on apps) and configure your app to use it.