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
+30-17Lines changed: 30 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,30 +141,43 @@ To add a catalog, complete the following tasks:
141
141
142
142
1. Sign in to the [Azure portal](https://portal.azure.com).
143
143
144
-
1. Navigate to your dev center or project.
145
-
146
-
1. In the left menu under **Environment configuration**, select **Catalogs**, and then select **Add**.
147
-
148
-
1. In the **Add catalog** pane, enter, or select the following:
149
-
150
-
| Field | Value |
151
-
|-----|-----|
152
-
|**Name**| Enter a name for the catalog. |
153
-
|**Catalog source**| Select **GitHub**. |
154
-
|**Authentication type**| Select **GitHub app**.|
155
-
156
-
1. To install the Microsoft Dev Center app, select **configure your repositories**.
157
-
144
+
1. Navigate to your lab.
145
+
146
+
1. On the lab's **Overview** page, select **Configuration and policies** from the left navigation.
147
+
148
+
1. On the **Configuration and policies** page, select **Repositories** under **External resources** in the left navigation.
149
+
150
+
1. Select **Add** in the top menu bar.
151
+
152
+
1. In the **Repository** pane, enter the following information:
153
+
154
+
-**Name**: A repository name to use in the lab.
155
+
-**Git clone URL**: The Git HTTPS clone URL from GitHub or Azure Repos.
156
+
157
+
1. To install the Microsoft Dev Center app, select **Microsoft DevCenter GitHub app**.
158
+
159
+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-repo-select-github-app.png" alt-text="Screenshot showing Microsoft DevCenter GitHub app option on Add a repo page, with example entries and install link highlighted." lightbox="media/devtest-lab-add-repo/devtestlab-repo-select-github-app.png":::
160
+
158
161
1. If you're prompted to authenticate to GitHub, authenticate.
159
162
160
-
1. On the **Microsoft DevCenter** page, select **Configure**.
163
+
1. On the **Microsoft DevCenter** page, select **Install**.
1. Select the GitHub organization that contains the artifact repository you want to add to the lab. You must be an owner of the organization to install this app.
163
-
168
+
169
+
:::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, with a GitHub organization highlighted." lightbox="media/devtest-lab-add-repo/devtestlab-install-github-app-select-organization.png":::
170
+
164
171
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**.
165
-
172
+
173
+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-select-one-repository.png" alt-text="Screenshot of the Install Microsoft DevCenter page, with one repository selected and highlighted." lightbox="media/devtest-lab-add-repo/devtestlab-select-one-repository.png":::
174
+
175
+
You can select multiple repositories to add to the lab. You must add each repository separately to the lab, as described in this article.
176
+
166
177
1. On the **Microsoft DevCenter by Microsoft would like permission to:** page, review the permissions required, and then select **Authorize Microsoft Dev Center**.
167
178
179
+
:::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, with authorize highlighted." lightbox="media/devtest-lab-add-repo/devtestlab-authorize-microsoft-dev-center.png":::
180
+
168
181
### Add an GitHub artifact repository to a lab in the Azure portal
169
182
170
183
1. On the lab's **Overview** page, select **Configuration and policies** from the left navigation.
0 commit comments