-
Notifications
You must be signed in to change notification settings - Fork 9
/
devcontainer-feature.json
99 lines (99 loc) · 3.25 KB
/
devcontainer-feature.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "External Git Repository in Codespace",
"id": "external-repository",
"version": "4.0.0",
"description": "Configures Codespace to work with an external Git repository",
"options": {
"gitProvider": {
"type": "string",
"enum": [
"azuredevops",
"other"
],
"default": "azuredevops",
"description": "Git Provider"
},
"cloneUrl": {
"type": "string",
"default": "",
"description": "Clone URL without username: https://dev.azure.com/{organization}/{project}/_git/{repository}. Separate multiple URLs with comma."
},
"folder": {
"type": "string",
"default": "/workspaces/external-repos",
"description": "Specify the workspace path in the devcontainer for the clone"
},
"username": {
"type": "string",
"default": "codespaces",
"description": "Username for clone (if required)"
},
"cloneSecret": {
"type": "string",
"default": "",
"description": "Name of the Codespaces repository secret that contains the token or password for clone. Example: ADO_PAT"
},
"userSecret": {
"type": "string",
"default": "",
"description": "Name of the Codespaces user secret that contains the token or password for Codespace user"
},
"scalar": {
"type": "boolean",
"default": false,
"description": "Use Scalar to clone the repository"
},
"sparseCheckout": {
"type": "string",
"default": "",
"description": "Sparse checkout paths when using scalar. Example: common projecta/src projectb/src"
},
"options": {
"type": "string",
"default": "",
"description": "Additional options for the clone operation: --depth 1 --single-branch --no-tags"
},
"branch": {
"type": "string",
"default": "main",
"description": "Default branch"
},
"timeout": {
"type": "string",
"default": "30m",
"description": "Timeout for the clone operation"
},
"telemetrySource": {
"type": "string",
"enum": [
"none",
"message",
"name",
"email"
],
"default": "none",
"description": "Configure source of Git commit telemetry"
},
"clientID": {
"type": "string",
"default": "",
"description": "Azure Client ID for OIDC token acquisition during prebuild"
},
"tenantID": {
"type": "string",
"default": "",
"description": "Azure Tenant ID for OIDC token acquisition during prebuild"
}
},
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/azure-cli"
],
"customizations": {
"vscode": {
"extensions": [
"ms-codespaces-tools.ado-codespaces-auth"
]
}
}
}