Skip to content

Commit 58d3066

Browse files
author
RoseHJM
committed
Removed copilot section
1 parent e7d5975 commit 58d3066

File tree

2 files changed

+2
-56
lines changed

2 files changed

+2
-56
lines changed

articles/dev-box/how-to-write-customization-file.md

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -90,44 +90,8 @@ You can create and manage customization files with Visual Studio Code. You can u
9090

9191
1. When the customization file runs successfully, upload it to your catalog.
9292

93-
## Use GitHub Copilot to write a customization file
94-
The Microsoft Dev Box extension for Visual Studio Code integrates with GitHub Copilot Chat to bring the power of AI to creating your customization file. You can use GitHub Copilot to help write a customization file for your development team.
95-
96-
There are two commands that you can use with the Dev Box chat agent:
97-
- Tasks: Lists available tasks for this dev box, and answers task related questions.
98-
- Customize: Generates custom tasks based on your commands and available tasks.
99-
100-
To use GitHub Copilot, you need to install the GitHub Copilot extension in Visual Studio Code. For more information, see [GitHub Copilot](https://code.visualstudio.com/docs/copilot/overview).
101-
102-
To invoke the Dev Box chat agent:
103-
1. In Visual Studio Code, open a customization file.
104-
1. From the Activity Bar, select Chat.
105-
1. In the chat box, enter **@devbox**.
106-
107-
:::image type="content" source="media/how-to-write-customization-file/github-copilot-chat-dev-box-commands.png" alt-text="Screenshot of GitHub Copilot Chat in Visual Studio Code, showing the 'devbox' command and two available commands: 'Tasks' and 'Customize'.":::
108-
109-
1. To list available tasks for this dev box, enter **@devbox /tasks list-tasks** in the chat box.
110-
111-
You see the list of available tasks in the chat box. These tasks are available in the catalog attached to the dev center, or in the catalog attached to your project.
112-
113-
:::image type="content" source="media/how-to-write-customization-file/github-copilot-chat-dev-box-tasks-available.png" alt-text="Screenshot showing available tasks for the dev box in GitHub Copilot Chat.":::
114-
115-
1. To ask a task based question, enter your question in Copilot Chat. Try it: enter **@devbox /tasks Are there any tasks to clone a repo?** in the chat box.
116-
117-
:::image type="content" source="media/how-to-write-customization-file/github-copilot-chat-dev-box-task-question.png" alt-text="Screenshot showing a task based question in GitHub Copilot Chat.":::
118-
119-
This example clones the microsoft/calculator repository to the C:\Workspaces directory.
120-
121-
1. To generate a custom task, enter **@devbox /customize** and a description of the task you want to create. Try it: enter **@devbox /customize I want to install notepad++ and vscode** in the chat box.
122-
123-
:::image type="content" source="media/how-to-write-customization-file/github-copilot-chat-dev-box-customize.png" alt-text="Screenshot showing a custom task generated in GitHub Copilot Chat.":::
124-
125-
This example installs Notepad++ and Visual Studio Code on the dev box.
126-
127-
You can select **Generate Workload.yaml File** to create a file with the custom task. You can then rename the *workload.yaml* file to *imagedefintion.yaml*for use in your team customizations.
128-
12993
## Clone a private repository using a customization file
130-
You can use secrets from your Azure Key Vault in your yaml customizations to clone private repositories, or with any custom task you author that requires an access token. In a team customization file, you can use a personal access token (PAT) sotred in a key vault to access a private repository. In an individual customization file, you can also use the `{{ado}}` or `{{ado://your-ado-organization-name}}` parameter to fetch an access token on your behalf when creating a dev box.
94+
You can use secrets from your Azure Key Vault in your yaml customizations to clone private repositories, or with any custom task you author that requires an access token. In a team customization file, you can use a personal access token (PAT) stored in a key vault to access a private repository. git
13195

13296
### Use Key Vault secrets in team customization files
13397
To clone a private repository, store your PAT as an Azure KeyVault secret, and use it when invoking the git-clone task in your customization.

articles/dev-box/quickstart-team-customizations.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,7 @@ To complete the steps in this article, you must have a dev center configured wit
2929

3030
1. Download the [example YAML customization file](https://aka.ms/devcenter/preview/imaging/examples).
3131
1. Open the file and examine the tasks.
32-
```yml
33-
$schema: "1.0"
34-
name: example-winget
35-
image: MicrosoftWindowsDesktop_windows-ent-cpc_win11-21h2-ent-cpc-m365
36-
tasks:
37-
- name: winget
38-
parameters:
39-
package: Microsoft.PowerToys
40-
- name: winget
41-
parameters:
42-
package: Microsoft.VisualStudioCode
43-
- name: winget
44-
parameters:
45-
package: Microsoft.AzureCLI
46-
- name: winget
47-
parameters:
48-
package: GitHub.GitHubDesktop
49-
```
50-
The image definition file specifies a name for the image definition by using a `name` field. Use this name to identify the image definition in the dev box pool.
32+
Note that the image definition file specifies a name for the image definition by using a `name` field. Use this name to identify the image definition in the dev box pool.
5133

5234
## Add a catalog to your dev center
5335

0 commit comments

Comments
 (0)