-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
258 lines (258 loc) · 10 KB
/
package.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
{
"name": "aks-devx-tools",
"displayName": "Developer Tools for Azure Kubernetes Service (AKS)",
"description": "Create deployment files and configure GitHub Actions workflows to deploy applications to Azure Kubernetes Service (AKS).",
"publisher": "ms-kubernetes-tools",
"version": "0.1.2",
"icon": "resources/aks-devx.png",
"preview": true,
"engines": {
"vscode": "^1.67.0"
},
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"license": "MIT",
"categories": [
"Azure"
],
"activationEvents": [
"onCommand:aks-draft-extension.prerequisites",
"onCommand:aks-draft-extension.runDraftDockerfile",
"onCommand:aks-draft-extension.runDraftDeployment",
"onCommand:aks-draft-extension.runDraftIngress",
"onCommand:aks-draft-extension.runDraftWorkflow",
"onCommand:aks-draft-extension.runBuildAcrImage"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "AKS",
"properties": {
"aks.draft.releaseTag": {
"type": "string",
"default": "v0.0.30",
"title": "Draft repository release tag",
"description": "Release tag for the stable Draft tool release."
}
}
},
"commands": [
{
"command": "aks-draft-extension.prerequisites",
"title": "AKS Developer: Get Started"
},
{
"command": "aks-draft-extension.runDraftDockerfile",
"title": "AKS Developer: Draft a Dockerfile"
},
{
"command": "aks-draft-extension.runDraftDeployment",
"title": "AKS Developer: Draft a Kubernetes Deployment and Service"
},
{
"command": "aks-draft-extension.runDraftIngress",
"title": "AKS Developer: Draft a Kubernetes Ingress with Web App Routing"
},
{
"command": "aks-draft-extension.runDraftWorkflow",
"title": "AKS Developer: Draft a GitHub Action Deployment Workflow"
},
{
"command": "aks-draft-extension.runBuildAcrImage",
"title": "AKS Developer: Build an Image on Azure Container Registry"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder && view !== kubernetes.cloudExplorer",
"submenu": "aksdevx.submenuDraft",
"group": "draftnavigation"
}
],
"aksdevx.submenuDraft": [
{
"command": "aks-draft-extension.prerequisites",
"group": "draftnavigation@0"
},
{
"command": "aks-draft-extension.runDraftDockerfile",
"group": "draftnavigation@1"
},
{
"command": "aks-draft-extension.runBuildAcrImage",
"group": "draftnavigation@2"
},
{
"command": "aks-draft-extension.runDraftIngress",
"group": "draftnavigation@3"
},
{
"command": "aks-draft-extension.runDraftDeployment",
"group": "draftnavigation@4"
}
]
},
"submenus": [
{
"id": "aksdevx.submenuDraft",
"label": "Run AKS DevX Tool"
}
],
"walkthroughs": [
{
"id": "prerequisites",
"description": "Get started running an application on Azure Kubernetes Service from source code",
"title": "Deploy your application to AKS",
"steps": [
{
"id": "create-acr",
"title": "Create an Azure Container Registry",
"media": {
"markdown": "./resources/create-acr.md"
}
},
{
"id": "create-cluster",
"title": "Create an Azure Kubernetes Service (AKS) Cluster",
"media": {
"markdown": "./resources/create-cluster.md"
}
},
{
"id": "attach-acr",
"title": "Connect an AKS Cluster to an Azure Container Registry",
"media": {
"markdown": "./resources/attach-acr.md"
}
},
{
"id": "login-to-azure",
"title": "Sign into Azure",
"description": "",
"media": {
"markdown": "./resources/login.md"
}
},
{
"id": "get-kubeconfig",
"title": "Set AKS Cluster Kubeconfig",
"media": {
"markdown": "./resources/get-kubeconfig.md"
}
},
{
"id": "dockerfile",
"title": "Draft a Dockerfile",
"description": "Create a Dockerfile so your application is able to run as a container. \n[Draft Dockerfile](command:aks-draft-extension.runDraftDockerfile)",
"media": {
"markdown": "./resources/blank.md"
}
},
{
"id": "acr",
"title": "Build Image",
"description": "Create an Image by building your Dockerfile on Azure Container Registry. \n[Build Image](command:aks-draft-extension.runBuildAcrImage)",
"media": {
"markdown": "./resources/blank.md"
}
},
{
"id": "deployment",
"title": "Draft a Kubernetes Deployment and Service",
"description": "Create Deployment and Service manifests so Kubernetes knows how to create resources that manage your application. After this step, you will have the option to Draft an Ingress or just deploy to the cluster. Drafting an Ingress is recommended so your application can be accessed from a DNS name instead of just an IP address. If you choose to Draft an Ingress you will have the option to deploy after. \n[Draft Deployment and Service](command:aks-draft-extension.runDraftDeployment)",
"media": {
"markdown": "./resources/blank.md"
}
},
{
"id": "Ingress",
"title": "Draft a Kubernetes Ingress with Web Application Routing (optional)",
"description": "Before running this step, you must have an [Azure DNS Zone](https://learn.microsoft.com/en-us/azure/dns/). If creating a production application, you also need to [create a signed SSL certificate](https://learn.microsoft.com/en-us/azure/key-vault/certificates/create-certificate-signing-request?tabs=azure-portal) stored in your Key Vault. Drafting an Ingress will create a Kubernetes resource that creates publicly accessible DNS names for endpoints. \n[Draft Ingress](command:aks-draft-extension.runDraftIngress)",
"media": {
"markdown": "./resources/blank.md"
}
}
]
}
]
},
"extensionDependencies": [
"ms-kubernetes-tools.vscode-kubernetes-tools",
"ms-azuretools.vscode-docker",
"vscode.git"
],
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"format": "prettier --write .",
"test": "node ./out/test/runTest.js",
"coverage": "c8 --check-coverage --timeout 10000 npm run test",
"preui-test": "npm run compile-tests",
"ui-test": "extest setup-and-run ./out/ui-test/**.test.js -s ../../src/ui-test/test-repo/flask-hello-world"
},
"devDependencies": {
"@types/download": "^8.0.1",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@types/semver": "^7.3.13",
"@types/shelljs": "^0.8.11",
"@types/tmp": "^0.2.3",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@vscode/test-electron": "^2.1.3",
"c8": "^7.13.0",
"eslint": "^8.14.0",
"glob": "^8.0.1",
"mocha": "^9.2.2",
"prettier": "^2.7.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.2.8",
"typescript": "^4.6.4",
"vscode-extension-tester": "^5.5.3",
"webpack": "^5.73.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@azure/arm-authorization": "^8.4.1",
"@azure/arm-containerregistry": "^10.0.0",
"@azure/arm-containerservice": "^17.2.0-beta.1",
"@azure/arm-dns": "^5.1.0",
"@azure/arm-keyvault": "^2.0.0",
"@azure/arm-resources": "^5.1.0",
"@azure/arm-subscriptions": "^5.0.1",
"@azure/container-registry": "^1.0.0",
"@azure/core-auth": "^1.4.0",
"@azure/identity": "^3.1.1",
"@azure/keyvault-certificates": "^4.6.0",
"@azure/ms-rest-azure-env": "^2.0.0",
"@azure/ms-rest-nodeauth": "^3.1.1",
"@kubernetes/client-node": "^0.17.1",
"@microsoft/vscode-azext-azureutils": "^0.3.5",
"@microsoft/vscode-azext-utils": "^0.3.15",
"download": "^8.0.0",
"handlebars": "^4.7.7",
"node-fetch": "^3.2.10",
"semver": "^7.3.8",
"shelljs": "^0.8.5",
"tmp": "^0.2.1",
"ts-mockito": "^2.6.1",
"vscode-extension-telemetry": "^0.1.7",
"vscode-kubernetes-tools-api": "^1.3.0",
"yaml": "^2.1.1"
},
"repository": {
"type": "git",
"url": "https://github.com/Azure/aks-devx-tools"
},
"bugs": {
"url": "https://github.com/Azure/aks-devx-tools/issues"
}
}