You can use code from your Bitbucket repositories directly in Polyaxon projects without having to check them out on your local machine first.

Overview

Polyaxon supports repos hosted on Bitbucket (cloud and on-premise). You can use code from your Bitbucket repositories directly in Polyaxon projects without having to check them out on your local machine first.

N.B. Polyaxon supports public and private Bitbucket repos, you don't need to have a Bitbucket account to use code from public Bitbucket repositories.

Access token

Bitbucket allows to create app passwords, you can also create a user polyaxon with read only access to your organization repos, and use the username/password.

Update your deployment config file and deploy/upgrade

reposAccessToken: "username:password"

Setting an external repo for code tracking

You need a project on polyaxon that it's not linked to a code repo yet:

polyaxon project create --name=project1

And then you need set the git url:

polyaxon project -p project1 git --url="https://bitbucket.com/org/repo-name"

If the project is private you need to add --private to the command to indicate that the repo is private, i.e.

polyaxon project -p project1 git --url="https://bitbucket.com/org/repo-name" --private