Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions schemas/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
},
{
"$ref": "#/definitions/GitLabConfig"
},
{
"$ref": "#/definitions/BitbucketConfig"
}
]
},
Expand Down Expand Up @@ -114,6 +117,48 @@
"GitLabURL"
],
"additionalProperties": false
},
"BitbucketConfig": {
"type": "object",
"properties": {
"Type": {
"const": "bitbucket"
},
"BitBucketServerURL": {
"type": "string",
"description": "BitBucket Server url"
},
"BitBucketServerProject": {
"type": "string",
"description": "project to mirror"
},
"DisableTLS": {
"type": "boolean",
"description": "Disable TLS verification",
"default": false
},
"ProjectType": {
"type": "string",
"description": "Only clone repos whose type matches the given string. Type can be either NORMAl or PERSONAL. Clones projects of both types if not set.",
"enum": ["NORMAL", "PERSONAL"]
},
"Name": {
"$ref": "#/definitions/RepoNameRegexIncludeFilter"
},
"Exclude": {
"$ref": "#/definitions/RepoNameRegexExcludeFilter"
},
"CredentialPath": {
"type": "string",
"description": "Path to a file containing a Bitbucket access token.",
"default": ".bitbucket-credentials"
}
},
"required": [
"Type",
"BitBucketServerURL"
],
"additionalProperties": false
}
},
"properties": {
Expand Down