Skip to content

Commit 4ba8711

Browse files
committed
updates
1 parent e1a6792 commit 4ba8711

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

articles/devtest-labs/add-artifact-repository.md

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,14 @@ The repository now appears in the **Repositories** list for the lab.
131131

132132
The repository now appears in the **Repositories** list for the lab.
133133

134-
## [GitHub repo with managed identities](#tab/GitHubRepoApp/)
134+
## [GitHub repo with Dev Center app](#tab/GitHubRepoApp/)
135135

136136
To add an artifact repo, complete the following tasks:
137137

138-
1. Install and configure the Microsoft Dev Center app.
139138
1. Assign permissions in GitHub for the repos.
140139
1. Add your artifact repository.
141140

142-
### Install Microsoft Dev Center app
141+
### Assign permissions in GitHub for the repos
143142

144143
1. Sign in to the [Azure portal](https://portal.azure.com).
145144

@@ -155,13 +154,27 @@ To add an artifact repo, complete the following tasks:
155154

156155
- **Name**: A repository name to use in the lab.
157156
- **Git clone URL**: The Git HTTPS clone URL from GitHub or Azure Repos.
158-
- **Branch** (optional): The branch that has your artifact definitions.
159-
- **Folder paths**: The folder for your ARM template definitions, relative to the Git clone URL. Be sure to include the initial forward slash in the folder path.
160-
- **Managed Identity**: Select this option to use the managed identity for authentication.
161157

162158
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-repo-select-github-app.png" alt-text="Screenshot that shows the feilds for adding a repo." lightbox="media/devtest-lab-add-repo/devtestlab-repo-select-github-app.png":::
163159

164-
1. Select **Save**.
160+
1. If you're prompted to authenticate to GitHub, authenticate.
161+
1. 1. On the **Microsoft DevCenter** page, select **Install**.
162+
163+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-install-github-app.png" alt-text="Screenshot showing the DevCenter GitHub app installation page." lightbox="media/devtest-lab-add-repo/devtestlab-install-github-app.png":::
164+
165+
1. Select the GitHub organization that contains the artifact repository that you want to add to the lab. You must be an owner of the organization to install this app.
166+
167+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-install-github-app-select-organization.png" alt-text="Screenshot of the Install Microsoft DevCenter page. A GitHub organization is highlighted." lightbox="media/devtest-lab-add-repo/devtestlab-install-github-app-select-organization.png":::
168+
169+
1. On the Install Microsoft DevCenter page, select **Only select repositories**, select the repository you want to add to the lab, and then select **Install**.
170+
171+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-select-one-repository.png" alt-text="Screenshot of the Install Microsoft DevCenter page. One repository is selected." lightbox="media/devtest-lab-add-repo/devtestlab-select-one-repository.png":::
172+
173+
You can select multiple repositories to add to the lab. You must add each repository separately to the lab, as described in this article.
174+
175+
1. On the **Microsoft DevCenter by Microsoft would like permission to:** page, review the permissions required, and then select **Authorize Microsoft DevCenter**.
176+
177+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-authorize-microsoft-dev-center.png" alt-text="Screenshot of the Microsoft DevCenter by Microsoft would like permission to page." lightbox="media/devtest-lab-add-repo/devtestlab-authorize-microsoft-dev-center.png":::
165178

166179
### Add a GitHub artifact repository to a lab in the Azure portal
167180

0 commit comments

Comments
 (0)