External repository | Supported versions |
---|---|
Bitbucket Enterprise | 5.9.1, 5.12.1, 5.15.0, 5.16.5, 6.2.0, 6.8.0 |
Bitbucket Cloud | bitbucket.org |
GitHub Enterprise | 2.15, 2.16, and 2.17 |
GitHub Cloud | github.com |
GitLab Enterprise | 10.4.2, 10.7.1, 11.10.0, and 12.1.6 |
GitLab Cloud | gitlab.com |
anaconda-enterprise-anaconda-platform.yml
configuration file.
git
section of the configuration file. The default behavior is to use the internal Anaconda Enterprise repository for version control (see default settings pictured below).
Example external repo configuration
section of the Config map, and replace the placeholder settings with the correct values for your organization’s repository:
name
= A descriptive name for the service your organization uses.
type
= The type of version control repository your organization uses: github-v3-api
(GitHub Enterprise and Cloud), bitbucket-v1-api
(Bitbucket Server), bitbucket-v2-api
(Bitbucket Cloud), or gitlab-v4-api
(GitLab Cloud and GitLab server).
NOTE: The values for this parameter have changed from AE 5.3.0.
url
= The URL of the API (for example, https://api.github.com/, https://api.bitbucket.org, or https://gitlab.com).
credential-url
= The URL to authenticate against for repository operations such as cloning and pushing.
NOTE: This parameter replaces the credential-hostname
parameter used in AE 5.3.0.
repository
= Must be '{owner}-{id}'
encased in single quotes.
organization
= The name of your GitHub organization, Bitbucket team, or GitLab group. (Bitbucket does not support dashes in team names.)
username
= The username associated with the Administrator account at GitHub, Bitbucket, or GitLab. This account must have full Admin permissions.
auth-token
= The GitHub personal access token, Bitbucket app password, or GitLab access token for the Administrator account associated with the username
. (You must enable 2FA to get personal access tokens in GitLab.)
url
and credential-url
attributes must contain all lowercase characters.Internal repo configuration
section of the Config map that follows, as it relates to the Anaconda Enterprise internal Git server settings that you are overriding: