Nextflow has built-in support for public and private Git repositories and services, such as Bitbucket, GitHub and GitLab. To access private repositories, provide your security credentials using either the Tower application interface, or the following keys in the tower.yml file:
tower.env
1234567
TOWER_SCM_PROVIDERS_GITHUB_USER=<YOUR GITHUB USER NAME>
TOWER_SCM_PROVIDERS_GITHUB_PASSWORD=<YOUR GITHUB ACCESS TOKEN OR PASSWORD>
TOWER_SCM_PROVIDERS_GITLAB_USER=<YOUR GITLAB USER NAME>
TOWER_SCM_PROVIDERS_GITLAB_PASSWORD=<YOUR GITLAB PASSWORD>
TOWER_SCM_PROVIDERS_GITLAB_TOKEN=<YOUR GITLAB TOKEN>
TOWER_SCM_PROVIDERS_BITBUCKET_USER=<YOUR BITBUCKET USER NAME>
TOWER_SCM_PROVIDERS_BITBUCKET_PASSWORD=<YOUR BITBUCKET TOKEN OR PASSWORD>
tower.yml
1 2 3 4 5 6 7 8 910111213
tower:scm:providers:github:user:<YOUR GITHUB USER NAME>password:<YOUR GITHUB ACCESS TOKEN OR PASSWORD>gitlab:user:<YOUR GITLAB USER NAME>password:<YOUR GITLAB PASSWORD>token:<YOUR GITLAB TOKEN>bitbucket:user:<YOUR BITBUCKET USER NAME>password:<YOUR BITBUCKET TOKEN OR PASSWORD>
See the documentation for each provider to learn how to create security access tokens: