Add Azure prepare stage to scaffolder

This commit is contained in:
Mattias Frinnström
2020-09-18 06:34:10 +00:00
parent e7686833fd
commit c109cbe4df
7 changed files with 247 additions and 5 deletions
@@ -217,6 +217,11 @@ The Github access token is retrieved from environment variables via the config.
The config file needs to specify what environment variable the token is
retrieved from. Your config should have the following objects.
You can configure who can see the new repositories that the scaffolder creates
by specifying `visibility` option. Valid options are `public`, `private` and
`internal`. `internal` options is for GitHub Enterprise clients, which means
public within the organization.
#### Gitlab
For Gitlab, we currently support the configuration of the GitLab publisher and
@@ -238,10 +243,19 @@ scaffolder:
env: SCAFFOLDER_GITLAB_PRIVATE_TOKEN
```
You can configure who can see the new repositories that the scaffolder creates
by specifying `visibility` option. Valid options are `public`, `private` and
`internal`. `internal` option is for GitHub Enterprise clients, which means
public within the organization.
#### Azure DevOps
For Azure DevOps we currently support the preparer stage with the configuration
of a private access token (PAT) when needed:
```yaml
scaffolder:
azure:
api:
token:
$secret:
env: AZURE_PRIVATE_TOKEN
```
### Running the Backend