From b6071abe53beb6b9e86cddd5953317406dba6ea6 Mon Sep 17 00:00:00 2001 From: Begona Guereca Date: Thu, 25 Aug 2022 16:39:59 -0700 Subject: [PATCH] Update valet-audit-lab.md --- azure_devops/valet-audit-lab.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/azure_devops/valet-audit-lab.md b/azure_devops/valet-audit-lab.md index e7a6887..40aa2dc 100644 --- a/azure_devops/valet-audit-lab.md +++ b/azure_devops/valet-audit-lab.md @@ -1,5 +1,4 @@ # Audit Azure DevOps pipelines using the Valet audit command - In this lab, you will use Valet to `audit` an Azure DevOps organization. The `audit` command can be used to scan a CI server and output a summary of the current pipelines. This summary can then be used to plan the timeline and effort required to migrate to GitHub Actions. - [Prerequisites](#prerequisites) @@ -14,29 +13,24 @@ In this lab, you will use Valet to `audit` an Azure DevOps organization. The `au 2. Create or start a codespace in this repository (if not started) ## Perform an audit - You will use the codespace preconfigured in this repository to perform the audit. -1. Navigate to the codespace Visual Studio Code terminal +1. Navigate to the codespace Visual Studio Code terminal 2. Verify you are in the `valet` directory 3. Now, from the `valet` folder in your repository, run Valet to verify your Azure DevOps configuration: ``` gh valet audit azure-devops --output-dir audit ``` - ### Example - ![valet-audit-1](https://user-images.githubusercontent.com/26442605/169615028-696dad13-ff83-41a7-b475-0ab8c0bbcd65.png) 4. Valet displays green log files to indicate a successful audit ### Example - ![valet-audit-2](https://user-images.githubusercontent.com/26442605/169615218-a8a3199d-a436-4d70-8c1e-17a61b089eb6.png) ## View audit output - The audit summary, logs, Azure DevOps yml, and GitHub yml should all be located in the `valet` folder. 1. Under the `valet` folder find the `audit_summary.md` @@ -45,18 +39,14 @@ The audit summary, logs, Azure DevOps yml, and GitHub yml should all be located 4. Review the file. ### Example - ![valet-audit-3](https://user-images.githubusercontent.com/26442605/169615428-26f7a962-2064-46d0-8206-ea930109b252.png) ## Review the pipelines - The `audit` command grabs the yml, classic, and release pipelines from Azure DevOps and converts them to GitHub Actions. ### Example - View the source yml and the proposed GitHub yml ![valet-audit-4](https://user-images.githubusercontent.com/26442605/169615630-8d700081-c631-4b2a-ab1c-e52503f7838f.png) ### Next Lab - -[Dry-run the migration of an Azure DevOps pipeline to GitHub Actions](valet-dry-run-lab.md) +[Dry run the migration of an Azure DevOps pipeline to GitHub Actions](valet-dry-run-lab.md)