Skip to content

Commit 052ea9b

Browse files
committed
Add artifact repo using managed identity or GitHub app authentication
1 parent 943c67e commit 052ea9b

6 files changed

+30
-17
lines changed

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

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -141,30 +141,43 @@ To add a catalog, complete the following tasks:
141141

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

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+
158161
1. If you're prompted to authenticate to GitHub, authenticate.
159162

160-
1. On the **Microsoft DevCenter** page, select **Configure**.
163+
1. On the **Microsoft DevCenter** page, select **Install**.
164+
165+
:::image type="content" source="media/devtest-lab-add-repo/devtestlab-install-github-app.png" alt-text="Screenshot showing Microsoft DevCenter GitHub app installation page." lightbox="media/devtest-lab-add-repo/devtestlab-install-github-app.png":::
161166

162167
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+
164171
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+
166177
1. On the **Microsoft DevCenter by Microsoft would like permission to:** page, review the permissions required, and then select **Authorize Microsoft Dev Center**.
167178

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+
168181
### Add an GitHub artifact repository to a lab in the Azure portal
169182

170183
1. On the lab's **Overview** page, select **Configuration and policies** from the left navigation.
44.7 KB
Loading
20.4 KB
Loading
93.8 KB
Loading
98.1 KB
Loading
42 KB
Loading

0 commit comments

Comments
 (0)