You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/devtest-labs/add-artifact-repository.md
+20-7Lines changed: 20 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,15 +131,14 @@ The repository now appears in the **Repositories** list for the lab.
131
131
132
132
The repository now appears in the **Repositories** list for the lab.
133
133
134
-
## [GitHub repo with managed identities](#tab/GitHubRepoApp/)
134
+
## [GitHub repo with Dev Center app](#tab/GitHubRepoApp/)
135
135
136
136
To add an artifact repo, complete the following tasks:
137
137
138
-
1. Install and configure the Microsoft Dev Center app.
139
138
1. Assign permissions in GitHub for the repos.
140
139
1. Add your artifact repository.
141
140
142
-
### Install Microsoft Dev Center app
141
+
### Assign permissions in GitHub for the repos
143
142
144
143
1. Sign in to the [Azure portal](https://portal.azure.com).
145
144
@@ -155,13 +154,27 @@ To add an artifact repo, complete the following tasks:
155
154
156
155
-**Name**: A repository name to use in the lab.
157
156
-**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.
161
157
162
158
:::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":::
163
159
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**.
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":::
165
178
166
179
### Add a GitHub artifact repository to a lab in the Azure portal
0 commit comments