Skip to main content
Data Science & AI Workbench supports the use of an external version control repository for user-created projects. Anaconda recommends connecting to this external version control repository at time of installation, however you are also able to migrate from one version control repository to another after installation is complete.
  • To provide permission granularity and maintain parity with your external version control repository, Workbench grants individual platform users access to individual repositories. To prevent default permissions being applied to all users within a group, users cannot belong to the given organization or group.
  • Platform users are prompted for their access token before they create their first project in Workbench. Anaconda recommends you advise users to create an ever-lasting token, to retain permanent access to their files from within Workbench. For more information about auth token permissions, see Configuring user access to external version control.
Anaconda recommends that you collect the following information before you begin:
  • If necessary, the fully qualified domain name (FQDN) of your version control server.
  • The organization, team, or group name associated with your service account.
  • The username of the administrator for the organization, team, or group.
  • The personal access token or password required to connect to your version control repository.

Supported external git versions

Workbench supports integration with the following external repositories:

GitHub

  1. Create a backup copy of the anaconda-enterprise-anaconda-platform.yml configmap.
  2. Open the anaconda-enterprise-anaconda-platform.yml configmap for editing.
  3. Locate the git: section of the file.
  4. Uncomment (remove the # from the start of lines in) the Example external repo configuration section.
  5. Comment out (add a # to the start of) the remaining lines in the git: section.
  6. Configure the Example external repo configuration values as follows:
    The url and credential-url attributes must contain all lowercase characters.
  7. Save your changes.
  8. Delete and restart system pods by running the following command:
Once all pods have returned to a running state, users are prompted to add their personal access token after logging into the platform.

GitLab

  1. Create a backup copy of the anaconda-enterprise-anaconda-platform.yml configmap.
  2. Open the anaconda-enterprise-anaconda-platform.yml configmap for editing.
  3. Locate the git: section of the file.
  4. Uncomment (remove the # from the start of lines in) the Example external repo configuration section.
  5. Comment out (add a # to the start of) the remaining lines in the git: section.
  6. Configure the Example external repo configuration values as follows:
    The url and credential-url attributes must contain all lowercase characters.
  7. Save your changes.
  8. Restart system pods with the following command for changes to take effect:
Once all pods have returned to a running state, users should now be prompted to add their personal access token after logging into the platform.

Bitbucket

By default, Bitbucket uses master as its default Git branch. Workbench uses main as its default Git branch. You must update the system-wide default branch name in Bitbucket to target main. If you do not, your deployments will fail.
  1. Create a backup copy of the anaconda-enterprise-anaconda-platform.yml configmap.
  2. Open the anaconda-enterprise-anaconda-platform.yml configmap for editing.
  3. Locate the git: section of the file.
  4. Uncomment (remove the # from the start of lines in) the Example external repo configuration section.
  5. Comment out (add a # to the start of) the remaining lines in the git: section.
  6. Configure the Example external repo configuration values as follows:
    The url and credential-url attributes must contain all lowercase characters.
  7. Save your changes.
  8. Restart system pods with the following command for changes to take effect:
Once all pods have returned to a running state, users should now be prompted to add their personal access token after logging into the platform.